| Package | Description |
|---|---|
| software.amazon.awssdk.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
DiskSnapshot.Builder |
DiskSnapshot.Builder.arn(String arn)
The Amazon Resource Name (ARN) of the disk snapshot.
|
static DiskSnapshot.Builder |
DiskSnapshot.builder() |
DiskSnapshot.Builder |
DiskSnapshot.Builder.createdAt(Instant createdAt)
The date when the disk snapshot was created.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.fromDiskArn(String fromDiskArn)
The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.fromDiskName(String fromDiskName)
The unique name of the source disk from which the disk snapshot was created.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.fromInstanceArn(String fromInstanceArn)
The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was
created.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.fromInstanceName(String fromInstanceName)
The unique name of the source instance from which the disk (system volume) snapshot was created.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.isFromAutoSnapshot(Boolean isFromAutoSnapshot)
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
|
default DiskSnapshot.Builder |
DiskSnapshot.Builder.location(Consumer<ResourceLocation.Builder> location)
The AWS Region and Availability Zone where the disk snapshot was created.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.location(ResourceLocation location)
The AWS Region and Availability Zone where the disk snapshot was created.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.name(String name)
The name of the disk snapshot (e.g.,
my-disk-snapshot). |
DiskSnapshot.Builder |
DiskSnapshot.Builder.progress(String progress)
The progress of the snapshot.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.resourceType(ResourceType resourceType)
The Lightsail resource type (e.g.,
DiskSnapshot). |
DiskSnapshot.Builder |
DiskSnapshot.Builder.resourceType(String resourceType)
The Lightsail resource type (e.g.,
DiskSnapshot). |
DiskSnapshot.Builder |
DiskSnapshot.Builder.sizeInGb(Integer sizeInGb)
The size of the disk in GB.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.state(DiskSnapshotState state)
The status of the disk snapshot operation.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.state(String state)
The status of the disk snapshot operation.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.supportCode(String supportCode)
The support code.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.tags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource.
|
DiskSnapshot.Builder |
DiskSnapshot.Builder.tags(Tag... tags)
The tag keys and optional values for the resource.
|
DiskSnapshot.Builder |
DiskSnapshot.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends DiskSnapshot.Builder> |
DiskSnapshot.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default GetDiskSnapshotResponse.Builder |
GetDiskSnapshotResponse.Builder.diskSnapshot(Consumer<DiskSnapshot.Builder> diskSnapshot)
An object containing information about the disk snapshot.
|
Copyright © 2022. All rights reserved.