Class ListBuildsRequest
- 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.ListBuildsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListBuildsRequest.Builder,ListBuildsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListBuildsRequest extends CodeBuildRequest implements ToCopyableBuilder<ListBuildsRequest.Builder,ListBuildsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListBuildsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListBuildsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()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 ListBuildsRequest.Builder>serializableBuilderClass()SortOrderTypesortOrder()The order to list build IDs.StringsortOrderAsString()The order to list build IDs.ListBuildsRequest.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
-
sortOrder
public final SortOrderType sortOrder()
The order to list build IDs. Valid values include:
-
ASCENDING: List the build IDs in ascending order by build ID. -
DESCENDING: List the build IDs in descending order by build ID.
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 to list build IDs. Valid values include:
-
ASCENDING: List the build IDs in ascending order by build ID. -
DESCENDING: List the build IDs in descending order by build ID.
-
- See Also:
SortOrderType
-
-
sortOrderAsString
public final String sortOrderAsString()
The order to list build IDs. Valid values include:
-
ASCENDING: List the build IDs in ascending order by build ID. -
DESCENDING: List the build IDs in descending order by build ID.
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 to list build IDs. Valid values include:
-
ASCENDING: List the build IDs in ascending order by build ID. -
DESCENDING: List the build IDs in descending order by build ID.
-
- See Also:
SortOrderType
-
-
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.
-
toBuilder
public ListBuildsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListBuildsRequest.Builder,ListBuildsRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static ListBuildsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListBuildsRequest.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
-
-