Class ListBuildsForProjectRequest
- 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.ListBuildsForProjectRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListBuildsForProjectRequest.Builder,ListBuildsForProjectRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListBuildsForProjectRequest extends CodeBuildRequest implements ToCopyableBuilder<ListBuildsForProjectRequest.Builder,ListBuildsForProjectRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListBuildsForProjectRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListBuildsForProjectRequest.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.StringprojectName()The name of the CodeBuild project.List<SdkField<?>>sdkFields()static Class<? extends ListBuildsForProjectRequest.Builder>serializableBuilderClass()SortOrderTypesortOrder()The order to sort the results in.StringsortOrderAsString()The order to sort the results in.ListBuildsForProjectRequest.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
-
projectName
public final String projectName()
The name of the CodeBuild project.
- Returns:
- The name of the CodeBuild project.
-
sortOrder
public final SortOrderType sortOrder()
The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.
Valid values include:
-
ASCENDING: List the build identifiers in ascending order, by build number. -
DESCENDING: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
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 sort the results in. The results are sorted by build number, not the build identifier. If
this is not specified, the results are sorted in descending order.
Valid values include:
-
ASCENDING: List the build identifiers in ascending order, by build number. -
DESCENDING: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
-
- See Also:
SortOrderType
-
-
sortOrderAsString
public final String sortOrderAsString()
The order to sort the results in. The results are sorted by build number, not the build identifier. If this is not specified, the results are sorted in descending order.
Valid values include:
-
ASCENDING: List the build identifiers in ascending order, by build number. -
DESCENDING: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
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 sort the results in. The results are sorted by build number, not the build identifier. If
this is not specified, the results are sorted in descending order.
Valid values include:
-
ASCENDING: List the build identifiers in ascending order, by build number. -
DESCENDING: List the build identifiers in descending order, by build number.
If the project has more than 100 builds, setting the sort order will result in an error.
-
- 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 ListBuildsForProjectRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListBuildsForProjectRequest.Builder,ListBuildsForProjectRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static ListBuildsForProjectRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListBuildsForProjectRequest.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
-
-