@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListArchivesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListArchivesResult() |
Modifier and Type | Method and Description |
---|---|
ListArchivesResult |
clone() |
boolean |
equals(Object obj) |
List<Archive> |
getArchives()
An array of
Archive objects that include details about an archive. |
String |
getNextToken()
The token returned by a previous call to retrieve the next set of results.
|
int |
hashCode() |
void |
setArchives(Collection<Archive> archives)
An array of
Archive objects that include details about an archive. |
void |
setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListArchivesResult |
withArchives(Archive... archives)
An array of
Archive objects that include details about an archive. |
ListArchivesResult |
withArchives(Collection<Archive> archives)
An array of
Archive objects that include details about an archive. |
ListArchivesResult |
withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Archive> getArchives()
An array of Archive
objects that include details about an archive.
Archive
objects that include details about an archive.public void setArchives(Collection<Archive> archives)
An array of Archive
objects that include details about an archive.
archives
- An array of Archive
objects that include details about an archive.public ListArchivesResult withArchives(Archive... archives)
An array of Archive
objects that include details about an archive.
NOTE: This method appends the values to the existing list (if any). Use
setArchives(java.util.Collection)
or withArchives(java.util.Collection)
if you want to override
the existing values.
archives
- An array of Archive
objects that include details about an archive.public ListArchivesResult withArchives(Collection<Archive> archives)
An array of Archive
objects that include details about an archive.
archives
- An array of Archive
objects that include details about an archive.public void setNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken
- The token returned by a previous call to retrieve the next set of results.public String getNextToken()
The token returned by a previous call to retrieve the next set of results.
public ListArchivesResult withNextToken(String nextToken)
The token returned by a previous call to retrieve the next set of results.
nextToken
- The token returned by a previous call to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListArchivesResult clone()