CopyableBuilder<RegisterContainerInstanceRequest.Builder,RegisterContainerInstanceRequest>
, SdkBuilder<RegisterContainerInstanceRequest.Builder,RegisterContainerInstanceRequest>
public static interface RegisterContainerInstanceRequest.Builder extends CopyableBuilder<RegisterContainerInstanceRequest.Builder,RegisterContainerInstanceRequest>
Modifier and Type | Method | Description |
---|---|---|
RegisterContainerInstanceRequest.Builder |
attributes(Collection<Attribute> attributes) |
The container instance attributes that this container instance supports.
|
RegisterContainerInstanceRequest.Builder |
attributes(Attribute... attributes) |
The container instance attributes that this container instance supports.
|
RegisterContainerInstanceRequest.Builder |
cluster(String cluster) |
The short name or full Amazon Resource Name (ARN) of the cluster with which to register your container
instance.
|
RegisterContainerInstanceRequest.Builder |
containerInstanceArn(String containerInstanceArn) |
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
|
RegisterContainerInstanceRequest.Builder |
instanceIdentityDocument(String instanceIdentityDocument) |
The instance identity document for the EC2 instance to register.
|
RegisterContainerInstanceRequest.Builder |
instanceIdentityDocumentSignature(String instanceIdentityDocumentSignature) |
The instance identity document signature for the EC2 instance to register.
|
RegisterContainerInstanceRequest.Builder |
totalResources(Collection<Resource> totalResources) |
The resources available on the instance.
|
RegisterContainerInstanceRequest.Builder |
totalResources(Resource... totalResources) |
The resources available on the instance.
|
RegisterContainerInstanceRequest.Builder |
versionInfo(VersionInfo versionInfo) |
The version information for the Amazon ECS container agent and Docker daemon running on the container
instance.
|
copy
apply, build
RegisterContainerInstanceRequest.Builder cluster(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.
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.RegisterContainerInstanceRequest.Builder instanceIdentityDocument(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/
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/
RegisterContainerInstanceRequest.Builder instanceIdentityDocumentSignature(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/
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/
RegisterContainerInstanceRequest.Builder totalResources(Collection<Resource> totalResources)
The resources available on the instance.
totalResources
- The resources available on the instance.RegisterContainerInstanceRequest.Builder totalResources(Resource... totalResources)
The resources available on the instance.
NOTE: This method appends the values to the existing list (if any). Use
#setTotalResources(java.util.Collection)
or #withTotalResources(java.util.Collection)
if you
want to override the existing values.
totalResources
- The resources available on the instance.RegisterContainerInstanceRequest.Builder versionInfo(VersionInfo versionInfo)
The version information for the Amazon ECS container agent and Docker daemon running on the container instance.
versionInfo
- The version information for the Amazon ECS container agent and Docker daemon running on the container
instance.RegisterContainerInstanceRequest.Builder containerInstanceArn(String containerInstanceArn)
The Amazon Resource Name (ARN) of the container instance (if it was previously registered).
containerInstanceArn
- The Amazon Resource Name (ARN) of the container instance (if it was previously registered).RegisterContainerInstanceRequest.Builder attributes(Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
attributes
- The container instance attributes that this container instance supports.RegisterContainerInstanceRequest.Builder attributes(Attribute... attributes)
The container instance attributes that this container instance supports.
NOTE: This method appends the values to the existing list (if any). Use
#setAttributes(java.util.Collection)
or #withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- The container instance attributes that this container instance supports.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.