@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateNotificationRuleRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateNotificationRuleRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateNotificationRuleRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the notification rule.
|
String |
getDetailType()
The level of detail to include in the notifications for this resource.
|
List<String> |
getEventTypeIds()
A list of event types associated with this notification rule.
|
String |
getName()
The name of the notification rule.
|
String |
getStatus()
The status of the notification rule.
|
List<Target> |
getTargets()
The address and type of the targets to receive notifications from this notification rule.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
void |
setDetailType(String detailType)
The level of detail to include in the notifications for this resource.
|
void |
setEventTypeIds(Collection<String> eventTypeIds)
A list of event types associated with this notification rule.
|
void |
setName(String name)
The name of the notification rule.
|
void |
setStatus(String status)
The status of the notification rule.
|
void |
setTargets(Collection<Target> targets)
The address and type of the targets to receive notifications from this notification rule.
|
String |
toString()
Returns a string representation of this object.
|
UpdateNotificationRuleRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the notification rule.
|
UpdateNotificationRuleRequest |
withDetailType(DetailType detailType)
The level of detail to include in the notifications for this resource.
|
UpdateNotificationRuleRequest |
withDetailType(String detailType)
The level of detail to include in the notifications for this resource.
|
UpdateNotificationRuleRequest |
withEventTypeIds(Collection<String> eventTypeIds)
A list of event types associated with this notification rule.
|
UpdateNotificationRuleRequest |
withEventTypeIds(String... eventTypeIds)
A list of event types associated with this notification rule.
|
UpdateNotificationRuleRequest |
withName(String name)
The name of the notification rule.
|
UpdateNotificationRuleRequest |
withStatus(NotificationRuleStatus status)
The status of the notification rule.
|
UpdateNotificationRuleRequest |
withStatus(String status)
The status of the notification rule.
|
UpdateNotificationRuleRequest |
withTargets(Collection<Target> targets)
The address and type of the targets to receive notifications from this notification rule.
|
UpdateNotificationRuleRequest |
withTargets(Target... targets)
The address and type of the targets to receive notifications from this notification rule.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 UpdateNotificationRuleRequest 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 UpdateNotificationRuleRequest withName(String name)
The name of the notification rule.
name
- The name of the notification rule.public void setStatus(String status)
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
status
- The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled
(not sending notifications).NotificationRuleStatus
public String getStatus()
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
NotificationRuleStatus
public UpdateNotificationRuleRequest withStatus(String status)
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
status
- The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled
(not sending notifications).NotificationRuleStatus
public UpdateNotificationRuleRequest withStatus(NotificationRuleStatus status)
The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled (not sending notifications).
status
- The status of the notification rule. Valid statuses include enabled (sending notifications) or disabled
(not sending notifications).NotificationRuleStatus
public List<String> getEventTypeIds()
A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
public void setEventTypeIds(Collection<String> eventTypeIds)
A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
eventTypeIds
- A list of event types associated with this notification rule. For a complete list of event types and IDs,
see Notification concepts in the Developer Tools Console User Guide.public UpdateNotificationRuleRequest withEventTypeIds(String... eventTypeIds)
A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
NOTE: This method appends the values to the existing list (if any). Use
setEventTypeIds(java.util.Collection)
or withEventTypeIds(java.util.Collection)
if you want to
override the existing values.
eventTypeIds
- A list of event types associated with this notification rule. For a complete list of event types and IDs,
see Notification concepts in the Developer Tools Console User Guide.public UpdateNotificationRuleRequest withEventTypeIds(Collection<String> eventTypeIds)
A list of event types associated with this notification rule. For a complete list of event types and IDs, see Notification concepts in the Developer Tools Console User Guide.
eventTypeIds
- A list of event types associated with this notification rule. For a complete list of event types and IDs,
see Notification concepts in the Developer Tools Console User Guide.public List<Target> getTargets()
The address and type of the targets to receive notifications from this notification rule.
public void setTargets(Collection<Target> targets)
The address and type of the targets to receive notifications from this notification rule.
targets
- The address and type of the targets to receive notifications from this notification rule.public UpdateNotificationRuleRequest withTargets(Target... targets)
The address and type of the targets to receive notifications from this 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
- The address and type of the targets to receive notifications from this notification rule.public UpdateNotificationRuleRequest withTargets(Collection<Target> targets)
The address and type of the targets to receive notifications from this notification rule.
targets
- The address and type of the targets to receive notifications from this notification rule.public void setDetailType(String detailType)
The level of detail to include 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 to include 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 to include 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 UpdateNotificationRuleRequest withDetailType(String detailType)
The level of detail to include 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 to include 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 UpdateNotificationRuleRequest withDetailType(DetailType detailType)
The level of detail to include 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 to include 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 toString()
toString
in class Object
Object.toString()
public UpdateNotificationRuleRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()