public GetOutpostSupportedInstanceTypesResult withInstanceTypes(java.util.Collection<InstanceTypeItem> instanceTypes) {
        setInstanceTypes(instanceTypes);
        return this;
    }
@param instanceTypes
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/GetOutpostSupportedInstanceTypesResult.java