public interface Volume
Volume
resource.
Each Volume
object is uniquely identified by these
identifier(s):
Modifier and Type | Method and Description |
---|---|
AttachVolumeResult |
attachToInstance(AttachVolumeRequest request)
Performs the
AttachToInstance action. |
AttachVolumeResult |
attachToInstance(AttachVolumeRequest request,
ResultCapture<AttachVolumeResult> extractor)
Performs the
AttachToInstance action and use a ResultCapture
to retrieve the low-level client response. |
AttachVolumeResult |
attachToInstance(String device,
String instanceId)
The convenient method form for the
AttachToInstance action. |
AttachVolumeResult |
attachToInstance(String device,
String instanceId,
ResultCapture<AttachVolumeResult> extractor)
The convenient method form for the
AttachToInstance action. |
Snapshot |
createSnapshot(CreateSnapshotRequest request)
Performs the
CreateSnapshot action. |
Snapshot |
createSnapshot(CreateSnapshotRequest request,
ResultCapture<CreateSnapshotResult> extractor)
Performs the
CreateSnapshot action and use a ResultCapture
to retrieve the low-level client response. |
Snapshot |
createSnapshot(String description)
The convenient method form for the
CreateSnapshot action. |
Snapshot |
createSnapshot(String description,
ResultCapture<CreateSnapshotResult> extractor)
The convenient method form for the
CreateSnapshot action. |
List<Tag> |
createTags(CreateTagsRequest request)
Performs the
CreateTags action. |
List<Tag> |
createTags(CreateTagsRequest request,
ResultCapture<Void> extractor)
Performs the
CreateTags action and use a ResultCapture to
retrieve the low-level client response. |
List<Tag> |
createTags(List<Tag> tags)
The convenient method form for the
CreateTags action. |
List<Tag> |
createTags(List<Tag> tags,
ResultCapture<Void> extractor)
The convenient method form for the
CreateTags action. |
DescribeVolumeAttributeResult |
describeAttribute(DescribeVolumeAttributeRequest request)
Performs the
DescribeAttribute action. |
DescribeVolumeAttributeResult |
describeAttribute(DescribeVolumeAttributeRequest request,
ResultCapture<DescribeVolumeAttributeResult> extractor)
Performs the
DescribeAttribute action and use a
ResultCapture to retrieve the low-level client response. |
DescribeVolumeStatusResult |
describeStatus(DescribeVolumeStatusRequest request)
Performs the
DescribeStatus action. |
DescribeVolumeStatusResult |
describeStatus(DescribeVolumeStatusRequest request,
ResultCapture<DescribeVolumeStatusResult> extractor)
Performs the
DescribeStatus action and use a ResultCapture
to retrieve the low-level client response. |
DetachVolumeResult |
detachFromInstance()
The convenient method form for the
DetachFromInstance
action. |
DetachVolumeResult |
detachFromInstance(DetachVolumeRequest request)
Performs the
DetachFromInstance action. |
DetachVolumeResult |
detachFromInstance(DetachVolumeRequest request,
ResultCapture<DetachVolumeResult> extractor)
Performs the
DetachFromInstance action and use a
ResultCapture to retrieve the low-level client response. |
DetachVolumeResult |
detachFromInstance(ResultCapture<DetachVolumeResult> extractor)
The convenient method form for the
DetachFromInstance
action. |
void |
enableIo(EnableVolumeIORequest request)
Performs the
EnableIo action. |
void |
enableIo(EnableVolumeIORequest request,
ResultCapture<Void> extractor)
Performs the
EnableIo action and use a ResultCapture to
retrieve the low-level client response. |
List<VolumeAttachment> |
getAttachments()
Gets the value of the Attachments attribute.
|
String |
getAvailabilityZone()
Gets the value of the AvailabilityZone attribute.
|
Date |
getCreateTime()
Gets the value of the CreateTime attribute.
|
Boolean |
getEncrypted()
Gets the value of the Encrypted attribute.
|
String |
getId()
Gets the value of the Id identifier.
|
Integer |
getIops()
Gets the value of the Iops attribute.
|
String |
getKmsKeyId()
Gets the value of the KmsKeyId attribute.
|
Integer |
getSize()
Gets the value of the Size attribute.
|
String |
getSnapshotId()
Gets the value of the SnapshotId attribute.
|
SnapshotCollection |
getSnapshots()
Retrieves the Snapshots collection referenced by this resource.
|
SnapshotCollection |
getSnapshots(DescribeSnapshotsRequest request)
Retrieves the Snapshots collection referenced by this resource.
|
String |
getState()
Gets the value of the State attribute.
|
List<Tag> |
getTags()
Gets the value of the Tags attribute.
|
String |
getVolumeType()
Gets the value of the VolumeType attribute.
|
boolean |
isLoaded()
Returns true if this resource's attributes have been loaded.
|
boolean |
load()
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(DescribeVolumesRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(DescribeVolumesRequest request,
ResultCapture<DescribeVolumesResult> extractor)
Makes a call to the service to load this resource's attributes if they
are not loaded yet, and use a ResultCapture to retrieve the low-level
client response
The following request parameters will be populated from the data of this
Volume resource, and any conflicting parameter value set in
the request will be overridden:
VolumeIds.0
- mapped from the Id identifier. |
void |
modifyAttribute(ModifyVolumeAttributeRequest request)
Performs the
ModifyAttribute action. |
void |
modifyAttribute(ModifyVolumeAttributeRequest request,
ResultCapture<Void> extractor)
Performs the
ModifyAttribute action and use a ResultCapture
to retrieve the low-level client response. |
boolean isLoaded()
false
, calls to attribute getter methods on this
instance will make an implicit call to load()
to retrieve the
value.boolean load()
true
if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.load(DescribeVolumesRequest)
boolean load(DescribeVolumesRequest request)
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeIds.0
- mapped from the Id
identifier.
true
if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.DescribeVolumesRequest
boolean load(DescribeVolumesRequest request, ResultCapture<DescribeVolumesResult> extractor)
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeIds.0
- mapped from the Id
identifier.
true
if the resource is not yet loaded when this
method was invoked, which indicates that a service call has been
made to retrieve the attributes.DescribeVolumesRequest
String getId()
List<Tag> getTags()
load()
is made to retrieve the value of the attribute.String getState()
load()
is made to retrieve the value of the
attribute.String getVolumeType()
load()
is made to retrieve the value of the
attribute.String getKmsKeyId()
load()
is made to retrieve the value of the
attribute.Integer getIops()
load()
is made to retrieve the value of the attribute.Date getCreateTime()
load()
is made to retrieve the value of the
attribute.String getSnapshotId()
load()
is made to retrieve the value of the
attribute.Boolean getEncrypted()
load()
is made to retrieve the value of the
attribute.String getAvailabilityZone()
load()
is made to retrieve the value of the
attribute.List<VolumeAttachment> getAttachments()
load()
is made to retrieve the value of the
attribute.Integer getSize()
load()
is made to retrieve the value of the attribute.SnapshotCollection getSnapshots()
SnapshotCollection getSnapshots(DescribeSnapshotsRequest request)
DetachVolumeResult detachFromInstance(DetachVolumeRequest request)
DetachFromInstance
action.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
DetachVolumeRequest
DetachVolumeResult detachFromInstance(DetachVolumeRequest request, ResultCapture<DetachVolumeResult> extractor)
DetachFromInstance
action and use a
ResultCapture to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
DetachVolumeRequest
DetachVolumeResult detachFromInstance()
DetachFromInstance
action.DetachVolumeResult detachFromInstance(ResultCapture<DetachVolumeResult> extractor)
DetachFromInstance
action.AttachVolumeResult attachToInstance(AttachVolumeRequest request)
AttachToInstance
action.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
AttachVolumeRequest
AttachVolumeResult attachToInstance(AttachVolumeRequest request, ResultCapture<AttachVolumeResult> extractor)
AttachToInstance
action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
AttachVolumeRequest
AttachVolumeResult attachToInstance(String device, String instanceId)
AttachToInstance
action.AttachVolumeResult attachToInstance(String device, String instanceId, ResultCapture<AttachVolumeResult> extractor)
AttachToInstance
action.void modifyAttribute(ModifyVolumeAttributeRequest request)
ModifyAttribute
action.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
ModifyVolumeAttributeRequest
void modifyAttribute(ModifyVolumeAttributeRequest request, ResultCapture<Void> extractor)
ModifyAttribute
action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
ModifyVolumeAttributeRequest
DescribeVolumeAttributeResult describeAttribute(DescribeVolumeAttributeRequest request)
DescribeAttribute
action.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
DescribeVolumeAttributeRequest
DescribeVolumeAttributeResult describeAttribute(DescribeVolumeAttributeRequest request, ResultCapture<DescribeVolumeAttributeResult> extractor)
DescribeAttribute
action and use a
ResultCapture to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
DescribeVolumeAttributeRequest
DescribeVolumeStatusResult describeStatus(DescribeVolumeStatusRequest request)
DescribeStatus
action.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeIds.0
- mapped from the Id
identifier.
DescribeVolumeStatusRequest
DescribeVolumeStatusResult describeStatus(DescribeVolumeStatusRequest request, ResultCapture<DescribeVolumeStatusResult> extractor)
DescribeStatus
action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeIds.0
- mapped from the Id
identifier.
DescribeVolumeStatusRequest
void enableIo(EnableVolumeIORequest request)
EnableIo
action.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
EnableVolumeIORequest
void enableIo(EnableVolumeIORequest request, ResultCapture<Void> extractor)
EnableIo
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
EnableVolumeIORequest
List<Tag> createTags(CreateTagsRequest request)
CreateTags
action.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
Resources.0
- mapped from the Id
identifier.
Tag
resource objects associated with the
result of this action.CreateTagsRequest
List<Tag> createTags(CreateTagsRequest request, ResultCapture<Void> extractor)
CreateTags
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
Resources.0
- mapped from the Id
identifier.
Tag
resource objects associated with the
result of this action.CreateTagsRequest
List<Tag> createTags(List<Tag> tags)
CreateTags
action.createTags(CreateTagsRequest)
List<Tag> createTags(List<Tag> tags, ResultCapture<Void> extractor)
CreateTags
action.Snapshot createSnapshot(CreateSnapshotRequest request)
CreateSnapshot
action.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
Snapshot
resource object associated with the
result of this action.CreateSnapshotRequest
Snapshot createSnapshot(CreateSnapshotRequest request, ResultCapture<CreateSnapshotResult> extractor)
CreateSnapshot
action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Volume
resource, and any conflicting parameter value set in
the request will be overridden:
VolumeId
- mapped from the Id
identifier.
Snapshot
resource object associated with the
result of this action.CreateSnapshotRequest
Snapshot createSnapshot(String description)
CreateSnapshot
action.Snapshot createSnapshot(String description, ResultCapture<CreateSnapshotResult> extractor)
CreateSnapshot
action.Copyright © 2014. All rights reserved.