Class ListProjectsRequest
- 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.ListProjectsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListProjectsRequest.Builder,ListProjectsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListProjectsRequest extends CodeBuildRequest implements ToCopyableBuilder<ListProjectsRequest.Builder,ListProjectsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListProjectsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListProjectsRequest.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 ListProjectsRequest.Builder>serializableBuilderClass()ProjectSortByTypesortBy()The criterion to be used to list build project names.StringsortByAsString()The criterion to be used to list build project names.SortOrderTypesortOrder()The order in which to list build projects.StringsortOrderAsString()The order in which to list build projects.ListProjectsRequest.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
-
sortBy
public final ProjectSortByType sortBy()
The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME: List based on when each build project was created. -
LAST_MODIFIED_TIME: List based on when information about each build project was last changed. -
NAME: List based on each build project's name.
Use
sortOrderto 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,
sortBywill returnProjectSortByType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME: List based on when each build project was created. -
LAST_MODIFIED_TIME: List based on when information about each build project was last changed. -
NAME: List based on each build project's name.
Use
sortOrderto specify in what order to list the build project names based on the preceding criteria. -
- See Also:
ProjectSortByType
-
-
sortByAsString
public final String sortByAsString()
The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME: List based on when each build project was created. -
LAST_MODIFIED_TIME: List based on when information about each build project was last changed. -
NAME: List based on each build project's name.
Use
sortOrderto 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,
sortBywill returnProjectSortByType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- The criterion to be used to list build project names. Valid values include:
-
CREATED_TIME: List based on when each build project was created. -
LAST_MODIFIED_TIME: List based on when information about each build project was last changed. -
NAME: List based on each build project's name.
Use
sortOrderto specify in what order to list the build project names based on the preceding criteria. -
- See Also:
ProjectSortByType
-
-
sortOrder
public final SortOrderType sortOrder()
The order in which to list build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto 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,
sortOrderwill returnSortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order in which to list build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto specify the criterion to be used to list build project names. -
- See Also:
SortOrderType
-
-
sortOrderAsString
public final String sortOrderAsString()
The order in which to list build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto 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,
sortOrderwill returnSortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- The order in which to list build projects. Valid values include:
-
ASCENDING: List in ascending order. -
DESCENDING: List in descending order.
Use
sortByto specify the criterion to be used to list build project names. -
- 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 ListProjectsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListProjectsRequest.Builder,ListProjectsRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static ListProjectsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListProjectsRequest.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
-
-