@Generated(value="software.amazon.awssdk:codegen") public final class ListBuildsRequest extends CodeBuildRequest implements ToCopyableBuilder<ListBuildsRequest.Builder,ListBuildsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListBuildsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListBuildsRequest.Builder |
builder() |
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() |
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 next token.
|
static Class<? extends ListBuildsRequest.Builder> |
serializableBuilderClass() |
SortOrderType |
sortOrder()
The order to list build IDs.
|
String |
sortOrderAsString()
The order to list build IDs.
|
ListBuildsRequest.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 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, sortOrder
will
return SortOrderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortOrderAsString()
.
ASCENDING
: List the build IDs in ascending order by build ID.
DESCENDING
: List the build IDs in descending order by build ID.
SortOrderType
public 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, sortOrder
will
return SortOrderType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortOrderAsString()
.
ASCENDING
: List the build IDs in ascending order by build ID.
DESCENDING
: List the build IDs in descending order by build ID.
SortOrderType
public 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 next token. 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.
public ListBuildsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListBuildsRequest.Builder,ListBuildsRequest>
toBuilder
in class CodeBuildRequest
public static ListBuildsRequest.Builder builder()
public static Class<? extends ListBuildsRequest.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.