| Package | Description |
|---|---|
| software.amazon.awssdk.services.ec2.model |
| Modifier and Type | Method and Description |
|---|---|
static Snapshot.Builder |
Snapshot.builder() |
Snapshot.Builder |
Snapshot.Builder.dataEncryptionKeyId(String dataEncryptionKeyId)
The data encryption key identifier for the snapshot.
|
Snapshot.Builder |
Snapshot.Builder.description(String description)
The description for the snapshot.
|
Snapshot.Builder |
Snapshot.Builder.encrypted(Boolean encrypted)
Indicates whether the snapshot is encrypted.
|
Snapshot.Builder |
Snapshot.Builder.kmsKeyId(String kmsKeyId)
The full ARN of the AWS Key Management Service (AWS KMS) customer master key (CMK) that was used to protect
the volume encryption key for the parent volume.
|
Snapshot.Builder |
Snapshot.Builder.ownerAlias(String ownerAlias)
Value from an Amazon-maintained list (
amazon | aws-marketplace |
microsoft) of snapshot owners. |
Snapshot.Builder |
Snapshot.Builder.ownerId(String ownerId)
The AWS account ID of the EBS snapshot owner.
|
Snapshot.Builder |
Snapshot.Builder.progress(String progress)
The progress of the snapshot, as a percentage.
|
Snapshot.Builder |
Snapshot.Builder.snapshotId(String snapshotId)
The ID of the snapshot.
|
Snapshot.Builder |
Snapshot.Builder.startTime(Instant startTime)
The time stamp when the snapshot was initiated.
|
Snapshot.Builder |
Snapshot.Builder.state(SnapshotState state)
The snapshot state.
|
Snapshot.Builder |
Snapshot.Builder.state(String state)
The snapshot state.
|
Snapshot.Builder |
Snapshot.Builder.stateMessage(String stateMessage)
Encrypted Amazon EBS snapshots are copied asynchronously.
|
Snapshot.Builder |
Snapshot.Builder.tags(Collection<Tag> tags)
Any tags assigned to the snapshot.
|
Snapshot.Builder |
Snapshot.Builder.tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the snapshot.
|
Snapshot.Builder |
Snapshot.Builder.tags(Tag... tags)
Any tags assigned to the snapshot.
|
Snapshot.Builder |
Snapshot.toBuilder() |
Snapshot.Builder |
Snapshot.Builder.volumeId(String volumeId)
The ID of the volume that was used to create the snapshot.
|
Snapshot.Builder |
Snapshot.Builder.volumeSize(Integer volumeSize)
The size of the volume, in GiB.
|
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends Snapshot.Builder> |
Snapshot.serializableBuilderClass() |
Copyright © 2019. All rights reserved.