public ListTypesByAssociationResult withTypes(java.util.Collection<Type> types) {
        setTypes(types);
        return this;
    }
<p>
The <code>Type</code> objects.
</p>

@param types
       The <code>Type</code> objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/ListTypesByAssociationResult.java