Interface AwsEc2InstanceMetadataOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEc2InstanceMetadataOptions.Builder,
,AwsEc2InstanceMetadataOptions> SdkBuilder<AwsEc2InstanceMetadataOptions.Builder,
,AwsEc2InstanceMetadataOptions> SdkPojo
- Enclosing class:
AwsEc2InstanceMetadataOptions
public static interface AwsEc2InstanceMetadataOptions.Builder
extends SdkPojo, CopyableBuilder<AwsEc2InstanceMetadataOptions.Builder,AwsEc2InstanceMetadataOptions>
-
Method Summary
Modifier and TypeMethodDescriptionhttpEndpoint
(String httpEndpoint) Enables or disables the HTTP metadata endpoint on the instance.httpProtocolIpv6
(String httpProtocolIpv6) Enables or disables the IPv6 endpoint for the instance metadata service.httpPutResponseHopLimit
(Integer httpPutResponseHopLimit) The desired HTTP PUT response hop limit for instance metadata requests.httpTokens
(String httpTokens) The state of token usage for your instance metadata requests.instanceMetadataTags
(String instanceMetadataTags) Specifies whether to allow access to instance tags from the instance metadata.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
httpEndpoint
Enables or disables the HTTP metadata endpoint on the instance.
- Parameters:
httpEndpoint
- Enables or disables the HTTP metadata endpoint on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpProtocolIpv6
Enables or disables the IPv6 endpoint for the instance metadata service.
- Parameters:
httpProtocolIpv6
- Enables or disables the IPv6 endpoint for the instance metadata service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpPutResponseHopLimit
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
- Parameters:
httpPutResponseHopLimit
- The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpTokens
The state of token usage for your instance metadata requests.
- Parameters:
httpTokens
- The state of token usage for your instance metadata requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceMetadataTags
Specifies whether to allow access to instance tags from the instance metadata.
- Parameters:
instanceMetadataTags
- Specifies whether to allow access to instance tags from the instance metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-