code: public ListDeploymentInstancesRequest withInstanceTypeFilter(String... instanceTypeFilter) {
          if (this.instanceTypeFilter == null) {
              setInstanceTypeFilter(new com.amazonaws.internal.SdkInternalList<String>(instanceTypeFilter.length));
          }
          for (String ele : instanceTypeFilter) {
              this.instanceTypeFilter.add(ele);
          }
          return this;
      }
docs: <p>
  The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or those in
  the replacement environment ("GREEN"), for which you want to view instance information.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setInstanceTypeFilter(java.util.Collection)} or {@link #withInstanceTypeFilter(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param instanceTypeFilter
  The set of instances in a blue/green deployment, either those in the original environment ("BLUE") or
  those in the replacement environment ("GREEN"), for which you want to view instance information.
  @return Returns a reference to this object so that method calls can be chained together.
  @see InstanceType