Class ListFleetsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codebuild.model.CodeBuildRequest
-
- software.amazon.awssdk.services.codebuild.model.ListFleetsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListFleetsRequest.Builder,ListFleetsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListFleetsRequest extends CodeBuildRequest implements ToCopyableBuilder<ListFleetsRequest.Builder,ListFleetsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListFleetsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListFleetsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of paginated compute fleets returned per response.StringnextToken()During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken.List<SdkField<?>>sdkFields()static Class<? extends ListFleetsRequest.Builder>serializableBuilderClass()FleetSortByTypesortBy()The criterion to be used to list compute fleet names.StringsortByAsString()The criterion to be used to list compute fleet names.SortOrderTypesortOrder()The order in which to list compute fleets.StringsortOrderAsString()The order in which to list compute fleets.ListFleetsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
nextToken
public final String nextToken()
During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
- Returns:
- During a previous call, if there are more than 100 items in the list, only the first 100 items are returned, along with a unique string called a nextToken. To get the next batch of items in the list, call this operation again, adding the next token to the call. To get all of the items in the list, keep calling this operation with each subsequent next token that is returned, until no more next tokens are returned.
-
maxResults
public final Integer maxResults()
The maximum number of paginated compute fleets returned per response. Use
nextTokento iterate pages in the list of returned compute fleets.- Returns:
- The maximum number of paginated compute fleets returned per response. Use
nextTokento iterate pages in the list of returned compute fleets.
-
sortOrder
public final SortOrderType sortOrder()
The order in which to list compute fleets. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto specify the criterion to be used to list compute fleet names.If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order in which to list compute fleets. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto specify the criterion to be used to list compute fleet names. -
- See Also:
SortOrderType
-
-
sortOrderAsString
public final String sortOrderAsString()
The order in which to list compute fleets. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto specify the criterion to be used to list compute fleet names.If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order in which to list compute fleets. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto specify the criterion to be used to list compute fleet names. -
- See Also:
SortOrderType
-
-
sortBy
public final FleetSortByType sortBy()
The criterion to be used to list compute fleet names. Valid values include:
-
CREATED_TIME: List based on when each compute fleet was created. -
LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed. -
NAME: List based on each compute fleet's name.
Use
sortOrderto specify in what order to list the compute fleet names based on the preceding criteria.If the service returns an enum value that is not available in the current SDK version,
sortBywill returnFleetSortByType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The criterion to be used to list compute fleet names. Valid values include:
-
CREATED_TIME: List based on when each compute fleet was created. -
LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed. -
NAME: List based on each compute fleet's name.
Use
sortOrderto specify in what order to list the compute fleet names based on the preceding criteria. -
- See Also:
FleetSortByType
-
-
sortByAsString
public final String sortByAsString()
The criterion to be used to list compute fleet names. Valid values include:
-
CREATED_TIME: List based on when each compute fleet was created. -
LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed. -
NAME: List based on each compute fleet's name.
Use
sortOrderto specify in what order to list the compute fleet names based on the preceding criteria.If the service returns an enum value that is not available in the current SDK version,
sortBywill returnFleetSortByType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The criterion to be used to list compute fleet names. Valid values include:
-
CREATED_TIME: List based on when each compute fleet was created. -
LAST_MODIFIED_TIME: List based on when information about each compute fleet was last changed. -
NAME: List based on each compute fleet's name.
Use
sortOrderto specify in what order to list the compute fleet names based on the preceding criteria. -
- See Also:
FleetSortByType
-
-
toBuilder
public ListFleetsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListFleetsRequest.Builder,ListFleetsRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static ListFleetsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListFleetsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-