public java.util.List<String> getExcludedInstanceTypes() {
        if (excludedInstanceTypes == null) {
            excludedInstanceTypes = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return excludedInstanceTypes;
    }
<p>
The instance types to exclude.
</p>
<p>
You can use strings with one or more wild cards, represented by an asterisk (<code>*</code>), to exclude an
instance family, type, size, or generation. The following are examples: <code>m5.8xlarge</code>,
<code>c5*.*</code>, <code>m5a.*</code>, <code>r*</code>, <code>*3*</code>.
</p>
<p>
For example, if you specify <code>c5*</code>,Amazon EC2 will exclude the entire C5 instance family, which
includes all C5a and C5n instance types. If you specify <code>m5a.*</code>, Amazon EC2 will exclude all the M5a
instance types, but not the M5n instance types.
</p>
<note>
<p>
If you specify <code>ExcludedInstanceTypes</code>, you can't specify <code>AllowedInstanceTypes</code>.
</p>
</note>
<p>
Default: No excluded instance types
</p>

@return The instance types to exclude.</p>
        <p>
        You can use strings with one or more wild cards, represented by an asterisk (<code>*</code>), to exclude
        an instance family, type, size, or generation. The following are examples: <code>m5.8xlarge</code>,
        <code>c5*.*</code>, <code>m5a.*</code>, <code>r*</code>, <code>*3*</code>.
        </p>
        <p>
        For example, if you specify <code>c5*</code>,Amazon EC2 will exclude the entire C5 instance family, which
        includes all C5a and C5n instance types. If you specify <code>m5a.*</code>, Amazon EC2 will exclude all
        the M5a instance types, but not the M5n instance types.
        </p>
        <note>
        <p>
        If you specify <code>ExcludedInstanceTypes</code>, you can't specify <code>AllowedInstanceTypes</code>.
        </p>
        </note>
        <p>
        Default: No excluded instance types
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/InstanceRequirementsRequest.java