public interface Ec2MetadataAsyncClient extends SdkAutoCloseable
get method on the client with a path to an instance metadata:
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Ec2MetadataAsyncClient.Builder
The builder definition for a
Ec2MetadataClient. |
| Modifier and Type | Method and Description |
|---|---|
static Ec2MetadataAsyncClient.Builder |
builder()
Creates a builder for an async client instance.
|
static Ec2MetadataAsyncClient |
create()
Create an
Ec2MetadataAsyncClient instance using the default values. |
CompletableFuture<Ec2MetadataResponse> |
get(String path)
Gets the specified instance metadata value by the given path.
|
closeCompletableFuture<Ec2MetadataResponse> get(String path)
path - Input pathstatic Ec2MetadataAsyncClient create()
Ec2MetadataAsyncClient instance using the default values.static Ec2MetadataAsyncClient.Builder builder()
Copyright © 2023. All rights reserved.