Class DiscoverPollEndpointRequest

    • Constructor Detail

      • DiscoverPollEndpointRequest

        public DiscoverPollEndpointRequest()
    • Method Detail

      • setContainerInstance

        public void setContainerInstance​(String containerInstance)

        The container instance ID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID .

        Parameters:
        containerInstance - The container instance ID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID .
      • getContainerInstance

        public String getContainerInstance()

        The container instance ID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID .

        Returns:
        The container instance ID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID .
      • withContainerInstance

        public DiscoverPollEndpointRequest withContainerInstance​(String containerInstance)

        The container instance ID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID .

        Parameters:
        containerInstance - The container instance ID or full Amazon Resource Name (ARN) of the container instance. The ARN contains the arn:aws:ecs namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, the container-instance namespace, and then the container instance ID. For example, arn:aws:ecs:region:aws_account_id:container-instance/container_instance_ID .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCluster

        public void setCluster​(String cluster)

        The cluster that the container instance belongs to.

        Parameters:
        cluster - The cluster that the container instance belongs to.
      • getCluster

        public String getCluster()

        The cluster that the container instance belongs to.

        Returns:
        The cluster that the container instance belongs to.
      • withCluster

        public DiscoverPollEndpointRequest withCluster​(String cluster)

        The cluster that the container instance belongs to.

        Parameters:
        cluster - The cluster that the container instance belongs to.
        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; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object