public InvalidConfigurationDetail withReason(String reason) {
        setReason(reason);
        return this;
    }
<p>
The reason for an invalid configuration error.
</p>

@param reason
       The reason for an invalid configuration error.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appconfig/src/main/java/com/amazonaws/services/appconfig/model/InvalidConfigurationDetail.java