public GetResourceShareAssociationsRequest withAssociationStatus(ResourceShareAssociationStatus associationStatus) {
        this.associationStatus = associationStatus.toString();
        return this;
    }
<p>
Specifies that you want to retrieve only associations that have this status.
</p>

@param associationStatus
       Specifies that you want to retrieve only associations that have this status.
@return Returns a reference to this object so that method calls can be chained together.
@see ResourceShareAssociationStatus
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/GetResourceShareAssociationsRequest.java