@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListArchivesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response containing a list of your email archives.
Constructor and Description |
---|
ListArchivesResult() |
Modifier and Type | Method and Description |
---|---|
ListArchivesResult |
clone() |
boolean |
equals(Object obj) |
List<Archive> |
getArchives()
The list of archive details.
|
String |
getNextToken()
If present, use to retrieve the next page of results.
|
int |
hashCode() |
void |
setArchives(Collection<Archive> archives)
The list of archive details.
|
void |
setNextToken(String nextToken)
If present, use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListArchivesResult |
withArchives(Archive... archives)
The list of archive details.
|
ListArchivesResult |
withArchives(Collection<Archive> archives)
The list of archive details.
|
ListArchivesResult |
withNextToken(String nextToken)
If present, use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Archive> getArchives()
The list of archive details.
public void setArchives(Collection<Archive> archives)
The list of archive details.
archives
- The list of archive details.public ListArchivesResult withArchives(Archive... archives)
The list of archive details.
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
- The list of archive details.public ListArchivesResult withArchives(Collection<Archive> archives)
The list of archive details.
archives
- The list of archive details.public void setNextToken(String nextToken)
If present, use to retrieve the next page of results.
nextToken
- If present, use to retrieve the next page of results.public String getNextToken()
If present, use to retrieve the next page of results.
public ListArchivesResult withNextToken(String nextToken)
If present, use to retrieve the next page of results.
nextToken
- If present, use to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListArchivesResult clone()