Interface ListReportsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeBuildRequest.Builder,CopyableBuilder<ListReportsRequest.Builder,ListReportsRequest>,SdkBuilder<ListReportsRequest.Builder,ListReportsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ListReportsRequest
public static interface ListReportsRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, CopyableBuilder<ListReportsRequest.Builder,ListReportsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListReportsRequest.Builderfilter(Consumer<ReportFilter.Builder> filter)AReportFilterobject used to filter the returned reports.ListReportsRequest.Builderfilter(ReportFilter filter)AReportFilterobject used to filter the returned reports.ListReportsRequest.BuildermaxResults(Integer maxResults)The maximum number of paginated reports returned per response.ListReportsRequest.BuildernextToken(String nextToken)During a previous call, the maximum number of items that can be returned is the value specified inmaxResults.ListReportsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListReportsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListReportsRequest.BuildersortOrder(String sortOrder)Specifies the sort order for the list of returned reports.ListReportsRequest.BuildersortOrder(SortOrderType sortOrder)Specifies the sort order for the list of returned reports.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.codebuild.model.CodeBuildRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
sortOrder
ListReportsRequest.Builder sortOrder(String 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortOrderType,SortOrderType
-
-
sortOrder
ListReportsRequest.Builder sortOrder(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SortOrderType,SortOrderType
-
-
nextToken
ListReportsRequest.Builder nextToken(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.- Parameters:
nextToken- During a previous call, the maximum number of items that can be returned is the value specified inmaxResults. 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:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
ListReportsRequest.Builder maxResults(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.- Parameters:
maxResults- The maximum number of paginated reports returned per response. UsenextTokento iterate pages in the list of returnedReportobjects. The default value is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
ListReportsRequest.Builder filter(ReportFilter filter)
A
ReportFilterobject used to filter the returned reports.- Parameters:
filter- AReportFilterobject used to filter the returned reports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default ListReportsRequest.Builder filter(Consumer<ReportFilter.Builder> filter)
A
This is a convenience method that creates an instance of theReportFilterobject used to filter the returned reports.ReportFilter.Builderavoiding the need to create one manually viaReportFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(ReportFilter).- Parameters:
filter- a consumer that will call methods onReportFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(ReportFilter)
-
overrideConfiguration
ListReportsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListReportsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-