Interface ListBackupJobSummariesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListBackupJobSummariesResponse.Builder,,ListBackupJobSummariesResponse> SdkBuilder<ListBackupJobSummariesResponse.Builder,,ListBackupJobSummariesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBackupJobSummariesResponse
-
Method Summary
Modifier and TypeMethodDescriptionaggregationPeriod(String aggregationPeriod) The period for the returned results.backupJobSummaries(Collection<BackupJobSummary> backupJobSummaries) The summary information.backupJobSummaries(Consumer<BackupJobSummary.Builder>... backupJobSummaries) The summary information.backupJobSummaries(BackupJobSummary... backupJobSummaries) The summary information.The next item following a partial list of returned resources.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
backupJobSummaries
ListBackupJobSummariesResponse.Builder backupJobSummaries(Collection<BackupJobSummary> backupJobSummaries) The summary information.
- Parameters:
backupJobSummaries- The summary information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupJobSummaries
The summary information.
- Parameters:
backupJobSummaries- The summary information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupJobSummaries
ListBackupJobSummariesResponse.Builder backupJobSummaries(Consumer<BackupJobSummary.Builder>... backupJobSummaries) The summary information.
This is a convenience method that creates an instance of theBackupJobSummary.Builderavoiding the need to create one manually viaBackupJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobackupJobSummaries(List<BackupJobSummary>).- Parameters:
backupJobSummaries- a consumer that will call methods onBackupJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregationPeriod
The period for the returned results.
-
ONE_DAY- The daily job count for the prior 14 days. -
SEVEN_DAYS- The aggregated job count for the prior 7 days. -
FOURTEEN_DAYS- The aggregated job count for prior 14 days.
- Parameters:
aggregationPeriod- The period for the returned results.-
ONE_DAY- The daily job count for the prior 14 days. -
SEVEN_DAYS- The aggregated job count for the prior 7 days. -
FOURTEEN_DAYS- The aggregated job count for prior 14 days.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
nextToken
The next item following a partial list of returned resources. For example, if a request is made to return
MaxResultsnumber of resources,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Parameters:
nextToken- The next item following a partial list of returned resources. For example, if a request is made to returnMaxResultsnumber of resources,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-