public BundleResourceAssociation withStateReason(AssociationStateReason stateReason) {
        setStateReason(stateReason);
        return this;
    }
<p>
The reason the association deployment failed.
</p>

@param stateReason
       The reason the association deployment failed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/BundleResourceAssociation.java