public interface Vault
Vault
resource.
Each Vault
object is uniquely identified by these identifier(s):
Modifier and Type | Method and Description |
---|---|
CreateVaultResult |
create()
The convenient method form for the
Create action. |
CreateVaultResult |
create(CreateVaultRequest request)
Performs the
Create action. |
CreateVaultResult |
create(CreateVaultRequest request,
ResultCapture<CreateVaultResult> extractor)
Performs the
Create action and use a ResultCapture to
retrieve the low-level client response. |
CreateVaultResult |
create(ResultCapture<CreateVaultResult> extractor)
The convenient method form for the
Create action. |
void |
delete()
The convenient method form for the
Delete action. |
void |
delete(DeleteVaultRequest request)
Performs the
Delete action. |
void |
delete(DeleteVaultRequest 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. |
Account |
getAccount()
Retrieves the
Account resource referenced by this resource. |
String |
getAccountId()
Gets the value of the AccountId identifier.
|
Archive |
getArchive(String id)
Gets a subresource.
|
JobCollection |
getCompletedJobs()
Retrieves the CompletedJobs collection referenced by this resource.
|
JobCollection |
getCompletedJobs(ListJobsRequest request)
Retrieves the CompletedJobs collection referenced by this resource.
|
String |
getCreationDate()
Gets the value of the CreationDate attribute.
|
JobCollection |
getFailedJobs()
Retrieves the FailedJobs collection referenced by this resource.
|
JobCollection |
getFailedJobs(ListJobsRequest request)
Retrieves the FailedJobs collection referenced by this resource.
|
Job |
getJob(String id)
Gets a subresource.
|
JobCollection |
getJobs()
Retrieves the Jobs collection referenced by this resource.
|
JobCollection |
getJobs(ListJobsRequest request)
Retrieves the Jobs collection referenced by this resource.
|
JobCollection |
getJobsInProgress()
Retrieves the JobsInProgress collection referenced by this resource.
|
JobCollection |
getJobsInProgress(ListJobsRequest request)
Retrieves the JobsInProgress collection referenced by this resource.
|
String |
getLastInventoryDate()
Gets the value of the LastInventoryDate attribute.
|
MultipartUploadCollection |
getMultipartUplaods()
Retrieves the MultipartUplaods collection referenced by this resource.
|
MultipartUploadCollection |
getMultipartUplaods(ListMultipartUploadsRequest request)
Retrieves the MultipartUplaods collection referenced by this resource.
|
MultipartUpload |
getMultipartUpload(String id)
Gets a subresource.
|
String |
getName()
Gets the value of the Name identifier.
|
Notification |
getNotification()
Gets a subresource.
|
Long |
getNumberOfArchives()
Gets the value of the NumberOfArchives attribute.
|
Long |
getSizeInBytes()
Gets the value of the SizeInBytes attribute.
|
JobCollection |
getSucceededJobs()
Retrieves the SucceededJobs collection referenced by this resource.
|
JobCollection |
getSucceededJobs(ListJobsRequest request)
Retrieves the SucceededJobs collection referenced by this resource.
|
String |
getVaultARN()
Gets the value of the VaultARN attribute.
|
Job |
initiateInventoryRetrieval()
The convenient method form for the
InitiateInventoryRetrieval action. |
Job |
initiateInventoryRetrieval(InitiateJobRequest request)
Performs the
InitiateInventoryRetrieval action. |
Job |
initiateInventoryRetrieval(InitiateJobRequest request,
ResultCapture<InitiateJobResult> extractor)
Performs the
InitiateInventoryRetrieval action and use a
ResultCapture to retrieve the low-level client response. |
Job |
initiateInventoryRetrieval(ResultCapture<InitiateJobResult> extractor)
The convenient method form for the
InitiateInventoryRetrieval action. |
MultipartUpload |
initiateMultipartUpload(InitiateMultipartUploadRequest request)
Performs the
InitiateMultipartUpload action. |
MultipartUpload |
initiateMultipartUpload(InitiateMultipartUploadRequest request,
ResultCapture<InitiateMultipartUploadResult> extractor)
Performs the
InitiateMultipartUpload action and use a
ResultCapture to retrieve the low-level client response. |
MultipartUpload |
initiateMultipartUpload(String partSize,
String archiveDescription)
The convenient method form for the
InitiateMultipartUpload
action. |
MultipartUpload |
initiateMultipartUpload(String partSize,
String archiveDescription,
ResultCapture<InitiateMultipartUploadResult> extractor)
The convenient method form for the
InitiateMultipartUpload
action. |
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(DescribeVaultRequest request)
Makes a call to the service to load this resource's attributes if they
are not loaded yet.
|
boolean |
load(DescribeVaultRequest request,
ResultCapture<DescribeVaultResult> 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
Vault resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name identifier. |
Archive |
uploadArchive(String checksum,
InputStream body,
String archiveDescription)
The convenient method form for the
UploadArchive action. |
Archive |
uploadArchive(String checksum,
InputStream body,
String archiveDescription,
ResultCapture<UploadArchiveResult> extractor)
The convenient method form for the
UploadArchive action. |
Archive |
uploadArchive(UploadArchiveRequest request)
Performs the
UploadArchive action. |
Archive |
uploadArchive(UploadArchiveRequest request,
ResultCapture<UploadArchiveResult> extractor)
Performs the
UploadArchive 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(DescribeVaultRequest)
boolean load(DescribeVaultRequest request)
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
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.DescribeVaultRequest
boolean load(DescribeVaultRequest request, ResultCapture<DescribeVaultResult> extractor)
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
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.DescribeVaultRequest
String getName()
String getAccountId()
String getLastInventoryDate()
load()
is made to retrieve the value of
the attribute.Long getNumberOfArchives()
load()
is made to retrieve the value of the
attribute.String getVaultARN()
load()
is made to retrieve the value of the
attribute.String getCreationDate()
load()
is made to retrieve the value of the
attribute.Long getSizeInBytes()
load()
is made to retrieve the value of the
attribute.Account getAccount()
Account
resource referenced by this resource.MultipartUpload getMultipartUpload(String id)
Notification getNotification()
JobCollection getJobsInProgress()
JobCollection getJobsInProgress(ListJobsRequest request)
JobCollection getJobs()
JobCollection getJobs(ListJobsRequest request)
JobCollection getSucceededJobs()
JobCollection getSucceededJobs(ListJobsRequest request)
JobCollection getCompletedJobs()
JobCollection getCompletedJobs(ListJobsRequest request)
JobCollection getFailedJobs()
JobCollection getFailedJobs(ListJobsRequest request)
MultipartUploadCollection getMultipartUplaods()
MultipartUploadCollection getMultipartUplaods(ListMultipartUploadsRequest request)
Job initiateInventoryRetrieval(InitiateJobRequest request)
InitiateInventoryRetrieval
action.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
JobParameters.Type
- constant value inventory-retrieval
.
Job
resource object associated with the result
of this action.InitiateJobRequest
Job initiateInventoryRetrieval(InitiateJobRequest request, ResultCapture<InitiateJobResult> extractor)
InitiateInventoryRetrieval
action and use a
ResultCapture to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
JobParameters.Type
- constant value inventory-retrieval
.
Job
resource object associated with the result
of this action.InitiateJobRequest
Job initiateInventoryRetrieval()
InitiateInventoryRetrieval
action.Job initiateInventoryRetrieval(ResultCapture<InitiateJobResult> extractor)
InitiateInventoryRetrieval
action.Archive uploadArchive(UploadArchiveRequest request)
UploadArchive
action.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
Archive
resource object associated with the
result of this action.UploadArchiveRequest
Archive uploadArchive(UploadArchiveRequest request, ResultCapture<UploadArchiveResult> extractor)
UploadArchive
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
Archive
resource object associated with the
result of this action.UploadArchiveRequest
Archive uploadArchive(String checksum, InputStream body, String archiveDescription)
UploadArchive
action.uploadArchive(UploadArchiveRequest)
Archive uploadArchive(String checksum, InputStream body, String archiveDescription, ResultCapture<UploadArchiveResult> extractor)
UploadArchive
action.CreateVaultResult create(CreateVaultRequest request)
Create
action.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
CreateVaultRequest
CreateVaultResult create(CreateVaultRequest request, ResultCapture<CreateVaultResult> extractor)
Create
action and use a ResultCapture to
retrieve the low-level client response.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
CreateVaultRequest
CreateVaultResult create()
Create
action.create(CreateVaultRequest)
CreateVaultResult create(ResultCapture<CreateVaultResult> extractor)
Create
action.MultipartUpload initiateMultipartUpload(InitiateMultipartUploadRequest request)
InitiateMultipartUpload
action.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
MultipartUpload
resource object associated with
the result of this action.InitiateMultipartUploadRequest
MultipartUpload initiateMultipartUpload(InitiateMultipartUploadRequest request, ResultCapture<InitiateMultipartUploadResult> extractor)
InitiateMultipartUpload
action and use a
ResultCapture to retrieve the low-level client response.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
MultipartUpload
resource object associated with
the result of this action.InitiateMultipartUploadRequest
MultipartUpload initiateMultipartUpload(String partSize, String archiveDescription)
InitiateMultipartUpload
action.MultipartUpload initiateMultipartUpload(String partSize, String archiveDescription, ResultCapture<InitiateMultipartUploadResult> extractor)
InitiateMultipartUpload
action.void delete(DeleteVaultRequest request)
Delete
action.
The following request parameters will be populated from the data of this
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
DeleteVaultRequest
void delete(DeleteVaultRequest 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
Vault
resource, and any conflicting parameter value set in
the request will be overridden:
VaultName
- mapped from the Name
identifier.
AccountId
- mapped from the AccountId
identifier.
DeleteVaultRequest
void delete()
Delete
action.delete(DeleteVaultRequest)
void delete(ResultCapture<Void> extractor)
Delete
action.Copyright © 2014. All rights reserved.