Interface DescribeSnapshotsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DescribeSnapshotsRequest.Builder,
,DescribeSnapshotsRequest> DirectoryRequest.Builder
,SdkBuilder<DescribeSnapshotsRequest.Builder,
,DescribeSnapshotsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DescribeSnapshotsRequest
@Mutable
@NotThreadSafe
public static interface DescribeSnapshotsRequest.Builder
extends DirectoryRequest.Builder, SdkPojo, CopyableBuilder<DescribeSnapshotsRequest.Builder,DescribeSnapshotsRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondirectoryId
(String directoryId) The identifier of the directory for which to retrieve snapshot information.The maximum number of objects to return.The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.snapshotIds
(String... snapshotIds) A list of identifiers of the snapshots to obtain the information for.snapshotIds
(Collection<String> snapshotIds) A list of identifiers of the snapshots to obtain the information for.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.directory.model.DirectoryRequest.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
-
directoryId
The identifier of the directory for which to retrieve snapshot information.
- Parameters:
directoryId
- The identifier of the directory for which to retrieve snapshot information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotIds
A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members.
- Parameters:
snapshotIds
- A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotIds
A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members.
- Parameters:
snapshotIds
- A list of identifiers of the snapshots to obtain the information for. If this member is null or empty, all snapshots are returned using the Limit and NextToken members.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. Pass null if this is the first call.
- Parameters:
nextToken
- The DescribeSnapshotsResult.NextToken value from a previous call to DescribeSnapshots. Pass null if this is the first call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of objects to return.
- Parameters:
limit
- The maximum number of objects to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeSnapshotsRequest.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
DescribeSnapshotsRequest.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.
-