public GetFlowAssociationResult withResourceType(FlowAssociationResourceType resourceType) {
        this.resourceType = resourceType.toString();
        return this;
    }
<p>
A valid resource type.
</p>

@param resourceType
       A valid resource type.
@return Returns a reference to this object so that method calls can be chained together.
@see FlowAssociationResourceType
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetFlowAssociationResult.java