public class EventSubscription extends Object implements Serializable
Constructor and Description |
---|
EventSubscription() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCustomerAwsId()
The AWS customer account associated with the Amazon Redshift event
notification subscription.
|
String |
getCustSubscriptionId()
The name of the Amazon Redshift event notification subscription.
|
Boolean |
getEnabled()
A Boolean value indicating whether the subscription is enabled.
|
List<String> |
getEventCategoriesList()
The list of Amazon Redshift event categories specified in the event
notification subscription.
|
String |
getSeverity()
The event severity specified in the Amazon Redshift event notification
subscription.
|
String |
getSnsTopicArn()
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
event notification subscription.
|
List<String> |
getSourceIdsList()
A list of the sources that publish events to the Amazon Redshift event
notification subscription.
|
String |
getSourceType()
The source type of the events returned the Amazon Redshift event
notification, such as cluster, or cluster-snapshot.
|
String |
getStatus()
The status of the Amazon Redshift event notification subscription.
|
Date |
getSubscriptionCreationTime()
The date and time the Amazon Redshift event notification subscription
was created.
|
List<Tag> |
getTags()
The list of tags for the event subscription.
|
int |
hashCode() |
Boolean |
isEnabled()
A Boolean value indicating whether the subscription is enabled.
|
void |
setCustomerAwsId(String customerAwsId)
The AWS customer account associated with the Amazon Redshift event
notification subscription.
|
void |
setCustSubscriptionId(String custSubscriptionId)
The name of the Amazon Redshift event notification subscription.
|
void |
setEnabled(Boolean enabled)
A Boolean value indicating whether the subscription is enabled.
|
void |
setEventCategoriesList(Collection<String> eventCategoriesList)
The list of Amazon Redshift event categories specified in the event
notification subscription.
|
void |
setSeverity(String severity)
The event severity specified in the Amazon Redshift event notification
subscription.
|
void |
setSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
event notification subscription.
|
void |
setSourceIdsList(Collection<String> sourceIdsList)
A list of the sources that publish events to the Amazon Redshift event
notification subscription.
|
void |
setSourceType(String sourceType)
The source type of the events returned the Amazon Redshift event
notification, such as cluster, or cluster-snapshot.
|
void |
setStatus(String status)
The status of the Amazon Redshift event notification subscription.
|
void |
setSubscriptionCreationTime(Date subscriptionCreationTime)
The date and time the Amazon Redshift event notification subscription
was created.
|
void |
setTags(Collection<Tag> tags)
The list of tags for the event subscription.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EventSubscription |
withCustomerAwsId(String customerAwsId)
The AWS customer account associated with the Amazon Redshift event
notification subscription.
|
EventSubscription |
withCustSubscriptionId(String custSubscriptionId)
The name of the Amazon Redshift event notification subscription.
|
EventSubscription |
withEnabled(Boolean enabled)
A Boolean value indicating whether the subscription is enabled.
|
EventSubscription |
withEventCategoriesList(Collection<String> eventCategoriesList)
The list of Amazon Redshift event categories specified in the event
notification subscription.
|
EventSubscription |
withEventCategoriesList(String... eventCategoriesList)
The list of Amazon Redshift event categories specified in the event
notification subscription.
|
EventSubscription |
withSeverity(String severity)
The event severity specified in the Amazon Redshift event notification
subscription.
|
EventSubscription |
withSnsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
event notification subscription.
|
EventSubscription |
withSourceIdsList(Collection<String> sourceIdsList)
A list of the sources that publish events to the Amazon Redshift event
notification subscription.
|
EventSubscription |
withSourceIdsList(String... sourceIdsList)
A list of the sources that publish events to the Amazon Redshift event
notification subscription.
|
EventSubscription |
withSourceType(String sourceType)
The source type of the events returned the Amazon Redshift event
notification, such as cluster, or cluster-snapshot.
|
EventSubscription |
withStatus(String status)
The status of the Amazon Redshift event notification subscription.
|
EventSubscription |
withSubscriptionCreationTime(Date subscriptionCreationTime)
The date and time the Amazon Redshift event notification subscription
was created.
|
EventSubscription |
withTags(Collection<Tag> tags)
The list of tags for the event subscription.
|
EventSubscription |
withTags(Tag... tags)
The list of tags for the event subscription.
|
public String getCustomerAwsId()
public void setCustomerAwsId(String customerAwsId)
customerAwsId
- The AWS customer account associated with the Amazon Redshift event
notification subscription.public EventSubscription withCustomerAwsId(String customerAwsId)
Returns a reference to this object so that method calls can be chained together.
customerAwsId
- The AWS customer account associated with the Amazon Redshift event
notification subscription.public String getCustSubscriptionId()
public void setCustSubscriptionId(String custSubscriptionId)
custSubscriptionId
- The name of the Amazon Redshift event notification subscription.public EventSubscription withCustSubscriptionId(String custSubscriptionId)
Returns a reference to this object so that method calls can be chained together.
custSubscriptionId
- The name of the Amazon Redshift event notification subscription.public String getSnsTopicArn()
public void setSnsTopicArn(String snsTopicArn)
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
event notification subscription.public EventSubscription withSnsTopicArn(String snsTopicArn)
Returns a reference to this object so that method calls can be chained together.
snsTopicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic used by the
event notification subscription.public String getStatus()
Constraints:
Constraints:
public void setStatus(String status)
Constraints:
status
- The status of the Amazon Redshift event notification subscription.
Constraints:
public EventSubscription withStatus(String status)
Constraints:
Returns a reference to this object so that method calls can be chained together.
status
- The status of the Amazon Redshift event notification subscription.
Constraints:
public Date getSubscriptionCreationTime()
public void setSubscriptionCreationTime(Date subscriptionCreationTime)
subscriptionCreationTime
- The date and time the Amazon Redshift event notification subscription
was created.public EventSubscription withSubscriptionCreationTime(Date subscriptionCreationTime)
Returns a reference to this object so that method calls can be chained together.
subscriptionCreationTime
- The date and time the Amazon Redshift event notification subscription
was created.public String getSourceType()
public void setSourceType(String sourceType)
sourceType
- The source type of the events returned the Amazon Redshift event
notification, such as cluster, or cluster-snapshot.public EventSubscription withSourceType(String sourceType)
Returns a reference to this object so that method calls can be chained together.
sourceType
- The source type of the events returned the Amazon Redshift event
notification, such as cluster, or cluster-snapshot.public List<String> getSourceIdsList()
public void setSourceIdsList(Collection<String> sourceIdsList)
sourceIdsList
- A list of the sources that publish events to the Amazon Redshift event
notification subscription.public EventSubscription withSourceIdsList(String... sourceIdsList)
Returns a reference to this object so that method calls can be chained together.
sourceIdsList
- A list of the sources that publish events to the Amazon Redshift event
notification subscription.public EventSubscription withSourceIdsList(Collection<String> sourceIdsList)
Returns a reference to this object so that method calls can be chained together.
sourceIdsList
- A list of the sources that publish events to the Amazon Redshift event
notification subscription.public List<String> getEventCategoriesList()
Values: Configuration, Management, Monitoring, Security
Values: Configuration, Management, Monitoring, Security
public void setEventCategoriesList(Collection<String> eventCategoriesList)
Values: Configuration, Management, Monitoring, Security
eventCategoriesList
- The list of Amazon Redshift event categories specified in the event
notification subscription. Values: Configuration, Management, Monitoring, Security
public EventSubscription withEventCategoriesList(String... eventCategoriesList)
Values: Configuration, Management, Monitoring, Security
Returns a reference to this object so that method calls can be chained together.
eventCategoriesList
- The list of Amazon Redshift event categories specified in the event
notification subscription. Values: Configuration, Management, Monitoring, Security
public EventSubscription withEventCategoriesList(Collection<String> eventCategoriesList)
Values: Configuration, Management, Monitoring, Security
Returns a reference to this object so that method calls can be chained together.
eventCategoriesList
- The list of Amazon Redshift event categories specified in the event
notification subscription. Values: Configuration, Management, Monitoring, Security
public String getSeverity()
Values: ERROR, INFO
Values: ERROR, INFO
public void setSeverity(String severity)
Values: ERROR, INFO
severity
- The event severity specified in the Amazon Redshift event notification
subscription. Values: ERROR, INFO
public EventSubscription withSeverity(String severity)
Values: ERROR, INFO
Returns a reference to this object so that method calls can be chained together.
severity
- The event severity specified in the Amazon Redshift event notification
subscription. Values: ERROR, INFO
public Boolean isEnabled()
true
indicates the subscription is enabled.true
indicates the subscription is enabled.public void setEnabled(Boolean enabled)
true
indicates the subscription is enabled.enabled
- A Boolean value indicating whether the subscription is enabled.
true
indicates the subscription is enabled.public EventSubscription withEnabled(Boolean enabled)
true
indicates the subscription is enabled.
Returns a reference to this object so that method calls can be chained together.
enabled
- A Boolean value indicating whether the subscription is enabled.
true
indicates the subscription is enabled.public Boolean getEnabled()
true
indicates the subscription is enabled.true
indicates the subscription is enabled.public List<Tag> getTags()
public void setTags(Collection<Tag> tags)
tags
- The list of tags for the event subscription.public EventSubscription withTags(Tag... tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The list of tags for the event subscription.public EventSubscription withTags(Collection<Tag> tags)
Returns a reference to this object so that method calls can be chained together.
tags
- The list of tags for the event subscription.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.