public AwsEc2LaunchTemplateDataInstanceRequirementsDetails withBareMetal(String bareMetal) {
        setBareMetal(bareMetal);
        return this;
    }
<p>
Indicates whether bare metal instance types must be included, excluded, or required.
</p>

@param bareMetal
       Indicates whether bare metal instance types must be included, excluded, or required.
@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