public InferenceSpecification withSupportedRealtimeInferenceInstanceTypes(java.util.Collection<String> supportedRealtimeInferenceInstanceTypes) {
        setSupportedRealtimeInferenceInstanceTypes(supportedRealtimeInferenceInstanceTypes);
        return this;
    }
<p>
A list of the instance types that are used to generate inferences in real-time.
</p>
<p>
This parameter is required for unversioned models, and optional for versioned models.
</p>

@param supportedRealtimeInferenceInstanceTypes
       A list of the instance types that are used to generate inferences in real-time.</p>
       <p>
       This parameter is required for unversioned models, and optional for versioned models.
@return Returns a reference to this object so that method calls can be chained together.
@see ProductionVariantInstanceType
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/InferenceSpecification.java