Class TriggerConfig
- All Implemented Interfaces:
Serializable
,Cloneable
Information about notification triggers for the deployment group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The event type or types for which notifications are triggered.The name of the notification trigger.The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.int
hashCode()
void
setTriggerEvents
(Collection<String> triggerEvents) The event type or types for which notifications are triggered.void
setTriggerName
(String triggerName) The name of the notification trigger.void
setTriggerTargetArn
(String triggerTargetArn) The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.toString()
Returns a string representation of this object; useful for testing and debugging.withTriggerEvents
(TriggerEventType... triggerEvents) The event type or types for which notifications are triggered.withTriggerEvents
(String... triggerEvents) The event type or types for which notifications are triggered.withTriggerEvents
(Collection<String> triggerEvents) The event type or types for which notifications are triggered.withTriggerName
(String triggerName) The name of the notification trigger.withTriggerTargetArn
(String triggerTargetArn) The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
-
Constructor Details
-
TriggerConfig
public TriggerConfig()
-
-
Method Details
-
setTriggerName
The name of the notification trigger.
- Parameters:
triggerName
- The name of the notification trigger.
-
getTriggerName
The name of the notification trigger.
- Returns:
- The name of the notification trigger.
-
withTriggerName
The name of the notification trigger.
- Parameters:
triggerName
- The name of the notification trigger.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setTriggerTargetArn
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
- Parameters:
triggerTargetArn
- The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
-
getTriggerTargetArn
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
- Returns:
- The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
-
withTriggerTargetArn
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
- Parameters:
triggerTargetArn
- The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getTriggerEvents
The event type or types for which notifications are triggered.
The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- Returns:
- The event type or types for which notifications are
triggered.
The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- See Also:
-
setTriggerEvents
The event type or types for which notifications are triggered.
The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- Parameters:
triggerEvents
- The event type or types for which notifications are triggered.The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- See Also:
-
withTriggerEvents
The event type or types for which notifications are triggered.
The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
NOTE: This method appends the values to the existing list (if any). Use
setTriggerEvents(java.util.Collection)
orwithTriggerEvents(java.util.Collection)
if you want to override the existing values.- Parameters:
triggerEvents
- The event type or types for which notifications are triggered.The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withTriggerEvents
The event type or types for which notifications are triggered.
The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- Parameters:
triggerEvents
- The event type or types for which notifications are triggered.The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
withTriggerEvents
The event type or types for which notifications are triggered.
The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- Parameters:
triggerEvents
- The event type or types for which notifications are triggered.The following event type values are supported:
- DEPLOYMENT_START
- DEPLOYMENT_SUCCESS
- DEPLOYMENT_FAILURE
- DEPLOYMENT_STOP
- INSTANCE_START
- INSTANCE_SUCCESS
- INSTANCE_FAILURE
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-