public interface Snapshot
Snapshot
resource.
Each Snapshot
object is uniquely identified by these
identifier(s):
Modifier and Type | Method and Description |
---|---|
CopySnapshotResult |
copy(CopySnapshotRequest request)
Performs the
Copy action. |
CopySnapshotResult |
copy(CopySnapshotRequest request,
ResultCapture<CopySnapshotResult> extractor)
Performs the
Copy action and use a ResultCapture to retrieve
the low-level client response. |
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. |
void |
delete()
The convenient method form for the
Delete action. |
void |
delete(DeleteSnapshotRequest request)
Performs the
Delete action. |
void |
delete(DeleteSnapshotRequest request,
ResultCapture<Void> extractor)
Performs the
Delete action and use a ResultCapture to
retrieve the low-level client response. |
void |
delete(ResultCapture<Void> extractor)
The convenient method form for the
Delete action. |
DescribeSnapshotAttributeResult |
describeAttribute(DescribeSnapshotAttributeRequest request)
Performs the
DescribeAttribute action. |
DescribeSnapshotAttributeResult |
describeAttribute(DescribeSnapshotAttributeRequest request,
ResultCapture<DescribeSnapshotAttributeResult> extractor)
Performs the
DescribeAttribute action and use a
ResultCapture to retrieve the low-level client response. |
DescribeSnapshotAttributeResult |
describeAttribute(String attribute)
The convenient method form for the
DescribeAttribute action. |
DescribeSnapshotAttributeResult |
describeAttribute(String attribute,
ResultCapture<DescribeSnapshotAttributeResult> extractor)
The convenient method form for the
DescribeAttribute action. |
String |
getDescription()
Gets the value of the Description attribute.
|
Boolean |
getEncrypted()
Gets the value of the Encrypted attribute.
|
String |
getId()
Gets the value of the Id identifier.
|
String |
getKmsKeyId()
Gets the value of the KmsKeyId attribute.
|
String |
getOwnerAlias()
Gets the value of the OwnerAlias attribute.
|
String |
getOwnerId()
Gets the value of the OwnerId attribute.
|
String |
getProgress()
Gets the value of the Progress attribute.
|
Date |
getStartTime()
Gets the value of the StartTime attribute.
|
String |
getState()
Gets the value of the State attribute.
|
List<Tag> |
getTags()
Gets the value of the Tags attribute.
|
Volume |
getVolume()
Retrieves the
Volume resource referenced by this resource. |
String |
getVolumeId()
Gets the value of the VolumeId attribute.
|
Integer |
getVolumeSize()
Gets the value of the VolumeSize 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(DescribeSnapshotsRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(DescribeSnapshotsRequest request,
ResultCapture<DescribeSnapshotsResult> 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
Snapshot resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotIds.0
- mapped from the Id identifier. |
void |
modifyAttribute(ModifySnapshotAttributeRequest request)
Performs the
ModifyAttribute action. |
void |
modifyAttribute(ModifySnapshotAttributeRequest request,
ResultCapture<Void> extractor)
Performs the
ModifyAttribute action and use a ResultCapture
to retrieve the low-level client response. |
void |
modifyAttribute(String attribute,
String operationType)
The convenient method form for the
ModifyAttribute action. |
void |
modifyAttribute(String attribute,
String operationType,
ResultCapture<Void> extractor)
The convenient method form for the
ModifyAttribute action. |
void |
resetAttribute(ResetSnapshotAttributeRequest request)
Performs the
ResetAttribute action. |
void |
resetAttribute(ResetSnapshotAttributeRequest request,
ResultCapture<Void> extractor)
Performs the
ResetAttribute action and use a ResultCapture
to retrieve the low-level client response. |
void |
resetAttribute(String attribute)
The convenient method form for the
ResetAttribute action. |
void |
resetAttribute(String attribute,
ResultCapture<Void> extractor)
The convenient method form for the
ResetAttribute action. |
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(DescribeSnapshotsRequest)
boolean load(DescribeSnapshotsRequest request)
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotIds.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.DescribeSnapshotsRequest
boolean load(DescribeSnapshotsRequest request, ResultCapture<DescribeSnapshotsResult> extractor)
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotIds.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.DescribeSnapshotsRequest
String getId()
List<Tag> getTags()
load()
is made to retrieve the value of the attribute.String getDescription()
load()
is made to retrieve the value of the
attribute.String getState()
load()
is made to retrieve the value of the
attribute.String getOwnerAlias()
load()
is made to retrieve the value of the
attribute.String getVolumeId()
load()
is made to retrieve the value of the
attribute.Integer getVolumeSize()
load()
is made to retrieve the value of the
attribute.String getKmsKeyId()
load()
is made to retrieve the value of the
attribute.String getOwnerId()
load()
is made to retrieve the value of the
attribute.Boolean getEncrypted()
load()
is made to retrieve the value of the
attribute.Date getStartTime()
load()
is made to retrieve the value of the
attribute.String getProgress()
load()
is made to retrieve the value of the
attribute.Volume getVolume()
Volume
resource referenced by this resource.void resetAttribute(ResetSnapshotAttributeRequest request)
ResetAttribute
action.
The following request parameters will be populated from the data of this
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotId
- mapped from the Id
identifier.
ResetSnapshotAttributeRequest
void resetAttribute(ResetSnapshotAttributeRequest request, ResultCapture<Void> extractor)
ResetAttribute
action and use a ResultCapture
to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotId
- mapped from the Id
identifier.
ResetSnapshotAttributeRequest
void resetAttribute(String attribute)
ResetAttribute
action.void resetAttribute(String attribute, ResultCapture<Void> extractor)
ResetAttribute
action.void modifyAttribute(ModifySnapshotAttributeRequest request)
ModifyAttribute
action.
The following request parameters will be populated from the data of this
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotId
- mapped from the Id
identifier.
ModifySnapshotAttributeRequest
void modifyAttribute(ModifySnapshotAttributeRequest 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
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotId
- mapped from the Id
identifier.
ModifySnapshotAttributeRequest
void modifyAttribute(String attribute, String operationType)
ModifyAttribute
action.void modifyAttribute(String attribute, String operationType, ResultCapture<Void> extractor)
ModifyAttribute
action.DescribeSnapshotAttributeResult describeAttribute(DescribeSnapshotAttributeRequest request)
DescribeAttribute
action.
The following request parameters will be populated from the data of this
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotId
- mapped from the Id
identifier.
DescribeSnapshotAttributeRequest
DescribeSnapshotAttributeResult describeAttribute(DescribeSnapshotAttributeRequest request, ResultCapture<DescribeSnapshotAttributeResult> 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
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotId
- mapped from the Id
identifier.
DescribeSnapshotAttributeRequest
DescribeSnapshotAttributeResult describeAttribute(String attribute)
DescribeAttribute
action.DescribeSnapshotAttributeResult describeAttribute(String attribute, ResultCapture<DescribeSnapshotAttributeResult> extractor)
DescribeAttribute
action.void delete(DeleteSnapshotRequest request)
Delete
action.
The following request parameters will be populated from the data of this
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotId
- mapped from the Id
identifier.
DeleteSnapshotRequest
void delete(DeleteSnapshotRequest request, ResultCapture<Void> extractor)
Delete
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SnapshotId
- mapped from the Id
identifier.
DeleteSnapshotRequest
void delete()
Delete
action.delete(DeleteSnapshotRequest)
void delete(ResultCapture<Void> extractor)
Delete
action.List<Tag> createTags(CreateTagsRequest request)
CreateTags
action.
The following request parameters will be populated from the data of this
Snapshot
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
Snapshot
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.CopySnapshotResult copy(CopySnapshotRequest request)
Copy
action.
The following request parameters will be populated from the data of this
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SourceSnapshotId
- mapped from the Id
identifier.
CopySnapshotRequest
CopySnapshotResult copy(CopySnapshotRequest request, ResultCapture<CopySnapshotResult> extractor)
Copy
action and use a ResultCapture to retrieve
the low-level client response.
The following request parameters will be populated from the data of this
Snapshot
resource, and any conflicting parameter value set
in the request will be overridden:
SourceSnapshotId
- mapped from the Id
identifier.
CopySnapshotRequest
Copyright © 2014. All rights reserved.