Interface DescribeRecoverySnapshotsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DescribeRecoverySnapshotsRequest.Builder,DescribeRecoverySnapshotsRequest>,DrsRequest.Builder,SdkBuilder<DescribeRecoverySnapshotsRequest.Builder,DescribeRecoverySnapshotsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- DescribeRecoverySnapshotsRequest
public static interface DescribeRecoverySnapshotsRequest.Builder extends DrsRequest.Builder, SdkPojo, CopyableBuilder<DescribeRecoverySnapshotsRequest.Builder,DescribeRecoverySnapshotsRequest>
-
-
Method Summary
-
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, sdkFields
-
-
-
-
Method Detail
-
filters
DescribeRecoverySnapshotsRequest.Builder filters(DescribeRecoverySnapshotsRequestFilters 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.Builderavoiding the need to create one manually viaDescribeRecoverySnapshotsRequestFilters.builder().When the
Consumercompletes,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:
filters(DescribeRecoverySnapshotsRequestFilters)
-
maxResults
DescribeRecoverySnapshotsRequest.Builder maxResults(Integer 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
DescribeRecoverySnapshotsRequest.Builder nextToken(String 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
DescribeRecoverySnapshotsRequest.Builder order(String 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:
RecoverySnapshotsOrder,RecoverySnapshotsOrder
-
order
DescribeRecoverySnapshotsRequest.Builder order(RecoverySnapshotsOrder 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:
RecoverySnapshotsOrder,RecoverySnapshotsOrder
-
sourceServerID
DescribeRecoverySnapshotsRequest.Builder sourceServerID(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DescribeRecoverySnapshotsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-