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;
    }
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 ; }
<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