| Package | Description |
|---|---|
| software.amazon.awssdk.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.arn(String arn)
The Amazon Resource Name (ARN) of the snapshot (e.g.,
arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE). |
static InstanceSnapshot.Builder |
InstanceSnapshot.builder() |
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.createdAt(Instant createdAt)
The timestamp when the snapshot was created (e.g.,
1479907467.024). |
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.fromAttachedDisks(Collection<Disk> fromAttachedDisks)
An array of disk objects containing information about all block storage disks.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.fromAttachedDisks(Consumer<Disk.Builder>... fromAttachedDisks)
An array of disk objects containing information about all block storage disks.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.fromAttachedDisks(Disk... fromAttachedDisks)
An array of disk objects containing information about all block storage disks.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.fromBlueprintId(String fromBlueprintId)
The blueprint ID from which you created the snapshot (e.g.,
os_debian_8_3). |
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.fromBundleId(String fromBundleId)
The bundle ID from which you created the snapshot (e.g.,
micro_1_0). |
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.fromInstanceArn(String fromInstanceArn)
The Amazon Resource Name (ARN) of the instance from which the snapshot was created (e.g.,
arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE). |
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.fromInstanceName(String fromInstanceName)
The instance from which the snapshot was created.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.isFromAutoSnapshot(Boolean isFromAutoSnapshot)
A Boolean value indicating whether the snapshot was created from an automatic snapshot.
|
default InstanceSnapshot.Builder |
InstanceSnapshot.Builder.location(Consumer<ResourceLocation.Builder> location)
The region name and Availability Zone where you created the snapshot.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.location(ResourceLocation location)
The region name and Availability Zone where you created the snapshot.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.name(String name)
The name of the snapshot.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.progress(String progress)
The progress of the snapshot.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.resourceType(ResourceType resourceType)
The type of resource (usually
InstanceSnapshot). |
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.resourceType(String resourceType)
The type of resource (usually
InstanceSnapshot). |
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.sizeInGb(Integer sizeInGb)
The size in GB of the SSD.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.state(InstanceSnapshotState state)
The state the snapshot is in.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.state(String state)
The state the snapshot is in.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.supportCode(String supportCode)
The support code.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.tags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values for the resource.
|
InstanceSnapshot.Builder |
InstanceSnapshot.Builder.tags(Tag... tags)
The tag keys and optional values for the resource.
|
InstanceSnapshot.Builder |
InstanceSnapshot.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends InstanceSnapshot.Builder> |
InstanceSnapshot.serializableBuilderClass() |
| Modifier and Type | Method and Description |
|---|---|
default GetInstanceSnapshotResponse.Builder |
GetInstanceSnapshotResponse.Builder.instanceSnapshot(Consumer<InstanceSnapshot.Builder> instanceSnapshot)
An array of key-value pairs containing information about the results of your get instance snapshot request.
|
Copyright © 2022. All rights reserved.