public DiscoverPollEndpointRequest withCluster(String cluster) {
        setCluster(cluster);
        return this;
    }
<p>
The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
</p>

@param cluster
       The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/DiscoverPollEndpointRequest.java