code: public ListDeploymentInstancesRequest withInstanceTypeFilter(InstanceType... instanceTypeFilter) {
          com.amazonaws.internal.SdkInternalList<String> instanceTypeFilterCopy = new com.amazonaws.internal.SdkInternalList<String>(instanceTypeFilter.length);
          for (InstanceType value : instanceTypeFilter) {
              instanceTypeFilterCopy.add(value.toString());
          }
          if (getInstanceTypeFilter() == null) {
              setInstanceTypeFilter(instanceTypeFilterCopy);
          } else {
              getInstanceTypeFilter().addAll(instanceTypeFilterCopy);
          }
          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>
  
  @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