public AwsEc2InstanceMetadataOptions withHttpTokens(String httpTokens) {
        setHttpTokens(httpTokens);
        return this;
    }
<p>
The state of token usage for your instance metadata requests.
</p>

@param httpTokens
       The state of token usage for your instance metadata requests.
@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/AwsEc2InstanceMetadataOptions.java