@Generated(value="software.amazon.awssdk:codegen") public final class AwsEc2InstanceMetadataOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsEc2InstanceMetadataOptions.Builder,AwsEc2InstanceMetadataOptions>
Metadata options that allow you to configure and secure the Amazon EC2 instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsEc2InstanceMetadataOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsEc2InstanceMetadataOptions.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 the instance.
|
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()
Specifies whether to allow access to instance tags from the instance metadata.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsEc2InstanceMetadataOptions.Builder> |
serializableBuilderClass() |
AwsEc2InstanceMetadataOptions.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 the instance.
public final String httpProtocolIpv6()
Enables or disables the IPv6 endpoint for the instance metadata service.
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 httpTokens()
The state of token usage for your instance metadata requests.
public final String instanceMetadataTags()
Specifies whether to allow access to instance tags from the instance metadata.
public AwsEc2InstanceMetadataOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsEc2InstanceMetadataOptions.Builder,AwsEc2InstanceMetadataOptions>public static AwsEc2InstanceMetadataOptions.Builder builder()
public static Class<? extends AwsEc2InstanceMetadataOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.