public AwsEc2LaunchTemplateDataInstanceRequirementsDetails withExcludedInstanceTypes(java.util.Collection<String> excludedInstanceTypes) {
        setExcludedInstanceTypes(excludedInstanceTypes);
        return this;
    }
<p>
The instance types to exclude.
</p>

@param excludedInstanceTypes
       The instance types to exclude.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEc2LaunchTemplateDataInstanceRequirementsDetails.java