Interface ListCopyJobsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListCopyJobsResponse.Builder,ListCopyJobsResponse>,SdkBuilder<ListCopyJobsResponse.Builder,ListCopyJobsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCopyJobsResponse
public static interface ListCopyJobsResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListCopyJobsResponse.Builder,ListCopyJobsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCopyJobsResponse.BuildercopyJobs(Collection<CopyJob> copyJobs)An array of structures containing metadata about your copy jobs returned in JSON format.ListCopyJobsResponse.BuildercopyJobs(Consumer<CopyJob.Builder>... copyJobs)An array of structures containing metadata about your copy jobs returned in JSON format.ListCopyJobsResponse.BuildercopyJobs(CopyJob... copyJobs)An array of structures containing metadata about your copy jobs returned in JSON format.ListCopyJobsResponse.BuildernextToken(String nextToken)The next item following a partial list of returned items.-
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
-
copyJobs
ListCopyJobsResponse.Builder copyJobs(Collection<CopyJob> copyJobs)
An array of structures containing metadata about your copy jobs returned in JSON format.
- Parameters:
copyJobs- An array of structures containing metadata about your copy jobs returned in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyJobs
ListCopyJobsResponse.Builder copyJobs(CopyJob... copyJobs)
An array of structures containing metadata about your copy jobs returned in JSON format.
- Parameters:
copyJobs- An array of structures containing metadata about your copy jobs returned in JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyJobs
ListCopyJobsResponse.Builder copyJobs(Consumer<CopyJob.Builder>... copyJobs)
An array of structures containing metadata about your copy jobs returned in JSON format.
This is a convenience method that creates an instance of theCopyJob.Builderavoiding the need to create one manually viaCopyJob.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#copyJobs(List.) - Parameters:
copyJobs- a consumer that will call methods onCopyJob.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#copyJobs(java.util.Collection)
-
nextToken
ListCopyJobsResponse.Builder nextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return MaxResults number of items, NextToken allows 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 items. For example, if a request is made to return MaxResults number of items, NextToken allows 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.
-
-