public RecommendationJobContainerConfig withSupportedInstanceTypes(String... supportedInstanceTypes) {
        if (this.supportedInstanceTypes == null) {
            setSupportedInstanceTypes(new java.util.ArrayList<String>(supportedInstanceTypes.length));
        }
        for (String ele : supportedInstanceTypes) {
            this.supportedInstanceTypes.add(ele);
        }
        return this;
    }
<p>
A list of the instance types that are used to generate inferences in real-time.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSupportedInstanceTypes(java.util.Collection)} or
{@link #withSupportedInstanceTypes(java.util.Collection)} if you want to override the existing values.
</p>

@param supportedInstanceTypes
       A list of the instance types that are used to generate inferences in real-time.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/RecommendationJobContainerConfig.java