public InferenceSpecification withSupportedTransformInstanceTypes(TransformInstanceType... supportedTransformInstanceTypes) {
        java.util.ArrayList<String> supportedTransformInstanceTypesCopy = new java.util.ArrayList<String>(supportedTransformInstanceTypes.length);
        for (TransformInstanceType value : supportedTransformInstanceTypes) {
            supportedTransformInstanceTypesCopy.add(value.toString());
        }
        if (getSupportedTransformInstanceTypes() == null) {
            setSupportedTransformInstanceTypes(supportedTransformInstanceTypesCopy);
        } else {
            getSupportedTransformInstanceTypes().addAll(supportedTransformInstanceTypesCopy);
        }
        return this;
    }
public InferenceSpecification withSupportedTransformInstanceTypes ( TransformInstanceType ... supportedTransformInstanceTypes ) { java . util . ArrayList < String > supportedTransformInstanceTypesCopy = new java . util . ArrayList < String > ( supportedTransformInstanceTypes . length ) ; for ( TransformInstanceType value : supportedTransformInstanceTypes ) { supportedTransformInstanceTypesCopy . add ( value . toString ( ) ) ; } if ( getSupportedTransformInstanceTypes ( ) == null ) { setSupportedTransformInstanceTypes ( supportedTransformInstanceTypesCopy ) ; } else { getSupportedTransformInstanceTypes ( ) . addAll ( supportedTransformInstanceTypesCopy ) ; } return this ; }
<p>
A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
</p>

@param supportedTransformInstanceTypes
A list of the instance types on which a transformation job can be run or on which an endpoint can be
deployed.
@return Returns a reference to this object so that method calls can be chained together.
@see TransformInstanceType