@Generated(value="software.amazon.awssdk:codegen") public class ListProjectsRequest extends CodeBuildRequest implements ToCopyableBuilder<ListProjectsRequest.Builder,ListProjectsRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
ListProjectsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static ListProjectsRequest.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 ListProjectsRequest.Builder> |
serializableBuilderClass() |
ProjectSortByType |
sortBy()
The criterion to be used to list build project names.
|
String |
sortByString()
The criterion to be used to list build project names.
|
SortOrderType |
sortOrder()
The order in which to list build projects.
|
String |
sortOrderString()
The order in which to list build projects.
|
ListProjectsRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
requestOverrideConfig
copy
public ProjectSortByType sortBy()
The criterion to be used to list build project names. Valid values include:
CREATED_TIME
: List the build project names based on when each build project was created.
LAST_MODIFIED_TIME
: List the build project names based on when information about each build project
was last changed.
NAME
: List the build project names based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the preceding
criteria.
If the service returns an enum value that is not available in the current SDK version, sortBy
will
return ProjectSortByType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortByString()
.
CREATED_TIME
: List the build project names based on when each build project was created.
LAST_MODIFIED_TIME
: List the build project names based on when information about each build
project was last changed.
NAME
: List the build project names based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the
preceding criteria.
ProjectSortByType
public String sortByString()
The criterion to be used to list build project names. Valid values include:
CREATED_TIME
: List the build project names based on when each build project was created.
LAST_MODIFIED_TIME
: List the build project names based on when information about each build project
was last changed.
NAME
: List the build project names based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the preceding
criteria.
If the service returns an enum value that is not available in the current SDK version, sortBy
will
return ProjectSortByType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
sortByString()
.
CREATED_TIME
: List the build project names based on when each build project was created.
LAST_MODIFIED_TIME
: List the build project names based on when information about each build
project was last changed.
NAME
: List the build project names based on each build project's name.
Use sortOrder
to specify in what order to list the build project names based on the
preceding criteria.
ProjectSortByType
public SortOrderType sortOrder()
The order in which to list build projects. Valid values include:
ASCENDING
: List the build project names in ascending order.
DESCENDING
: List the build project names in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
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
sortOrderString()
.
ASCENDING
: List the build project names in ascending order.
DESCENDING
: List the build project names in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
SortOrderType
public String sortOrderString()
The order in which to list build projects. Valid values include:
ASCENDING
: List the build project names in ascending order.
DESCENDING
: List the build project names in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
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
sortOrderString()
.
ASCENDING
: List the build project names in ascending order.
DESCENDING
: List the build project names in descending order.
Use sortBy
to specify the criterion to be used to list build project names.
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 ListProjectsRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ListProjectsRequest.Builder,ListProjectsRequest>
toBuilder
in class CodeBuildRequest
public static ListProjectsRequest.Builder builder()
public static Class<? extends ListProjectsRequest.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.