public class DiscoverPollEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
DiscoverPollEndpoint operation
.
NOTE: This action is only used by the Amazon EC2 Container Service agent, and it is not intended for use outside of the agent.
Returns an endpoint for the Amazon EC2 Container Service agent to poll for updates.
NOOP
Constructor and Description |
---|
DiscoverPollEndpointRequest() |
Modifier and Type | Method and 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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public String getContainerInstance()
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.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.public void setContainerInstance(String containerInstance)
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.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.public DiscoverPollEndpointRequest withContainerInstance(String containerInstance)
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 a reference to this object so that method calls can be chained together.
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.public String getCluster()
public void setCluster(String cluster)
cluster
- The cluster that the container instance belongs to.public DiscoverPollEndpointRequest withCluster(String cluster)
Returns a reference to this object so that method calls can be chained together.
cluster
- The cluster that the container instance belongs to.public String toString()
toString
in class Object
Object.toString()
public DiscoverPollEndpointRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2015. All rights reserved.