| Package | Description |
|---|---|
| com.amazonaws.services.lightsail.model |
| Modifier and Type | Method and Description |
|---|---|
Disk |
Disk.clone() |
Disk |
GetDiskResult.getDisk()
An object containing information about the disk.
|
Disk |
Disk.withAddOns(AddOn... addOns)
An array of objects representing the add-ons enabled on the disk.
|
Disk |
Disk.withAddOns(Collection<AddOn> addOns)
An array of objects representing the add-ons enabled on the disk.
|
Disk |
Disk.withArn(String arn)
The Amazon Resource Name (ARN) of the disk.
|
Disk |
Disk.withAttachedTo(String attachedTo)
The resources to which the disk is attached.
|
Disk |
Disk.withAttachmentState(String attachmentState)
Deprecated.
|
Disk |
Disk.withAutoMountStatus(AutoMountStatus autoMountStatus)
The status of automatically mounting a storage disk to a virtual computer.
|
Disk |
Disk.withAutoMountStatus(String autoMountStatus)
The status of automatically mounting a storage disk to a virtual computer.
|
Disk |
Disk.withCreatedAt(Date createdAt)
The date when the disk was created.
|
Disk |
Disk.withGbInUse(Integer gbInUse)
Deprecated.
|
Disk |
Disk.withIops(Integer iops)
The input/output operations per second (IOPS) of the disk.
|
Disk |
Disk.withIsAttached(Boolean isAttached)
A Boolean value indicating whether the disk is attached.
|
Disk |
Disk.withIsSystemDisk(Boolean isSystemDisk)
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
Disk |
Disk.withLocation(ResourceLocation location)
The AWS Region and Availability Zone where the disk is located.
|
Disk |
Disk.withName(String name)
The unique name of the disk.
|
Disk |
Disk.withPath(String path)
The disk path.
|
Disk |
Disk.withResourceType(ResourceType resourceType)
The Lightsail resource type (
Disk). |
Disk |
Disk.withResourceType(String resourceType)
The Lightsail resource type (
Disk). |
Disk |
Disk.withSizeInGb(Integer sizeInGb)
The size of the disk in GB.
|
Disk |
Disk.withState(DiskState state)
Describes the status of the disk.
|
Disk |
Disk.withState(String state)
Describes the status of the disk.
|
Disk |
Disk.withSupportCode(String supportCode)
The support code.
|
Disk |
Disk.withTags(Collection<Tag> tags)
The tag keys and optional values for the resource.
|
Disk |
Disk.withTags(Tag... tags)
The tag keys and optional values for the resource.
|
| Modifier and Type | Method and Description |
|---|---|
List<Disk> |
InstanceHardware.getDisks()
The disks attached to the instance.
|
List<Disk> |
GetDisksResult.getDisks()
An array of objects containing information about all block storage disks.
|
List<Disk> |
InstanceSnapshot.getFromAttachedDisks()
An array of disk objects containing information about all block storage disks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GetDiskResult.setDisk(Disk disk)
An object containing information about the disk.
|
GetDiskResult |
GetDiskResult.withDisk(Disk disk)
An object containing information about the disk.
|
InstanceHardware |
InstanceHardware.withDisks(Disk... disks)
The disks attached to the instance.
|
GetDisksResult |
GetDisksResult.withDisks(Disk... disks)
An array of objects containing information about all block storage disks.
|
InstanceSnapshot |
InstanceSnapshot.withFromAttachedDisks(Disk... fromAttachedDisks)
An array of disk objects containing information about all block storage disks.
|
| Modifier and Type | Method and Description |
|---|---|
void |
InstanceHardware.setDisks(Collection<Disk> disks)
The disks attached to the instance.
|
void |
GetDisksResult.setDisks(Collection<Disk> disks)
An array of objects containing information about all block storage disks.
|
void |
InstanceSnapshot.setFromAttachedDisks(Collection<Disk> fromAttachedDisks)
An array of disk objects containing information about all block storage disks.
|
InstanceHardware |
InstanceHardware.withDisks(Collection<Disk> disks)
The disks attached to the instance.
|
GetDisksResult |
GetDisksResult.withDisks(Collection<Disk> disks)
An array of objects containing information about all block storage disks.
|
InstanceSnapshot |
InstanceSnapshot.withFromAttachedDisks(Collection<Disk> fromAttachedDisks)
An array of disk objects containing information about all block storage disks.
|
Copyright © 2025. All rights reserved.