public UpdateInstanceMetadataOptionsRequest withHttpProtocolIpv6(HttpProtocolIpv6 httpProtocolIpv6) {
        this.httpProtocolIpv6 = httpProtocolIpv6.toString();
        return this;
    }
<p>
Enables or disables the IPv6 endpoint for the instance metadata service. This setting applies only when the HTTP
metadata endpoint is enabled.
</p>
<note>
<p>
This parameter is available only for instances in the Europe (Stockholm) Amazon Web Services Region (
<code>eu-north-1</code>).
</p>
</note>

@param httpProtocolIpv6
       Enables or disables the IPv6 endpoint for the instance metadata service. This setting applies only when
       the HTTP metadata endpoint is enabled.</p> <note>
       <p>
       This parameter is available only for instances in the Europe (Stockholm) Amazon Web Services Region (
       <code>eu-north-1</code>).
       </p>
@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/UpdateInstanceMetadataOptionsRequest.java