Interface DeleteAutoSnapshotRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeleteAutoSnapshotRequest.Builder,
,DeleteAutoSnapshotRequest> LightsailRequest.Builder
,SdkBuilder<DeleteAutoSnapshotRequest.Builder,
,DeleteAutoSnapshotRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
DeleteAutoSnapshotRequest
public static interface DeleteAutoSnapshotRequest.Builder
extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<DeleteAutoSnapshotRequest.Builder,DeleteAutoSnapshotRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe date of the automatic snapshot to delete inYYYY-MM-DD
format.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceName
(String resourceName) The name of the source instance or disk from which to delete the automatic snapshot.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.lightsail.model.LightsailRequest.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 Details
-
resourceName
The name of the source instance or disk from which to delete the automatic snapshot.
- Parameters:
resourceName
- The name of the source instance or disk from which to delete the automatic snapshot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
date
The date of the automatic snapshot to delete in
YYYY-MM-DD
format. Use theget auto snapshots
operation to get the available automatic snapshots for a resource.- Parameters:
date
- The date of the automatic snapshot to delete inYYYY-MM-DD
format. Use theget auto snapshots
operation to get the available automatic snapshots for a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeleteAutoSnapshotRequest.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
DeleteAutoSnapshotRequest.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.
-