@Generated(value="software.amazon.awssdk:codegen") public final class DescribeEcsClustersRequest extends OpsWorksRequest implements ToCopyableBuilder<DescribeEcsClustersRequest.Builder,DescribeEcsClustersRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeEcsClustersRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeEcsClustersRequest.Builder |
builder() |
List<String> |
ecsClusterArns()
A list of ARNs, one for each cluster to be described.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEcsClusterArns()
For responses, this returns true if the service returned a value for the EcsClusterArns property.
|
int |
hashCode() |
Integer |
maxResults()
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call.
|
String |
nextToken()
If the previous paginated request did not return all of the remaining results, the response object's
NextToken parameter value is set to a token. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeEcsClustersRequest.Builder> |
serializableBuilderClass() |
String |
stackId()
A stack ID.
|
DescribeEcsClustersRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasEcsClusterArns()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> ecsClusterArns()
A list of ARNs, one for each cluster to be described.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEcsClusterArns() method.
public final String stackId()
A stack ID. DescribeEcsClusters returns a description of the cluster that is registered with the
stack.
DescribeEcsClusters returns a description of the cluster that is registered with
the stack.public final String nextToken()
If the previous paginated request did not return all of the remaining results, the response object's
NextToken parameter value is set to a token. To retrieve the next set of results, call
DescribeEcsClusters again and assign that token to the request object's NextToken
parameter. If there are no remaining results, the previous response object's NextToken parameter is
set to null.
NextToken parameter value is set to a token. To retrieve the next set of results, call
DescribeEcsClusters again and assign that token to the request object's
NextToken parameter. If there are no remaining results, the previous response object's
NextToken parameter is set to null.public final Integer maxResults()
To receive a paginated response, use this parameter to specify the maximum number of results to be returned with
a single call. If the number of available results exceeds this maximum, the response includes a
NextToken value that you can assign to the NextToken request parameter to get the next
set of results.
NextToken value that you can assign to the NextToken request
parameter to get the next set of results.public DescribeEcsClustersRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeEcsClustersRequest.Builder,DescribeEcsClustersRequest>toBuilder in class OpsWorksRequestpublic static DescribeEcsClustersRequest.Builder builder()
public static Class<? extends DescribeEcsClustersRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.