@Generated(value="software.amazon.awssdk:codegen") public final class RegisterContainerInstanceRequest extends EcsRequest implements ToCopyableBuilder<RegisterContainerInstanceRequest.Builder,RegisterContainerInstanceRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
RegisterContainerInstanceRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<Attribute> |
attributes()
The container instance attributes that this container instance supports.
|
static RegisterContainerInstanceRequest.Builder |
builder() |
String |
cluster()
The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance.
|
String |
containerInstanceArn()
The ARN of the container instance (if it was previously registered).
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceIdentityDocument()
The instance identity document for the EC2 instance to register.
|
String |
instanceIdentityDocumentSignature()
The instance identity document signature for the EC2 instance to register.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RegisterContainerInstanceRequest.Builder> |
serializableBuilderClass() |
List<Tag> |
tags()
The metadata that you apply to the container instance to help you categorize and organize them.
|
RegisterContainerInstanceRequest.Builder |
toBuilder() |
String |
toString() |
List<Resource> |
totalResources()
The resources available on the instance.
|
VersionInfo |
versionInfo()
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String cluster()
The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container instance. If you do not specify a cluster, the default cluster is assumed.
public String instanceIdentityDocument()
The instance identity document for the EC2 instance to register. This document can be found by running the
following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/document/
curl http://169.254.169.254/latest/dynamic/instance-identity/document/public String instanceIdentityDocumentSignature()
The instance identity document signature for the EC2 instance to register. This signature can be found by running
the following command from the instance:
curl http://169.254.169.254/latest/dynamic/instance-identity/signature/
curl http://169.254.169.254/latest/dynamic/instance-identity/signature/public List<Resource> totalResources()
The resources available on the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public VersionInfo versionInfo()
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
public String containerInstanceArn()
The ARN of the container instance (if it was previously registered).
public List<Attribute> attributes()
The container instance attributes that this container instance supports.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<Tag> tags()
The metadata that you apply to the container instance to help you categorize and organize them. Each tag consists of a key and an optional value, both of which you define. Tag keys can have a maximum character length of 128 characters, and tag values can have a maximum length of 256 characters.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public RegisterContainerInstanceRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RegisterContainerInstanceRequest.Builder,RegisterContainerInstanceRequest>toBuilder in class EcsRequestpublic static RegisterContainerInstanceRequest.Builder builder()
public static Class<? extends RegisterContainerInstanceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.