Class MetadataServiceOptions

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<MetadataServiceOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MetadataServiceOptions
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MetadataServiceOptionsBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MetadataServiceOptions defines the options available to a user when configuring Instance Metadata Service (IMDS) Options.
    See Also:
    Serialized Form
    • Constructor Detail

      • MetadataServiceOptions

        public MetadataServiceOptions()
        No args constructor for use in serialization
      • MetadataServiceOptions

        public MetadataServiceOptions​(String authentication)
    • Method Detail

      • getAuthentication

        public String getAuthentication()
        authentication determines whether or not the host requires the use of authentication when interacting with the metadata service. When using authentication, this enforces v2 interaction method (IMDSv2) with the metadata service. When omitted, this means the user has no opinion and the value is left to the platform to choose a good default, which is subject to change over time. The current default is optional. At this point this field represents `HttpTokens` parameter from `InstanceMetadataOptionsRequest` structure in AWS EC2 API https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_InstanceMetadataOptionsRequest.html
      • setAuthentication

        public void setAuthentication​(String authentication)
        authentication determines whether or not the host requires the use of authentication when interacting with the metadata service. When using authentication, this enforces v2 interaction method (IMDSv2) with the metadata service. When omitted, this means the user has no opinion and the value is left to the platform to choose a good default, which is subject to change over time. The current default is optional. At this point this field represents `HttpTokens` parameter from `InstanceMetadataOptionsRequest` structure in AWS EC2 API https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_InstanceMetadataOptionsRequest.html
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)