@Generated(value="software.amazon.awssdk:codegen") public final class DiskMap extends Object implements StructuredPojo, ToCopyableBuilder<DiskMap.Builder,DiskMap>
Describes a block storage disk mapping.
Modifier and Type | Class and Description |
---|---|
static interface |
DiskMap.Builder |
Modifier and Type | Method and Description |
---|---|
static DiskMap.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
newDiskName()
The new disk name (e.g.,
my-new-disk ). |
String |
originalDiskPath()
The original disk path exposed to the instance (for example,
/dev/sdh ). |
static Class<? extends DiskMap.Builder> |
serializableBuilderClass() |
DiskMap.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String originalDiskPath()
The original disk path exposed to the instance (for example, /dev/sdh
).
/dev/sdh
).public String newDiskName()
The new disk name (e.g., my-new-disk
).
my-new-disk
).public DiskMap.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DiskMap.Builder,DiskMap>
public static DiskMap.Builder builder()
public static Class<? extends DiskMap.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.