public InstanceMetadataOptions withHttpEndpoint(String httpEndpoint) {
        setHttpEndpoint(httpEndpoint);
        return this;
    }
<p>
Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.
</p>
<p>
If the value is <code>disabled</code>, you cannot access your instance metadata.
</p>

@param httpEndpoint
       Indicates whether the HTTP metadata endpoint on your instances is enabled or disabled.</p>
       <p>
       If the value is <code>disabled</code>, you cannot access your instance metadata.
@return Returns a reference to this object so that method calls can be chained together.
@see HttpEndpoint
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/InstanceMetadataOptions.java