public CreateLinkResult withResourceTypes(java.util.Collection<String> resourceTypes) {
        setResourceTypes(resourceTypes);
        return this;
    }
<p>
The resource types supported by this link.
</p>

@param resourceTypes
       The resource types supported by this link.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-oam/src/main/java/com/amazonaws/services/oam/model/CreateLinkResult.java