public BundleResourceAssociation withState(AssociationState state) {
        this.state = state.toString();
        return this;
    }
<p>
The status of the bundle resource association.
</p>

@param state
       The status of the bundle resource association.
@return Returns a reference to this object so that method calls can be chained together.
@see AssociationState
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/BundleResourceAssociation.java