Interface ListRestoreJobsByProtectedResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListRestoreJobsByProtectedResourceResponse.Builder,,ListRestoreJobsByProtectedResourceResponse> SdkBuilder<ListRestoreJobsByProtectedResourceResponse.Builder,,ListRestoreJobsByProtectedResourceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRestoreJobsByProtectedResourceResponse
@Mutable
@NotThreadSafe
public static interface ListRestoreJobsByProtectedResourceResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListRestoreJobsByProtectedResourceResponse.Builder,ListRestoreJobsByProtectedResourceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe next item following a partial list of returned items.restoreJobs(Collection<RestoreJobsListMember> restoreJobs) An array of objects that contain detailed information about jobs to restore saved resources.>restoreJobs(Consumer<RestoreJobsListMember.Builder>... restoreJobs) An array of objects that contain detailed information about jobs to restore saved resources.>restoreJobs(RestoreJobsListMember... restoreJobs) An array of objects that contain detailed information about jobs to restore saved 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
-
restoreJobs
ListRestoreJobsByProtectedResourceResponse.Builder restoreJobs(Collection<RestoreJobsListMember> restoreJobs) An array of objects that contain detailed information about jobs to restore saved resources.>
- Parameters:
restoreJobs- An array of objects that contain detailed information about jobs to restore saved resources.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreJobs
ListRestoreJobsByProtectedResourceResponse.Builder restoreJobs(RestoreJobsListMember... restoreJobs) An array of objects that contain detailed information about jobs to restore saved resources.>
- Parameters:
restoreJobs- An array of objects that contain detailed information about jobs to restore saved resources.>- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreJobs
ListRestoreJobsByProtectedResourceResponse.Builder restoreJobs(Consumer<RestoreJobsListMember.Builder>... restoreJobs) An array of objects that contain detailed information about jobs to restore saved resources.>
This is a convenience method that creates an instance of theRestoreJobsListMember.Builderavoiding the need to create one manually viaRestoreJobsListMember.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torestoreJobs(List<RestoreJobsListMember>).- Parameters:
restoreJobs- a consumer that will call methods onRestoreJobsListMember.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows youto 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 returnMaxResultsnumber of items,NextTokenallows youto 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.
-