Uses of Interface
software.amazon.awssdk.services.ec2.model.LockSnapshotRequest.Builder
-
Packages that use LockSnapshotRequest.Builder Package Description software.amazon.awssdk.services.ec2 Amazon Elastic Compute Cloud software.amazon.awssdk.services.ec2.model -
-
Uses of LockSnapshotRequest.Builder in software.amazon.awssdk.services.ec2
Method parameters in software.amazon.awssdk.services.ec2 with type arguments of type LockSnapshotRequest.Builder Modifier and Type Method Description default CompletableFuture<LockSnapshotResponse>
Ec2AsyncClient. lockSnapshot(Consumer<LockSnapshotRequest.Builder> lockSnapshotRequest)
Locks an Amazon EBS snapshot in either governance or compliance mode to protect it against accidental or malicious deletions for a specific duration.default LockSnapshotResponse
Ec2Client. lockSnapshot(Consumer<LockSnapshotRequest.Builder> lockSnapshotRequest)
Locks an Amazon EBS snapshot in either governance or compliance mode to protect it against accidental or malicious deletions for a specific duration. -
Uses of LockSnapshotRequest.Builder in software.amazon.awssdk.services.ec2.model
Methods in software.amazon.awssdk.services.ec2.model that return LockSnapshotRequest.Builder Modifier and Type Method Description static LockSnapshotRequest.Builder
LockSnapshotRequest. builder()
LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. coolOffPeriod(Integer coolOffPeriod)
The cooling-off period during which you can unlock the snapshot or modify the lock settings after locking the snapshot in compliance mode, in hours.LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. expirationDate(Instant expirationDate)
The date and time at which the snapshot lock is to automatically expire, in the UTC time zone (YYYY-MM-DDThh:mm:ss.sssZ
).LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. lockDuration(Integer lockDuration)
The period of time for which to lock the snapshot, in days.LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. lockMode(String lockMode)
The mode in which to lock the snapshot.LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. lockMode(LockMode lockMode)
The mode in which to lock the snapshot.LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
LockSnapshotRequest.Builder
LockSnapshotRequest.Builder. snapshotId(String snapshotId)
The ID of the snapshot to lock.LockSnapshotRequest.Builder
LockSnapshotRequest. toBuilder()
Methods in software.amazon.awssdk.services.ec2.model that return types with arguments of type LockSnapshotRequest.Builder Modifier and Type Method Description static Class<? extends LockSnapshotRequest.Builder>
LockSnapshotRequest. serializableBuilderClass()
-