Class MetadataServiceOptions
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1beta1.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 Summary
Constructors Constructor Description MetadataServiceOptions()No args constructor for use in serializationMetadataServiceOptions(String authentication)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetadataServiceOptionsBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAuthentication()authentication determines whether or not the host requires the use of authentication when interacting with the metadata service.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAuthentication(String authentication)authentication determines whether or not the host requires the use of authentication when interacting with the metadata service.MetadataServiceOptionsBuildertoBuilder()
-
-
-
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
-
edit
public MetadataServiceOptionsBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MetadataServiceOptionsBuilder>
-
toBuilder
public MetadataServiceOptionsBuilder toBuilder()
-
-