public InstanceMetadataOptions withHttpProtocolIpv6(String httpProtocolIpv6) {
        setHttpProtocolIpv6(httpProtocolIpv6);
        return this;
    }
<p>
Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.
</p>

@param httpProtocolIpv6
       Indicates whether the IPv6 endpoint for the instance metadata service is enabled or disabled.
@return Returns a reference to this object so that method calls can be chained together.
@see HttpProtocolIpv6
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/InstanceMetadataOptions.java