Class DiscoverPollEndpointRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.ecs.model.DiscoverPollEndpointRequest
-
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class DiscoverPollEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description DiscoverPollEndpointRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiscoverPollEndpointRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
String
getCluster()
The cluster that the container instance belongs to.String
getContainerInstance()
The container instance ID or full Amazon Resource Name (ARN) of the container instance.int
hashCode()
void
setCluster(String cluster)
The cluster that the container instance belongs to.void
setContainerInstance(String containerInstance)
The container instance ID or full Amazon Resource Name (ARN) of the container instance.String
toString()
Returns a string representation of this object; useful for testing and debugging.DiscoverPollEndpointRequest
withCluster(String cluster)
The cluster that the container instance belongs to.DiscoverPollEndpointRequest
withContainerInstance(String containerInstance)
The container instance ID or full Amazon Resource Name (ARN) of the container instance.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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, thecontainer-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 thearn:aws:ecs
namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, thecontainer-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, thecontainer-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, thecontainer-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, thecontainer-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 thearn:aws:ecs
namespace, followed by the region of the container instance, the AWS account ID of the container instance owner, thecontainer-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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DiscoverPollEndpointRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-