Interface RegisterContainerInstanceRequest.Builder

    • Method Detail

      • cluster

        RegisterContainerInstanceRequest.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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceIdentityDocument

        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/

        Parameters:
        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/
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceIdentityDocumentSignature

        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/

        Parameters:
        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/
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalResources

        RegisterContainerInstanceRequest.Builder totalResources​(Collection<Resource> totalResources)

        The resources available on the instance.

        Parameters:
        totalResources - The resources available on the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • totalResources

        RegisterContainerInstanceRequest.Builder totalResources​(Resource... totalResources)

        The resources available on the instance.

        Parameters:
        totalResources - The resources available on the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • versionInfo

        RegisterContainerInstanceRequest.Builder versionInfo​(VersionInfo versionInfo)

        The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.

        Parameters:
        versionInfo - The version information for the Amazon ECS container agent and Docker daemon that runs on the container instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • containerInstanceArn

        RegisterContainerInstanceRequest.Builder containerInstanceArn​(String containerInstanceArn)

        The ARN of the container instance (if it was previously registered).

        Parameters:
        containerInstanceArn - The ARN of the container instance (if it was previously registered).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        RegisterContainerInstanceRequest.Builder attributes​(Collection<Attribute> attributes)

        The container instance attributes that this container instance supports.

        Parameters:
        attributes - The container instance attributes that this container instance supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • attributes

        RegisterContainerInstanceRequest.Builder attributes​(Attribute... attributes)

        The container instance attributes that this container instance supports.

        Parameters:
        attributes - The container instance attributes that this container instance supports.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platformDevices

        RegisterContainerInstanceRequest.Builder platformDevices​(Collection<PlatformDevice> platformDevices)

        The devices that are available on the container instance. The only supported device type is a GPU.

        Parameters:
        platformDevices - The devices that are available on the container instance. The only supported device type is a GPU.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • platformDevices

        RegisterContainerInstanceRequest.Builder platformDevices​(PlatformDevice... platformDevices)

        The devices that are available on the container instance. The only supported device type is a GPU.

        Parameters:
        platformDevices - The devices that are available on the container instance. The only supported device type is a GPU.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        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.

        This is a convenience method that creates an instance of the 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).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)