public DescribeBundleAssociationsRequest withAssociatedResourceTypes(BundleAssociatedResourceType... associatedResourceTypes) {
        com.amazonaws.internal.SdkInternalList<String> associatedResourceTypesCopy = new com.amazonaws.internal.SdkInternalList<String>(
                associatedResourceTypes.length);
        for (BundleAssociatedResourceType value : associatedResourceTypes) {
            associatedResourceTypesCopy.add(value.toString());
        }
        if (getAssociatedResourceTypes() == null) {
            setAssociatedResourceTypes(associatedResourceTypesCopy);
        } else {
            getAssociatedResourceTypes().addAll(associatedResourceTypesCopy);
        }
        return this;
    }
<p>
The resource types of the associated resource.
</p>

@param associatedResourceTypes
       The resource types of the associated resource.
@return Returns a reference to this object so that method calls can be chained together.
@see BundleAssociatedResourceType
aws-java-sdk-workspaces/src/main/java/com/amazonaws/services/workspaces/model/DescribeBundleAssociationsRequest.java