@Generated(value="software.amazon.awssdk:codegen") public final class ListServicesRequest extends EcsRequest implements ToCopyableBuilder<ListServicesRequest.Builder,ListServicesRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListServicesRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ListServicesRequest.Builder |
builder() |
String |
cluster()
The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the
ListServices results. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LaunchType |
launchType()
The launch type to use when filtering the
ListServices results. |
String |
launchTypeAsString()
The launch type to use when filtering the
ListServices results. |
Integer |
maxResults()
The maximum number of service results that
ListServices returned in paginated output. |
String |
nextToken()
The
nextToken value returned from a ListServices request indicating that more results
are available to fulfill the request and further calls will be needed. |
SchedulingStrategy |
schedulingStrategy()
The scheduling strategy to use when filtering the
ListServices results. |
String |
schedulingStrategyAsString()
The scheduling strategy to use when filtering the
ListServices results. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListServicesRequest.Builder> |
serializableBuilderClass() |
ListServicesRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String cluster()
The short name or full Amazon Resource Name (ARN) of the cluster to use when filtering the
ListServices results. If you do not specify a cluster, the default cluster is assumed.
ListServices results. If you do not specify a cluster, the default cluster is assumed.public final String nextToken()
The nextToken value returned from a ListServices request indicating that more results
are available to fulfill the request and further calls will be needed. If maxResults was provided,
it is possible the number of results to be fewer than maxResults.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
nextToken value returned from a ListServices request indicating that more
results are available to fulfill the request and further calls will be needed. If maxResults
was provided, it is possible the number of results to be fewer than maxResults. This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
public final Integer maxResults()
The maximum number of service results that ListServices returned in paginated output. When this
parameter is used, ListServices only returns maxResults results in a single page along
with a nextToken response element. The remaining results of the initial request can be seen by
sending another ListServices request with the returned nextToken value. This value can
be between 1 and 100. If this parameter isn't used, then ListServices returns up to 10 results and a
nextToken value if applicable.
ListServices returned in paginated output. When
this parameter is used, ListServices only returns maxResults results in a
single page along with a nextToken response element. The remaining results of the initial
request can be seen by sending another ListServices request with the returned
nextToken value. This value can be between 1 and 100. If this parameter isn't used, then
ListServices returns up to 10 results and a nextToken value if applicable.public final LaunchType launchType()
The launch type to use when filtering the ListServices results.
If the service returns an enum value that is not available in the current SDK version, launchType will
return LaunchType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
launchTypeAsString().
ListServices results.LaunchTypepublic final String launchTypeAsString()
The launch type to use when filtering the ListServices results.
If the service returns an enum value that is not available in the current SDK version, launchType will
return LaunchType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
launchTypeAsString().
ListServices results.LaunchTypepublic final SchedulingStrategy schedulingStrategy()
The scheduling strategy to use when filtering the ListServices results.
If the service returns an enum value that is not available in the current SDK version,
schedulingStrategy will return SchedulingStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from schedulingStrategyAsString().
ListServices results.SchedulingStrategypublic final String schedulingStrategyAsString()
The scheduling strategy to use when filtering the ListServices results.
If the service returns an enum value that is not available in the current SDK version,
schedulingStrategy will return SchedulingStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from schedulingStrategyAsString().
ListServices results.SchedulingStrategypublic ListServicesRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListServicesRequest.Builder,ListServicesRequest>toBuilder in class EcsRequestpublic static ListServicesRequest.Builder builder()
public static Class<? extends ListServicesRequest.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.