Class ListReportsRequest
- 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.ListReportsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<ListReportsRequest.Builder,ListReportsRequest>
@Generated("software.amazon.awssdk:codegen") public final class ListReportsRequest extends CodeBuildRequest implements ToCopyableBuilder<ListReportsRequest.Builder,ListReportsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceListReportsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListReportsRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ReportFilterfilter()AReportFilterobject used to filter the returned reports.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of paginated reports returned per response.StringnextToken()During a previous call, the maximum number of items that can be returned is the value specified inmaxResults.List<SdkField<?>>sdkFields()static Class<? extends ListReportsRequest.Builder>serializableBuilderClass()SortOrderTypesortOrder()Specifies the sort order for the list of returned reports.StringsortOrderAsString()Specifies the sort order for the list of returned reports.ListReportsRequest.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()
Specifies the sort order for the list of returned reports. Valid values are:
-
ASCENDING: return reports in chronological order based on their creation date. -
DESCENDING: return reports in the reverse chronological order based on their creation date.
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:
- Specifies the sort order for the list of returned reports. Valid values are:
-
ASCENDING: return reports in chronological order based on their creation date. -
DESCENDING: return reports in the reverse chronological order based on their creation date.
-
- See Also:
SortOrderType
-
-
sortOrderAsString
public final String sortOrderAsString()
Specifies the sort order for the list of returned reports. Valid values are:
-
ASCENDING: return reports in chronological order based on their creation date. -
DESCENDING: return reports in the reverse chronological order based on their creation date.
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:
- Specifies the sort order for the list of returned reports. Valid values are:
-
ASCENDING: return reports in chronological order based on their creation date. -
DESCENDING: return reports in the reverse chronological order based on their creation date.
-
- See Also:
SortOrderType
-
-
nextToken
public final String nextToken()
During a previous call, the maximum number of items that can be returned is the value specified in
maxResults. If there more items in the list, then a unique string called a nextToken is returned. 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, the maximum number of items that can be returned is the value specified in
maxResults. If there more items in the list, then a unique string called a nextToken is returned. 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.
-
maxResults
public final Integer maxResults()
The maximum number of paginated reports returned per response. Use
nextTokento iterate pages in the list of returnedReportobjects. The default value is 100.- Returns:
- The maximum number of paginated reports returned per response. Use
nextTokento iterate pages in the list of returnedReportobjects. The default value is 100.
-
filter
public final ReportFilter filter()
A
ReportFilterobject used to filter the returned reports.- Returns:
- A
ReportFilterobject used to filter the returned reports.
-
toBuilder
public ListReportsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ListReportsRequest.Builder,ListReportsRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static ListReportsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends ListReportsRequest.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
-
-