code: public InferenceSpecification withSupportedTransformInstanceTypes(String... supportedTransformInstanceTypes) {
          if (this.supportedTransformInstanceTypes == null) {
              setSupportedTransformInstanceTypes(new java.util.ArrayList<String>(supportedTransformInstanceTypes.length));
          }
          for (String ele : supportedTransformInstanceTypes) {
              this.supportedTransformInstanceTypes.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the instance types on which a transformation job can be run or on which an endpoint can be deployed.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSupportedTransformInstanceTypes(java.util.Collection)} or
  {@link #withSupportedTransformInstanceTypes(java.util.Collection)} if you want to override the existing values.
  </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