Class ListVaultsResult
- java.lang.Object
-
- com.amazonaws.services.glacier.model.ListVaultsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListVaultsResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListVaultsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVaultsResult
clone()
boolean
equals(Object obj)
String
getMarker()
The vault ARN at which to continue pagination of the results.List<DescribeVaultOutput>
getVaultList()
List of vaults.int
hashCode()
void
setMarker(String marker)
The vault ARN at which to continue pagination of the results.void
setVaultList(Collection<DescribeVaultOutput> vaultList)
List of vaults.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListVaultsResult
withMarker(String marker)
The vault ARN at which to continue pagination of the results.ListVaultsResult
withVaultList(DescribeVaultOutput... vaultList)
List of vaults.ListVaultsResult
withVaultList(Collection<DescribeVaultOutput> vaultList)
List of vaults.
-
-
-
Method Detail
-
getVaultList
public List<DescribeVaultOutput> getVaultList()
List of vaults.
- Returns:
- List of vaults.
-
setVaultList
public void setVaultList(Collection<DescribeVaultOutput> vaultList)
List of vaults.
- Parameters:
vaultList
- List of vaults.
-
withVaultList
public ListVaultsResult withVaultList(DescribeVaultOutput... vaultList)
List of vaults.
NOTE: This method appends the values to the existing list (if any). Use
setVaultList(java.util.Collection)
orwithVaultList(java.util.Collection)
if you want to override the existing values.- Parameters:
vaultList
- List of vaults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withVaultList
public ListVaultsResult withVaultList(Collection<DescribeVaultOutput> vaultList)
List of vaults.
- Parameters:
vaultList
- List of vaults.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(String marker)
The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
- Parameters:
marker
- The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
-
getMarker
public String getMarker()
The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
- Returns:
- The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
-
withMarker
public ListVaultsResult withMarker(String marker)
The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.
- Parameters:
marker
- The vault ARN at which to continue pagination of the results. You use the marker in another List Vaults request to obtain more vaults in the list.- Returns:
- Returns a reference to this 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListVaultsResult clone()
-
-