public static interface RestoreSnapshotTierRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<RestoreSnapshotTierRequest.Builder,RestoreSnapshotTierRequest>
Modifier and Type | Method and Description |
---|---|
RestoreSnapshotTierRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
RestoreSnapshotTierRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
RestoreSnapshotTierRequest.Builder |
permanentRestore(Boolean permanentRestore)
Indicates whether to permanently restore an archived snapshot.
|
RestoreSnapshotTierRequest.Builder |
snapshotId(String snapshotId)
The ID of the snapshot to restore.
|
RestoreSnapshotTierRequest.Builder |
temporaryRestoreDays(Integer temporaryRestoreDays)
Specifies the number of days for which to temporarily restore an archived snapshot.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
RestoreSnapshotTierRequest.Builder snapshotId(String snapshotId)
The ID of the snapshot to restore.
snapshotId
- The ID of the snapshot to restore.RestoreSnapshotTierRequest.Builder temporaryRestoreDays(Integer temporaryRestoreDays)
Specifies the number of days for which to temporarily restore an archived snapshot. Required for temporary restores only. The snapshot will be automatically re-archived after this period.
To temporarily restore an archived snapshot, specify the number of days and omit the PermanentRestore
parameter or set it to false
.
temporaryRestoreDays
- Specifies the number of days for which to temporarily restore an archived snapshot. Required for
temporary restores only. The snapshot will be automatically re-archived after this period.
To temporarily restore an archived snapshot, specify the number of days and omit the
PermanentRestore parameter or set it to false
.
RestoreSnapshotTierRequest.Builder permanentRestore(Boolean permanentRestore)
Indicates whether to permanently restore an archived snapshot. To permanently restore an archived snapshot,
specify true
and omit the RestoreSnapshotTierRequest$TemporaryRestoreDays parameter.
permanentRestore
- Indicates whether to permanently restore an archived snapshot. To permanently restore an archived
snapshot, specify true
and omit the
RestoreSnapshotTierRequest$TemporaryRestoreDays parameter.RestoreSnapshotTierRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
RestoreSnapshotTierRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2023. All rights reserved.