@Generated(value="software.amazon.awssdk:codegen") public 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 Amazon Resource Name (ARN) of the container instance (if it was previously registered).
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
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.
|
static Class<? extends RegisterContainerInstanceRequest.Builder> |
serializableBuilderClass() |
RegisterContainerInstanceRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
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.
|
requestOverrideConfig
copy
public 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 Amazon Resource Name (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 RegisterContainerInstanceRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RegisterContainerInstanceRequest.Builder,RegisterContainerInstanceRequest>
toBuilder
in class ECSRequest
public static RegisterContainerInstanceRequest.Builder builder()
public static Class<? extends RegisterContainerInstanceRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.