StructuredPojo
, ToCopyableBuilder<Disk.Builder,Disk>
@Generated("software.amazon.awssdk:codegen") public class Disk extends Object implements StructuredPojo, ToCopyableBuilder<Disk.Builder,Disk>
Describes the hard disk (an SSD).
Modifier and Type | Class | Description |
---|---|---|
static interface |
Disk.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
arn() |
The Amazon Resource Name (ARN) of the disk.
|
String |
attachedTo() |
The resources to which the disk is attached.
|
String |
attachmentState() |
The attachment state of the disk.
|
static Disk.Builder |
builder() |
|
Date |
createdAt() |
The date when the disk was created.
|
boolean |
equals(Object obj) |
|
Integer |
gbInUse() |
The number of GB in use by the disk.
|
int |
hashCode() |
|
Integer |
iops() |
The input/output operations per second (IOPS) of the disk.
|
Boolean |
isAttached() |
A Boolean value indicating whether the disk is attached.
|
Boolean |
isSystemDisk() |
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
|
ResourceLocation |
location() |
The region and Availability Zone where the disk is located.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The name of the disk.
|
String |
path() |
The disk path.
|
String |
resourceType() |
The resource type of the disk.
|
static Class<? extends Disk.Builder> |
serializableBuilderClass() |
|
Integer |
sizeInGb() |
The size of the disk in GB.
|
String |
supportCode() |
The support code.
|
Disk.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String name()
The name of the disk.
public String arn()
The Amazon Resource Name (ARN) of the disk.
public String supportCode()
The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
public Date createdAt()
The date when the disk was created.
public ResourceLocation location()
The region and Availability Zone where the disk is located.
public String resourceType()
The resource type of the disk.
ResourceType
public Integer sizeInGb()
The size of the disk in GB.
public Integer gbInUse()
The number of GB in use by the disk.
public Boolean isSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
public Integer iops()
The input/output operations per second (IOPS) of the disk.
public String path()
The disk path.
public String attachedTo()
The resources to which the disk is attached.
public Boolean isAttached()
A Boolean value indicating whether the disk is attached.
public String attachmentState()
The attachment state of the disk.
public Disk.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Disk.Builder,Disk>
public static Disk.Builder builder()
public static Class<? extends Disk.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.