@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeNotificationRuleResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeNotificationRuleResult() |
Modifier and Type | Method and Description |
---|---|
DescribeNotificationRuleResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
DescribeNotificationRuleResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
DescribeNotificationRuleResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the notification rule.
|
String |
getCreatedBy()
The name or email alias of the person who created the notification rule.
|
Date |
getCreatedTimestamp()
The date and time the notification rule was created, in timestamp format.
|
String |
getDetailType()
The level of detail included in the notifications for this resource.
|
List<EventTypeSummary> |
getEventTypes()
A list of the event types associated with the notification rule.
|
Date |
getLastModifiedTimestamp()
The date and time the notification rule was most recently updated, in timestamp format.
|
String |
getName()
The name of the notification rule.
|
String |
getResource()
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
|
String |
getStatus()
The status of the notification rule.
|
Map<String,String> |
getTags()
The tags associated with the notification rule.
|
List<TargetSummary> |
getTargets()
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
void |
setCreatedBy(String createdBy)
The name or email alias of the person who created the notification rule.
|
void |
setCreatedTimestamp(Date createdTimestamp)
The date and time the notification rule was created, in timestamp format.
|
void |
setDetailType(String detailType)
The level of detail included in the notifications for this resource.
|
void |
setEventTypes(Collection<EventTypeSummary> eventTypes)
A list of the event types associated with the notification rule.
|
void |
setLastModifiedTimestamp(Date lastModifiedTimestamp)
The date and time the notification rule was most recently updated, in timestamp format.
|
void |
setName(String name)
The name of the notification rule.
|
void |
setResource(String resource)
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
|
void |
setStatus(String status)
The status of the notification rule.
|
void |
setTags(Map<String,String> tags)
The tags associated with the notification rule.
|
void |
setTargets(Collection<TargetSummary> targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
|
String |
toString()
Returns a string representation of this object.
|
DescribeNotificationRuleResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
DescribeNotificationRuleResult |
withCreatedBy(String createdBy)
The name or email alias of the person who created the notification rule.
|
DescribeNotificationRuleResult |
withCreatedTimestamp(Date createdTimestamp)
The date and time the notification rule was created, in timestamp format.
|
DescribeNotificationRuleResult |
withDetailType(DetailType detailType)
The level of detail included in the notifications for this resource.
|
DescribeNotificationRuleResult |
withDetailType(String detailType)
The level of detail included in the notifications for this resource.
|
DescribeNotificationRuleResult |
withEventTypes(Collection<EventTypeSummary> eventTypes)
A list of the event types associated with the notification rule.
|
DescribeNotificationRuleResult |
withEventTypes(EventTypeSummary... eventTypes)
A list of the event types associated with the notification rule.
|
DescribeNotificationRuleResult |
withLastModifiedTimestamp(Date lastModifiedTimestamp)
The date and time the notification rule was most recently updated, in timestamp format.
|
DescribeNotificationRuleResult |
withName(String name)
The name of the notification rule.
|
DescribeNotificationRuleResult |
withResource(String resource)
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
|
DescribeNotificationRuleResult |
withStatus(NotificationRuleStatus status)
The status of the notification rule.
|
DescribeNotificationRuleResult |
withStatus(String status)
The status of the notification rule.
|
DescribeNotificationRuleResult |
withTags(Map<String,String> tags)
The tags associated with the notification rule.
|
DescribeNotificationRuleResult |
withTargets(Collection<TargetSummary> targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
|
DescribeNotificationRuleResult |
withTargets(TargetSummary... targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
arn
- The Amazon Resource Name (ARN) of the notification rule.public String getArn()
The Amazon Resource Name (ARN) of the notification rule.
public DescribeNotificationRuleResult withArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
arn
- The Amazon Resource Name (ARN) of the notification rule.public void setName(String name)
The name of the notification rule.
name
- The name of the notification rule.public String getName()
The name of the notification rule.
public DescribeNotificationRuleResult withName(String name)
The name of the notification rule.
name
- The name of the notification rule.public List<EventTypeSummary> getEventTypes()
A list of the event types associated with the notification rule.
public void setEventTypes(Collection<EventTypeSummary> eventTypes)
A list of the event types associated with the notification rule.
eventTypes
- A list of the event types associated with the notification rule.public DescribeNotificationRuleResult withEventTypes(EventTypeSummary... eventTypes)
A list of the event types associated with the notification rule.
NOTE: This method appends the values to the existing list (if any). Use
setEventTypes(java.util.Collection)
or withEventTypes(java.util.Collection)
if you want to
override the existing values.
eventTypes
- A list of the event types associated with the notification rule.public DescribeNotificationRuleResult withEventTypes(Collection<EventTypeSummary> eventTypes)
A list of the event types associated with the notification rule.
eventTypes
- A list of the event types associated with the notification rule.public void setResource(String resource)
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
resource
- The Amazon Resource Name (ARN) of the resource associated with the notification rule.public String getResource()
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
public DescribeNotificationRuleResult withResource(String resource)
The Amazon Resource Name (ARN) of the resource associated with the notification rule.
resource
- The Amazon Resource Name (ARN) of the resource associated with the notification rule.public List<TargetSummary> getTargets()
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
public void setTargets(Collection<TargetSummary> targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
targets
- A list of the Chatbot topics and Chatbot clients associated with the notification rule.public DescribeNotificationRuleResult withTargets(TargetSummary... targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
NOTE: This method appends the values to the existing list (if any). Use
setTargets(java.util.Collection)
or withTargets(java.util.Collection)
if you want to override
the existing values.
targets
- A list of the Chatbot topics and Chatbot clients associated with the notification rule.public DescribeNotificationRuleResult withTargets(Collection<TargetSummary> targets)
A list of the Chatbot topics and Chatbot clients associated with the notification rule.
targets
- A list of the Chatbot topics and Chatbot clients associated with the notification rule.public void setDetailType(String detailType)
The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
detailType
- The level of detail included in the notifications for this resource. BASIC will include only the contents
of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is
created.DetailType
public String getDetailType()
The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
DetailType
public DescribeNotificationRuleResult withDetailType(String detailType)
The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
detailType
- The level of detail included in the notifications for this resource. BASIC will include only the contents
of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is
created.DetailType
public DescribeNotificationRuleResult withDetailType(DetailType detailType)
The level of detail included in the notifications for this resource. BASIC will include only the contents of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is created.
detailType
- The level of detail included in the notifications for this resource. BASIC will include only the contents
of the event as it would appear in Amazon CloudWatch. FULL will include any supplemental information
provided by AWS CodeStar Notifications and/or the service for the resource for which the notification is
created.DetailType
public void setCreatedBy(String createdBy)
The name or email alias of the person who created the notification rule.
createdBy
- The name or email alias of the person who created the notification rule.public String getCreatedBy()
The name or email alias of the person who created the notification rule.
public DescribeNotificationRuleResult withCreatedBy(String createdBy)
The name or email alias of the person who created the notification rule.
createdBy
- The name or email alias of the person who created the notification rule.public void setStatus(String status)
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
status
- The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending
notifications).NotificationRuleStatus
public String getStatus()
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
NotificationRuleStatus
public DescribeNotificationRuleResult withStatus(String status)
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
status
- The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending
notifications).NotificationRuleStatus
public DescribeNotificationRuleResult withStatus(NotificationRuleStatus status)
The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending notifications).
status
- The status of the notification rule. Valid statuses are on (sending notifications) or off (not sending
notifications).NotificationRuleStatus
public void setCreatedTimestamp(Date createdTimestamp)
The date and time the notification rule was created, in timestamp format.
createdTimestamp
- The date and time the notification rule was created, in timestamp format.public Date getCreatedTimestamp()
The date and time the notification rule was created, in timestamp format.
public DescribeNotificationRuleResult withCreatedTimestamp(Date createdTimestamp)
The date and time the notification rule was created, in timestamp format.
createdTimestamp
- The date and time the notification rule was created, in timestamp format.public void setLastModifiedTimestamp(Date lastModifiedTimestamp)
The date and time the notification rule was most recently updated, in timestamp format.
lastModifiedTimestamp
- The date and time the notification rule was most recently updated, in timestamp format.public Date getLastModifiedTimestamp()
The date and time the notification rule was most recently updated, in timestamp format.
public DescribeNotificationRuleResult withLastModifiedTimestamp(Date lastModifiedTimestamp)
The date and time the notification rule was most recently updated, in timestamp format.
lastModifiedTimestamp
- The date and time the notification rule was most recently updated, in timestamp format.public Map<String,String> getTags()
The tags associated with the notification rule.
public void setTags(Map<String,String> tags)
The tags associated with the notification rule.
tags
- The tags associated with the notification rule.public DescribeNotificationRuleResult withTags(Map<String,String> tags)
The tags associated with the notification rule.
tags
- The tags associated with the notification rule.public DescribeNotificationRuleResult addTagsEntry(String key, String value)
public DescribeNotificationRuleResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public DescribeNotificationRuleResult clone()