public class TriggerConfig
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about notification triggers for the deployment group.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<java.lang.String> |
triggerEvents
The event type or types for which notifications are triggered.
|
private java.lang.String |
triggerName
The name of the notification trigger.
|
private java.lang.String |
triggerTargetArn
The ARN of the Amazon Simple Notification Service topic through which
notifications about deployment or instance events are sent.
|
Constructor and Description |
---|
TriggerConfig() |
Modifier and Type | Method and Description |
---|---|
TriggerConfig |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getTriggerEvents()
The event type or types for which notifications are triggered.
|
java.lang.String |
getTriggerName()
The name of the notification trigger.
|
java.lang.String |
getTriggerTargetArn()
The ARN of the Amazon Simple Notification Service topic through which
notifications about deployment or instance events are sent.
|
int |
hashCode() |
void |
setTriggerEvents(java.util.Collection<java.lang.String> triggerEvents)
The event type or types for which notifications are triggered.
|
void |
setTriggerName(java.lang.String triggerName)
The name of the notification trigger.
|
void |
setTriggerTargetArn(java.lang.String triggerTargetArn)
The ARN of the Amazon Simple Notification Service topic through which
notifications about deployment or instance events are sent.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TriggerConfig |
withTriggerEvents(java.util.Collection<java.lang.String> triggerEvents)
The event type or types for which notifications are triggered.
|
TriggerConfig |
withTriggerEvents(java.lang.String... triggerEvents)
The event type or types for which notifications are triggered.
|
TriggerConfig |
withTriggerEvents(TriggerEventType... triggerEvents)
The event type or types for which notifications are triggered.
|
TriggerConfig |
withTriggerName(java.lang.String triggerName)
The name of the notification trigger.
|
TriggerConfig |
withTriggerTargetArn(java.lang.String triggerTargetArn)
The ARN of the Amazon Simple Notification Service topic through which
notifications about deployment or instance events are sent.
|
private java.lang.String triggerName
The name of the notification trigger.
private java.lang.String triggerTargetArn
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
private SdkInternalList<java.lang.String> triggerEvents
The event type or types for which notifications are triggered.
The following event type values are supported:
public void setTriggerName(java.lang.String triggerName)
The name of the notification trigger.
triggerName
- The name of the notification trigger.public java.lang.String getTriggerName()
The name of the notification trigger.
public TriggerConfig withTriggerName(java.lang.String triggerName)
The name of the notification trigger.
triggerName
- The name of the notification trigger.public void setTriggerTargetArn(java.lang.String triggerTargetArn)
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
triggerTargetArn
- The ARN of the Amazon Simple Notification Service topic through
which notifications about deployment or instance events are sent.public java.lang.String getTriggerTargetArn()
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
public TriggerConfig withTriggerTargetArn(java.lang.String triggerTargetArn)
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
triggerTargetArn
- The ARN of the Amazon Simple Notification Service topic through
which notifications about deployment or instance events are sent.public java.util.List<java.lang.String> getTriggerEvents()
The event type or types for which notifications are triggered.
The following event type values are supported:
The following event type values are supported:
TriggerEventType
public void setTriggerEvents(java.util.Collection<java.lang.String> triggerEvents)
The event type or types for which notifications are triggered.
The following event type values are supported:
triggerEvents
- The event type or types for which notifications are triggered.
The following event type values are supported:
TriggerEventType
public TriggerConfig withTriggerEvents(java.lang.String... triggerEvents)
The event type or types for which notifications are triggered.
The following event type values are supported:
NOTE: This method appends the values to the existing list (if
any). Use setTriggerEvents(java.util.Collection)
or
withTriggerEvents(java.util.Collection)
if you want to override
the existing values.
triggerEvents
- The event type or types for which notifications are triggered.
The following event type values are supported:
TriggerEventType
public TriggerConfig withTriggerEvents(java.util.Collection<java.lang.String> triggerEvents)
The event type or types for which notifications are triggered.
The following event type values are supported:
triggerEvents
- The event type or types for which notifications are triggered.
The following event type values are supported:
TriggerEventType
public TriggerConfig withTriggerEvents(TriggerEventType... triggerEvents)
The event type or types for which notifications are triggered.
The following event type values are supported:
triggerEvents
- The event type or types for which notifications are triggered.
The following event type values are supported:
TriggerEventType
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public TriggerConfig clone()
clone
in class java.lang.Object