Class DiskInfo
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.DiskInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DiskInfo.Builder,DiskInfo>
@Generated("software.amazon.awssdk:codegen") public final class DiskInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DiskInfo.Builder,DiskInfo>
Describes a disk.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDiskInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiskInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisSystemDisk()A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).Stringname()The disk name.Stringpath()The disk path.List<SdkField<?>>sdkFields()static Class<? extends DiskInfo.Builder>serializableBuilderClass()IntegersizeInGb()The size of the disk in GB (32).DiskInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The disk name.
- Returns:
- The disk name.
-
path
public final String path()
The disk path.
- Returns:
- The disk path.
-
sizeInGb
public final Integer sizeInGb()
The size of the disk in GB (
32).- Returns:
- The size of the disk in GB (
32).
-
isSystemDisk
public final Boolean isSystemDisk()
A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
- Returns:
- A Boolean value indicating whether this disk is a system disk (has an operating system loaded on it).
-
toBuilder
public DiskInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DiskInfo.Builder,DiskInfo>
-
builder
public static DiskInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends DiskInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-