Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.model
Class DescribeVaultOutput

java.lang.Object
  extended by com.amazonaws.services.glacier.model.DescribeVaultOutput
All Implemented Interfaces:
Serializable

public class DescribeVaultOutput
extends Object
implements Serializable

Contains the Amazon Glacier response to your request.

See Also:
Serialized Form

Constructor Summary
DescribeVaultOutput()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getCreationDate()
          The UTC date when the vault was created.
 String getLastInventoryDate()
          The UTC date when Amazon Glacier completed the last vault inventory.
 Long getNumberOfArchives()
          The number of archives in the vault as of the last inventory date.
 Long getSizeInBytes()
          Total size, in bytes, of the archives in the vault as of the last inventory date.
 String getVaultARN()
          The Amazon Resource Name (ARN) of the vault.
 String getVaultName()
          The name of the vault.
 int hashCode()
           
 void setCreationDate(String creationDate)
          The UTC date when the vault was created.
 void setLastInventoryDate(String lastInventoryDate)
          The UTC date when Amazon Glacier completed the last vault inventory.
 void setNumberOfArchives(Long numberOfArchives)
          The number of archives in the vault as of the last inventory date.
 void setSizeInBytes(Long sizeInBytes)
          Total size, in bytes, of the archives in the vault as of the last inventory date.
 void setVaultARN(String vaultARN)
          The Amazon Resource Name (ARN) of the vault.
 void setVaultName(String vaultName)
          The name of the vault.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeVaultOutput withCreationDate(String creationDate)
          The UTC date when the vault was created.
 DescribeVaultOutput withLastInventoryDate(String lastInventoryDate)
          The UTC date when Amazon Glacier completed the last vault inventory.
 DescribeVaultOutput withNumberOfArchives(Long numberOfArchives)
          The number of archives in the vault as of the last inventory date.
 DescribeVaultOutput withSizeInBytes(Long sizeInBytes)
          Total size, in bytes, of the archives in the vault as of the last inventory date.
 DescribeVaultOutput withVaultARN(String vaultARN)
          The Amazon Resource Name (ARN) of the vault.
 DescribeVaultOutput withVaultName(String vaultName)
          The name of the vault.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeVaultOutput

public DescribeVaultOutput()
Method Detail

getVaultARN

public String getVaultARN()
The Amazon Resource Name (ARN) of the vault.

Returns:
The Amazon Resource Name (ARN) of the vault.

setVaultARN

public void setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault.

Parameters:
vaultARN - The Amazon Resource Name (ARN) of the vault.

withVaultARN

public DescribeVaultOutput withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vaultARN - The Amazon Resource Name (ARN) of the vault.
Returns:
A reference to this updated object so that method calls can be chained together.

getVaultName

public String getVaultName()
The name of the vault.

Returns:
The name of the vault.

setVaultName

public void setVaultName(String vaultName)
The name of the vault.

Parameters:
vaultName - The name of the vault.

withVaultName

public DescribeVaultOutput withVaultName(String vaultName)
The name of the vault.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vaultName - The name of the vault.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreationDate

public String getCreationDate()
The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

Returns:
The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

setCreationDate

public void setCreationDate(String creationDate)
The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

Parameters:
creationDate - The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

withCreationDate

public DescribeVaultOutput withCreationDate(String creationDate)
The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

Returns a reference to this object so that method calls can be chained together.

Parameters:
creationDate - The UTC date when the vault was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
Returns:
A reference to this updated object so that method calls can be chained together.

getLastInventoryDate

public String getLastInventoryDate()
The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

Returns:
The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

setLastInventoryDate

public void setLastInventoryDate(String lastInventoryDate)
The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

Parameters:
lastInventoryDate - The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

withLastInventoryDate

public DescribeVaultOutput withLastInventoryDate(String lastInventoryDate)
The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".

Returns a reference to this object so that method calls can be chained together.

Parameters:
lastInventoryDate - The UTC date when Amazon Glacier completed the last vault inventory. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
Returns:
A reference to this updated object so that method calls can be chained together.

getNumberOfArchives

public Long getNumberOfArchives()
The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

Returns:
The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

setNumberOfArchives

public void setNumberOfArchives(Long numberOfArchives)
The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

Parameters:
numberOfArchives - The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

withNumberOfArchives

public DescribeVaultOutput withNumberOfArchives(Long numberOfArchives)
The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

Returns a reference to this object so that method calls can be chained together.

Parameters:
numberOfArchives - The number of archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.
Returns:
A reference to this updated object so that method calls can be chained together.

getSizeInBytes

public Long getSizeInBytes()
Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

Returns:
Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

setSizeInBytes

public void setSizeInBytes(Long sizeInBytes)
Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

Parameters:
sizeInBytes - Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

withSizeInBytes

public DescribeVaultOutput withSizeInBytes(Long sizeInBytes)
Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sizeInBytes - Total size, in bytes, of the archives in the vault as of the last inventory date. This field will return null if an inventory has not yet run on the vault, for example, if you just created the vault.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.