Interface ListRestoreJobsByProtectedResourceRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BackupRequest.Builder
,Buildable
,CopyableBuilder<ListRestoreJobsByProtectedResourceRequest.Builder,
,ListRestoreJobsByProtectedResourceRequest> SdkBuilder<ListRestoreJobsByProtectedResourceRequest.Builder,
,ListRestoreJobsByProtectedResourceRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
ListRestoreJobsByProtectedResourceRequest
@Mutable
@NotThreadSafe
public static interface ListRestoreJobsByProtectedResourceRequest.Builder
extends BackupRequest.Builder, SdkPojo, CopyableBuilder<ListRestoreJobsByProtectedResourceRequest.Builder,ListRestoreJobsByProtectedResourceRequest>
-
Method Summary
Modifier and TypeMethodDescriptionbyRecoveryPointCreationDateAfter
(Instant byRecoveryPointCreationDateAfter) Returns only restore jobs of recovery points that were created after the specified date.byRecoveryPointCreationDateBefore
(Instant byRecoveryPointCreationDateBefore) Returns only restore jobs of recovery points that were created before the specified date.Returns only restore jobs associated with the specified job status.byStatus
(RestoreJobStatus byStatus) Returns only restore jobs associated with the specified job status.maxResults
(Integer maxResults) The maximum number of items to be returned.The next item following a partial list of returned items.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceArn
(String resourceArn) Returns only restore jobs that match the specified resource Amazon Resource Name (ARN).Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.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, sdkFieldNameToField, sdkFields
-
Method Details
-
resourceArn
Returns only restore jobs that match the specified resource Amazon Resource Name (ARN).
- Parameters:
resourceArn
- Returns only restore jobs that match the specified resource Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byStatus
Returns only restore jobs associated with the specified job status.
- Parameters:
byStatus
- Returns only restore jobs associated with the specified job status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
byStatus
Returns only restore jobs associated with the specified job status.
- Parameters:
byStatus
- Returns only restore jobs associated with the specified job status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
byRecoveryPointCreationDateAfter
ListRestoreJobsByProtectedResourceRequest.Builder byRecoveryPointCreationDateAfter(Instant byRecoveryPointCreationDateAfter) Returns only restore jobs of recovery points that were created after the specified date.
- Parameters:
byRecoveryPointCreationDateAfter
- Returns only restore jobs of recovery points that were created after the specified date.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
byRecoveryPointCreationDateBefore
ListRestoreJobsByProtectedResourceRequest.Builder byRecoveryPointCreationDateBefore(Instant byRecoveryPointCreationDateBefore) Returns only restore jobs of recovery points that were created before the specified date.
- Parameters:
byRecoveryPointCreationDateBefore
- Returns only restore jobs of recovery points that were created before the specified date.- 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 items. For example, if a request ismade 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 ismade to returnMaxResults
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.
-
maxResults
The maximum number of items to be returned.
- Parameters:
maxResults
- The maximum number of items to be returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListRestoreJobsByProtectedResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListRestoreJobsByProtectedResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-