Interface ListCopyJobSummariesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListCopyJobSummariesResponse.Builder,ListCopyJobSummariesResponse>,SdkBuilder<ListCopyJobSummariesResponse.Builder,ListCopyJobSummariesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCopyJobSummariesResponse
public static interface ListCopyJobSummariesResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListCopyJobSummariesResponse.Builder,ListCopyJobSummariesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCopyJobSummariesResponse.BuilderaggregationPeriod(String aggregationPeriod)This is the period that sets the boundaries for returned results.ListCopyJobSummariesResponse.BuildercopyJobSummaries(Collection<CopyJobSummary> copyJobSummaries)This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.ListCopyJobSummariesResponse.BuildercopyJobSummaries(Consumer<CopyJobSummary.Builder>... copyJobSummaries)This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.ListCopyJobSummariesResponse.BuildercopyJobSummaries(CopyJobSummary... copyJobSummaries)This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.ListCopyJobSummariesResponse.BuildernextToken(String nextToken)The next item following a partial list of returned resources.-
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
copyJobSummaries
ListCopyJobSummariesResponse.Builder copyJobSummaries(Collection<CopyJobSummary> copyJobSummaries)
This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
- Parameters:
copyJobSummaries- This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyJobSummaries
ListCopyJobSummariesResponse.Builder copyJobSummaries(CopyJobSummary... copyJobSummaries)
This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
- Parameters:
copyJobSummaries- This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyJobSummaries
ListCopyJobSummariesResponse.Builder copyJobSummaries(Consumer<CopyJobSummary.Builder>... copyJobSummaries)
This return shows a summary that contains Region, Account, State, ResourceType, MessageCategory, StartTime, EndTime, and Count of included jobs.
This is a convenience method that creates an instance of theCopyJobSummary.Builderavoiding the need to create one manually viaCopyJobSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#copyJobSummaries(List.) - Parameters:
copyJobSummaries- a consumer that will call methods onCopyJobSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#copyJobSummaries(java.util.Collection)
-
aggregationPeriod
ListCopyJobSummariesResponse.Builder aggregationPeriod(String aggregationPeriod)
This is the period that sets the boundaries for returned results.
-
ONE_DAYfor daily job count for the prior 14 days. -
SEVEN_DAYSfor the aggregated job count for the prior 7 days. -
FOURTEEN_DAYSfor aggregated job count for prior 14 days.
- Parameters:
aggregationPeriod- This is the period that sets the boundaries for returned results.-
ONE_DAYfor daily job count for the prior 14 days. -
SEVEN_DAYSfor the aggregated job count for the prior 7 days. -
FOURTEEN_DAYSfor aggregated job count for prior 14 days.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
nextToken
ListCopyJobSummariesResponse.Builder nextToken(String 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.
-
-