Interface DescribeRecoverySnapshotsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeRecoverySnapshotsRequest.Builder,
,DescribeRecoverySnapshotsRequest> DrsRequest.Builder
,SdkBuilder<DescribeRecoverySnapshotsRequest.Builder,
,DescribeRecoverySnapshotsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeRecoverySnapshotsRequest
@Mutable
@NotThreadSafe
public static interface DescribeRecoverySnapshotsRequest.Builder
extends DrsRequest.Builder, SdkPojo, CopyableBuilder<DescribeRecoverySnapshotsRequest.Builder,DescribeRecoverySnapshotsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA set of filters by which to return Recovery Snapshots.A set of filters by which to return Recovery Snapshots.maxResults
(Integer maxResults) Maximum number of Recovery Snapshots to retrieve.The token of the next Recovery Snapshot to retrieve.The sorted ordering by which to return Recovery Snapshots.order
(RecoverySnapshotsOrder order) The sorted ordering by which to return Recovery Snapshots.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceServerID
(String sourceServerID) Filter Recovery Snapshots by Source Server ID.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.drs.model.DrsRequest.Builder
build
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
-
filters
A set of filters by which to return Recovery Snapshots.
- Parameters:
filters
- A set of filters by which to return Recovery Snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filters
default DescribeRecoverySnapshotsRequest.Builder filters(Consumer<DescribeRecoverySnapshotsRequestFilters.Builder> filters) A set of filters by which to return Recovery Snapshots.
This is a convenience method that creates an instance of theDescribeRecoverySnapshotsRequestFilters.Builder
avoiding the need to create one manually viaDescribeRecoverySnapshotsRequestFilters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofilters(DescribeRecoverySnapshotsRequestFilters)
.- Parameters:
filters
- a consumer that will call methods onDescribeRecoverySnapshotsRequestFilters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
Maximum number of Recovery Snapshots to retrieve.
- Parameters:
maxResults
- Maximum number of Recovery Snapshots to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token of the next Recovery Snapshot to retrieve.
- Parameters:
nextToken
- The token of the next Recovery Snapshot to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
order
The sorted ordering by which to return Recovery Snapshots.
- Parameters:
order
- The sorted ordering by which to return Recovery Snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
order
The sorted ordering by which to return Recovery Snapshots.
- Parameters:
order
- The sorted ordering by which to return Recovery Snapshots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceServerID
Filter Recovery Snapshots by Source Server ID.
- Parameters:
sourceServerID
- Filter Recovery Snapshots by Source Server ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeRecoverySnapshotsRequest.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
DescribeRecoverySnapshotsRequest.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.
-