code: public InferenceSpecification withSupportedRealtimeInferenceInstanceTypes(String... supportedRealtimeInferenceInstanceTypes) {
          if (this.supportedRealtimeInferenceInstanceTypes == null) {
              setSupportedRealtimeInferenceInstanceTypes(new java.util.ArrayList<String>(supportedRealtimeInferenceInstanceTypes.length));
          }
          for (String ele : supportedRealtimeInferenceInstanceTypes) {
              this.supportedRealtimeInferenceInstanceTypes.add(ele);
          }
          return this;
      }
docs: <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 #setSupportedRealtimeInferenceInstanceTypes(java.util.Collection)} or
  {@link #withSupportedRealtimeInferenceInstanceTypes(java.util.Collection)} if you want to override the existing
  values.
  </p>
  
  @param supportedRealtimeInferenceInstanceTypes
  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.
  @see ProductionVariantInstanceType