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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.directory.model.DirectoryRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-