@Generated(value="software.amazon.awssdk:codegen") public final class DiscoverPollEndpointRequest extends EcsRequest implements ToCopyableBuilder<DiscoverPollEndpointRequest.Builder,DiscoverPollEndpointRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
DiscoverPollEndpointRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static DiscoverPollEndpointRequest.Builder |
builder() |
String |
cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
|
String |
containerInstance()
The container instance ID or full Amazon Resource Name (ARN) of the container instance.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
static Class<? extends DiscoverPollEndpointRequest.Builder> |
serializableBuilderClass() |
DiscoverPollEndpointRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
overrideConfiguration
copy
public 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
.
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 cluster()
The short name or full Amazon Resource Name (ARN) of the cluster that the container instance belongs to.
public DiscoverPollEndpointRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DiscoverPollEndpointRequest.Builder,DiscoverPollEndpointRequest>
toBuilder
in class EcsRequest
public static DiscoverPollEndpointRequest.Builder builder()
public static Class<? extends DiscoverPollEndpointRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.