Class GetInstanceMetadataOption


  • public final class GetInstanceMetadataOption
    extends java.lang.Object
    • Method Detail

      • httpEndpoint

        public java.lang.String httpEndpoint()
        Returns:
        State of the metadata service: `enabled`, `disabled`.
      • httpProtocolIpv6

        public java.lang.String httpProtocolIpv6()
        Returns:
        Whether the IPv6 endpoint for the instance metadata service is `enabled` or `disabled`
      • httpPutResponseHopLimit

        public java.lang.Integer httpPutResponseHopLimit()
        Returns:
        Desired HTTP PUT response hop limit for instance metadata requests.
      • httpTokens

        public java.lang.String httpTokens()
        Returns:
        If session tokens are required: `optional`, `required`.
      • instanceMetadataTags

        public java.lang.String instanceMetadataTags()
        Returns:
        If access to instance tags is allowed from the metadata service: `enabled`, `disabled`.