public static interface RegisterContainerInstanceRequest.Builder extends EcsRequest.Builder, SdkPojo, CopyableBuilder<RegisterContainerInstanceRequest.Builder,RegisterContainerInstanceRequest>
| Modifier and Type | Method and Description |
|---|---|
RegisterContainerInstanceRequest.Builder |
attributes(Attribute... attributes)
The container instance attributes that this container instance supports.
|
RegisterContainerInstanceRequest.Builder |
attributes(Collection<Attribute> attributes)
The container instance attributes that this container instance supports.
|
RegisterContainerInstanceRequest.Builder |
attributes(Consumer<Attribute.Builder>... 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 to register your container instance with.
|
RegisterContainerInstanceRequest.Builder |
containerInstanceArn(String containerInstanceArn)
The 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RegisterContainerInstanceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
RegisterContainerInstanceRequest.Builder |
platformDevices(Collection<PlatformDevice> platformDevices)
The devices that are available on the container instance.
|
RegisterContainerInstanceRequest.Builder |
platformDevices(Consumer<PlatformDevice.Builder>... platformDevices)
The devices that are available on the container instance.
|
RegisterContainerInstanceRequest.Builder |
platformDevices(PlatformDevice... platformDevices)
The devices that are available on the container instance.
|
RegisterContainerInstanceRequest.Builder |
tags(Collection<Tag> tags)
The metadata that you apply to the container instance to help you categorize and organize them.
|
RegisterContainerInstanceRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The metadata that you apply to the container instance to help you categorize and organize them.
|
RegisterContainerInstanceRequest.Builder |
tags(Tag... tags)
The metadata that you apply to the container instance to help you categorize and organize them.
|
RegisterContainerInstanceRequest.Builder |
totalResources(Collection<Resource> totalResources)
The resources available on the instance.
|
RegisterContainerInstanceRequest.Builder |
totalResources(Consumer<Resource.Builder>... totalResources)
The resources available on the instance.
|
RegisterContainerInstanceRequest.Builder |
totalResources(Resource... totalResources)
The resources available on the instance.
|
default RegisterContainerInstanceRequest.Builder |
versionInfo(Consumer<VersionInfo.Builder> versionInfo)
The version information for the Amazon ECS container agent and Docker daemon that runs on the container
instance.
|
RegisterContainerInstanceRequest.Builder |
versionInfo(VersionInfo versionInfo)
The version information for the Amazon ECS container agent and Docker daemon that runs on the container
instance.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildRegisterContainerInstanceRequest.Builder cluster(String cluster)
The short name or full Amazon Resource Name (ARN) of the cluster to register your container instance with. 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 to register your container instance
with. 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.
totalResources - The resources available on the instance.RegisterContainerInstanceRequest.Builder totalResources(Consumer<Resource.Builder>... totalResources)
The resources available on the instance.
This is a convenience method that creates an instance of theResource.Builder avoiding the need to create one manually
via Resource.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #totalResources(List.
totalResources - a consumer that will call methods on
Resource.Builder#totalResources(java.util.Collection) RegisterContainerInstanceRequest.Builder versionInfo(VersionInfo versionInfo)
The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
versionInfo - The version information for the Amazon ECS container agent and Docker daemon that runs on the
container instance.default RegisterContainerInstanceRequest.Builder versionInfo(Consumer<VersionInfo.Builder> versionInfo)
The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
This is a convenience method that creates an instance of theVersionInfo.Builder avoiding the need to
create one manually via VersionInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to versionInfo(VersionInfo).
versionInfo - a consumer that will call methods on VersionInfo.BuilderversionInfo(VersionInfo)RegisterContainerInstanceRequest.Builder containerInstanceArn(String containerInstanceArn)
The ARN of the container instance (if it was previously registered).
containerInstanceArn - The 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.
attributes - The container instance attributes that this container instance supports.RegisterContainerInstanceRequest.Builder attributes(Consumer<Attribute.Builder>... attributes)
The container instance attributes that this container instance supports.
This is a convenience method that creates an instance of theAttribute.Builder avoiding the need to create one manually
via Attribute.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #attributes(List.
attributes - a consumer that will call methods on
Attribute.Builder#attributes(java.util.Collection) RegisterContainerInstanceRequest.Builder platformDevices(Collection<PlatformDevice> platformDevices)
The devices that are available on the container instance. The only supported device type is a GPU.
platformDevices - The devices that are available on the container instance. The only supported device type is a GPU.RegisterContainerInstanceRequest.Builder platformDevices(PlatformDevice... platformDevices)
The devices that are available on the container instance. The only supported device type is a GPU.
platformDevices - The devices that are available on the container instance. The only supported device type is a GPU.RegisterContainerInstanceRequest.Builder platformDevices(Consumer<PlatformDevice.Builder>... platformDevices)
The devices that are available on the container instance. The only supported device type is a GPU.
This is a convenience method that creates an instance of thePlatformDevice.Builder avoiding the need to create one
manually via PlatformDevice.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #platformDevices(List.
platformDevices - a consumer that will call methods on
PlatformDevice.Builder#platformDevices(java.util.Collection) RegisterContainerInstanceRequest.Builder tags(Collection<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. You define both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys
or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
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. You define both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:, AWS:, or any upper or lowercase combination of such as a
prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or
delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per
resource limit.
RegisterContainerInstanceRequest.Builder tags(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. You define both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys
or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
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. You define both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:, AWS:, or any upper or lowercase combination of such as a
prefix for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or
delete tag keys or values with this prefix. Tags with this prefix do not count against your tags per
resource limit.
RegisterContainerInstanceRequest.Builder tags(Consumer<Tag.Builder>... 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. You define both.
The following basic restrictions apply to tags:
Maximum number of tags per resource - 50
For each resource, each tag key must be unique, and each tag key can have only one value.
Maximum key length - 128 Unicode characters in UTF-8
Maximum value length - 256 Unicode characters in UTF-8
If your tagging schema is used across multiple services and resources, remember that other services may have restrictions on allowed characters. Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following characters: + - = . _ : / @.
Tag keys and values are case-sensitive.
Do not use aws:, AWS:, or any upper or lowercase combination of such as a prefix
for either keys or values as it is reserved for Amazon Web Services use. You cannot edit or delete tag keys
or values with this prefix. Tags with this prefix do not count against your tags per resource limit.
Tag.Builder avoiding the need to create one manually via
Tag.builder().
When the Consumer completes, SdkBuilder.build() is
called immediately and its result is passed to #tags(List.
tags - a consumer that will call methods on Tag.Builder#tags(java.util.Collection) RegisterContainerInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderRegisterContainerInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.