@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2LaunchTemplateDataMetadataOptionsDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder,AwsEc2LaunchTemplateDataMetadataOptionsDetails>
Specifies the metadata options for an Amazon EC2 instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
httpEndpoint()
Enables or disables the HTTP metadata endpoint on your instances.
|
String |
httpProtocolIpv6()
Enables or disables the IPv6 endpoint for the instance metadata service.
|
Integer |
httpPutResponseHopLimit()
The desired HTTP PUT response hop limit for instance metadata requests.
|
String |
httpTokens()
The state of token usage for your instance metadata requests.
|
String |
instanceMetadataTags()
When set to
enabled, this parameter allows access to instance tags from the instance metadata. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder> |
serializableBuilderClass() |
AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final String httpProtocolIpv6()
Enables or disables the IPv6 endpoint for the instance metadata service.
public final String httpTokens()
The state of token usage for your instance metadata requests.
public final Integer httpPutResponseHopLimit()
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
public final String instanceMetadataTags()
When set to enabled, this parameter allows access to instance tags from the instance metadata. When
set to disabled, 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.
enabled, this parameter allows access to instance tags from the instance
metadata. When set to disabled, 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.public AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder toBuilder()
public static AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder builder()
public static Class<? extends AwsEc2LaunchTemplateDataMetadataOptionsDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.