@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListAuditSuppressionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListAuditSuppressionsResult() |
Modifier and Type | Method and Description |
---|---|
ListAuditSuppressionsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
List<AuditSuppression> |
getSuppressions()
List of audit suppressions.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
void |
setSuppressions(Collection<AuditSuppression> suppressions)
List of audit suppressions.
|
String |
toString()
Returns a string representation of this object.
|
ListAuditSuppressionsResult |
withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
ListAuditSuppressionsResult |
withSuppressions(AuditSuppression... suppressions)
List of audit suppressions.
|
ListAuditSuppressionsResult |
withSuppressions(Collection<AuditSuppression> suppressions)
List of audit suppressions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<AuditSuppression> getSuppressions()
List of audit suppressions.
public void setSuppressions(Collection<AuditSuppression> suppressions)
List of audit suppressions.
suppressions
- List of audit suppressions.public ListAuditSuppressionsResult withSuppressions(AuditSuppression... suppressions)
List of audit suppressions.
NOTE: This method appends the values to the existing list (if any). Use
setSuppressions(java.util.Collection)
or withSuppressions(java.util.Collection)
if you want to
override the existing values.
suppressions
- List of audit suppressions.public ListAuditSuppressionsResult withSuppressions(Collection<AuditSuppression> suppressions)
List of audit suppressions.
suppressions
- List of audit suppressions.public void setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String getNextToken()
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
null
if there are no
additional results.public ListAuditSuppressionsResult withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String toString()
toString
in class Object
Object.toString()
public ListAuditSuppressionsResult clone()