StructuredPojo
, ToCopyableBuilder<EbsVolume.Builder,EbsVolume>
@Generated("software.amazon.awssdk:codegen") public class EbsVolume extends Object implements StructuredPojo, ToCopyableBuilder<EbsVolume.Builder,EbsVolume>
EBS block device that's attached to an EC2 instance.
Modifier and Type | Class | Description |
---|---|---|
static interface |
EbsVolume.Builder |
Modifier and Type | Method | Description |
---|---|---|
static EbsVolume.Builder |
builder() |
|
String |
device() |
The device name that is exposed to the instance, such as /dev/sdh.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EbsVolume.Builder> |
serializableBuilderClass() |
|
EbsVolume.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
volumeId() |
The volume identifier of the EBS volume.
|
public String device()
The device name that is exposed to the instance, such as /dev/sdh.
public String volumeId()
The volume identifier of the EBS volume.
public EbsVolume.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EbsVolume.Builder,EbsVolume>
public static EbsVolume.Builder builder()
public static Class<? extends EbsVolume.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.