public ComponentState withReason(String reason) {
        setReason(reason);
        return this;
    }
<p>
Describes how or why the component changed state.
</p>

@param reason
       Describes how or why the component changed state.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/ComponentState.java