@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListArchiveRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response to the request.
Constructor and Description |
---|
ListArchiveRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListArchiveRulesResult |
clone() |
boolean |
equals(Object obj) |
List<ArchiveRuleSummary> |
getArchiveRules()
A list of archive rules created for the specified analyzer.
|
String |
getNextToken()
A token used for pagination of results returned.
|
int |
hashCode() |
void |
setArchiveRules(Collection<ArchiveRuleSummary> archiveRules)
A list of archive rules created for the specified analyzer.
|
void |
setNextToken(String nextToken)
A token used for pagination of results returned.
|
String |
toString()
Returns a string representation of this object.
|
ListArchiveRulesResult |
withArchiveRules(ArchiveRuleSummary... archiveRules)
A list of archive rules created for the specified analyzer.
|
ListArchiveRulesResult |
withArchiveRules(Collection<ArchiveRuleSummary> archiveRules)
A list of archive rules created for the specified analyzer.
|
ListArchiveRulesResult |
withNextToken(String nextToken)
A token used for pagination of results returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ArchiveRuleSummary> getArchiveRules()
A list of archive rules created for the specified analyzer.
public void setArchiveRules(Collection<ArchiveRuleSummary> archiveRules)
A list of archive rules created for the specified analyzer.
archiveRules
- A list of archive rules created for the specified analyzer.public ListArchiveRulesResult withArchiveRules(ArchiveRuleSummary... archiveRules)
A list of archive rules created for the specified analyzer.
NOTE: This method appends the values to the existing list (if any). Use
setArchiveRules(java.util.Collection)
or withArchiveRules(java.util.Collection)
if you want to
override the existing values.
archiveRules
- A list of archive rules created for the specified analyzer.public ListArchiveRulesResult withArchiveRules(Collection<ArchiveRuleSummary> archiveRules)
A list of archive rules created for the specified analyzer.
archiveRules
- A list of archive rules created for the specified analyzer.public void setNextToken(String nextToken)
A token used for pagination of results returned.
nextToken
- A token used for pagination of results returned.public String getNextToken()
A token used for pagination of results returned.
public ListArchiveRulesResult withNextToken(String nextToken)
A token used for pagination of results returned.
nextToken
- A token used for pagination of results returned.public String toString()
toString
in class Object
Object.toString()
public ListArchiveRulesResult clone()