@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 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 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; useful for testing and debugging.
|
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 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 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 String getTriggerTargetArn()
The ARN of the Amazon Simple Notification Service topic through which notifications about deployment or instance events are sent.
public TriggerConfig withTriggerTargetArn(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 List<String> getTriggerEvents()
The event type or types for which notifications are triggered.
TriggerEventType
public 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.TriggerEventType
public 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.TriggerEventType
public 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.TriggerEventType
public 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.TriggerEventType
public String toString()
toString
in class Object
Object.toString()
public TriggerConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.