Interface AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder,AwsEc2LaunchTemplateDataMetadataOptionsDetails>,SdkBuilder<AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder,AwsEc2LaunchTemplateDataMetadataOptionsDetails>,SdkPojo
- Enclosing class:
- AwsEc2LaunchTemplateDataMetadataOptionsDetails
public static interface AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder extends SdkPojo, CopyableBuilder<AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder,AwsEc2LaunchTemplateDataMetadataOptionsDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsEc2LaunchTemplateDataMetadataOptionsDetails.BuilderhttpEndpoint(String httpEndpoint)Enables or disables the HTTP metadata endpoint on your instances.AwsEc2LaunchTemplateDataMetadataOptionsDetails.BuilderhttpProtocolIpv6(String httpProtocolIpv6)Enables or disables the IPv6 endpoint for the instance metadata service.AwsEc2LaunchTemplateDataMetadataOptionsDetails.BuilderhttpPutResponseHopLimit(Integer httpPutResponseHopLimit)The desired HTTP PUT response hop limit for instance metadata requests.AwsEc2LaunchTemplateDataMetadataOptionsDetails.BuilderhttpTokens(String httpTokens)The state of token usage for your instance metadata requests.AwsEc2LaunchTemplateDataMetadataOptionsDetails.BuilderinstanceMetadataTags(String instanceMetadataTags)When set toenabled, this parameter allows 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 Detail
-
httpEndpoint
AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder httpEndpoint(String httpEndpoint)
Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled, and you won't be able to access your instance metadata.
- Parameters:
httpEndpoint- Enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled, and you won't be able to access your instance metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
httpProtocolIpv6
AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder httpProtocolIpv6(String 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.
-
httpTokens
AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder httpTokens(String 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.
-
httpPutResponseHopLimit
AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder httpPutResponseHopLimit(Integer 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.
-
instanceMetadataTags
AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder instanceMetadataTags(String instanceMetadataTags)
When set to
enabled, this parameter allows access to instance tags from the instance metadata. When set todisabled, it turns off access to instance tags from the instance metadata. For more information, see Work with instance tags in instance metadata in the Amazon EC2 User Guide.- Parameters:
instanceMetadataTags- When set toenabled, this parameter allows access to instance tags from the instance metadata. When set todisabled, it turns off access to instance tags from the instance metadata. For more information, see Work with instance tags in instance metadata in the Amazon EC2 User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-