JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.ecs.model

Class UpdateContainerAgentRequest

    • Constructor Detail

      • UpdateContainerAgentRequest

        public UpdateContainerAgentRequest()
    • Method Detail

      • setCluster

        public void setCluster(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. 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 that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.
      • getCluster

        public String getCluster()

        The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.

        Returns:
        The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. If you do not specify a cluster, the default cluster is assumed.
      • withCluster

        public UpdateContainerAgentRequest withCluster(String cluster)

        The short name or full Amazon Resource Name (ARN) of the cluster that your container instance is running on. 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 that your container instance is running on. 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.
      • setContainerInstance

        public void setContainerInstance(String containerInstance)

        The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.

        Parameters:
        containerInstance - The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.
      • getContainerInstance

        public String getContainerInstance()

        The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.

        Returns:
        The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.
      • withContainerInstance

        public UpdateContainerAgentRequest withContainerInstance(String containerInstance)

        The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.

        Parameters:
        containerInstance - The container instance ID or full ARN entries for the container instance where you would like to update the Amazon ECS container agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /