@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListNotificationRulesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListNotificationRulesResult() |
Modifier and Type | Method and Description |
---|---|
ListNotificationRulesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
An enumeration token that can be used in a request to return the next batch of the results.
|
List<NotificationRuleSummary> |
getNotificationRules()
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
void |
setNotificationRules(Collection<NotificationRuleSummary> notificationRules)
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
|
String |
toString()
Returns a string representation of this object.
|
ListNotificationRulesResult |
withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
|
ListNotificationRulesResult |
withNotificationRules(Collection<NotificationRuleSummary> notificationRules)
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
|
ListNotificationRulesResult |
withNotificationRules(NotificationRuleSummary... notificationRules)
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.public String getNextToken()
An enumeration token that can be used in a request to return the next batch of the results.
public ListNotificationRulesResult withNextToken(String nextToken)
An enumeration token that can be used in a request to return the next batch of the results.
nextToken
- An enumeration token that can be used in a request to return the next batch of the results.public List<NotificationRuleSummary> getNotificationRules()
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
public void setNotificationRules(Collection<NotificationRuleSummary> notificationRules)
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
notificationRules
- The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.public ListNotificationRulesResult withNotificationRules(NotificationRuleSummary... notificationRules)
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationRules(java.util.Collection)
or withNotificationRules(java.util.Collection)
if
you want to override the existing values.
notificationRules
- The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.public ListNotificationRulesResult withNotificationRules(Collection<NotificationRuleSummary> notificationRules)
The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.
notificationRules
- The list of notification rules for the Amazon Web Services account, by Amazon Resource Name (ARN) and ID.public String toString()
toString
in class Object
Object.toString()
public ListNotificationRulesResult clone()