@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TriggerConfig extends Object implements Serializable, Cloneable, StructuredPojo
Information about notification triggers for the deployment group.
| Constructor and Description | 
|---|
| TriggerConfig() | 
| Modifier and Type | Method and Description | 
|---|---|
| TriggerConfig | clone() | 
| boolean | equals(Object obj) | 
| List<String> | getTriggerEvents()
 The event type or types for which notifications are triggered. | 
| String | getTriggerName()
 The name of the notification trigger. | 
| String | getTriggerTargetArn()
 The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about
 deployment or instance events are sent. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| 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 Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about
 deployment or instance events are sent. | 
| String | toString()Returns a string representation of this object. | 
| TriggerConfig | withTriggerEvents(Collection<String> triggerEvents)
 The event type or types for which notifications are triggered. | 
| TriggerConfig | withTriggerEvents(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(String triggerName)
 The name of the notification trigger. | 
| TriggerConfig | withTriggerTargetArn(String triggerTargetArn)
 The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about
 deployment or instance events are sent. | 
public void setTriggerName(String triggerName)
The name of the notification trigger.
triggerName - The name of the notification trigger.public String getTriggerName()
The name of the notification trigger.
public TriggerConfig withTriggerName(String triggerName)
The name of the notification trigger.
triggerName - The name of the notification trigger.public void setTriggerTargetArn(String triggerTargetArn)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
triggerTargetArn - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications
        about deployment or instance events are sent.public String getTriggerTargetArn()
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
public TriggerConfig withTriggerTargetArn(String triggerTargetArn)
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
triggerTargetArn - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service topic through which notifications
        about deployment or instance events are sent.public List<String> getTriggerEvents()
The event type or types for which notifications are triggered.
TriggerEventTypepublic void setTriggerEvents(Collection<String> triggerEvents)
The event type or types for which notifications are triggered.
triggerEvents - The event type or types for which notifications are triggered.TriggerEventTypepublic TriggerConfig withTriggerEvents(String... triggerEvents)
The event type or types for which notifications are triggered.
 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.TriggerEventTypepublic TriggerConfig withTriggerEvents(Collection<String> triggerEvents)
The event type or types for which notifications are triggered.
triggerEvents - The event type or types for which notifications are triggered.TriggerEventTypepublic TriggerConfig withTriggerEvents(TriggerEventType... triggerEvents)
The event type or types for which notifications are triggered.
triggerEvents - The event type or types for which notifications are triggered.TriggerEventTypepublic String toString()
toString in class ObjectObject.toString()public TriggerConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.