Class Ec2MetadataConfigProvider
java.lang.Object
software.amazon.awssdk.auth.credentials.internal.Ec2MetadataConfigProvider
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
Resolves whether EC2 Metadata V1 is disabled.long
Resolves the EC2 Metadata Service Timeout in milliseconds.
-
Method Details
-
getEndpoint
-
getEndpointMode
-
getEndpointOverride
-
isMetadataV1Disabled
public boolean isMetadataV1Disabled()Resolves whether EC2 Metadata V1 is disabled.- Returns:
- true if EC2 Metadata V1 is disabled, false otherwise.
-
serviceTimeout
public long serviceTimeout()Resolves the EC2 Metadata Service Timeout in milliseconds.- Returns:
- the timeout value in milliseconds.
-
builder
-