@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TriggerConfig extends Object implements Serializable, Cloneable, StructuredPojo
The trigger settings that determine how and when Amazon AppFlow runs the specified flow.
| Constructor and Description |
|---|
TriggerConfig() |
| Modifier and Type | Method and Description |
|---|---|
TriggerConfig |
clone() |
boolean |
equals(Object obj) |
TriggerProperties |
getTriggerProperties()
Specifies the configuration details of a schedule-triggered flow as defined by the user.
|
String |
getTriggerType()
Specifies the type of flow trigger.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTriggerProperties(TriggerProperties triggerProperties)
Specifies the configuration details of a schedule-triggered flow as defined by the user.
|
void |
setTriggerType(String triggerType)
Specifies the type of flow trigger.
|
String |
toString()
Returns a string representation of this object.
|
TriggerConfig |
withTriggerProperties(TriggerProperties triggerProperties)
Specifies the configuration details of a schedule-triggered flow as defined by the user.
|
TriggerConfig |
withTriggerType(String triggerType)
Specifies the type of flow trigger.
|
TriggerConfig |
withTriggerType(TriggerType triggerType)
Specifies the type of flow trigger.
|
public void setTriggerType(String triggerType)
Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.
triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.TriggerTypepublic String getTriggerType()
Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.
OnDemand, Scheduled, or
Event.TriggerTypepublic TriggerConfig withTriggerType(String triggerType)
Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.
triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.TriggerTypepublic TriggerConfig withTriggerType(TriggerType triggerType)
Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.
triggerType - Specifies the type of flow trigger. This can be OnDemand, Scheduled, or
Event.TriggerTypepublic void setTriggerProperties(TriggerProperties triggerProperties)
Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these
settings only apply to the Scheduled trigger type.
triggerProperties - Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these
settings only apply to the Scheduled trigger type.public TriggerProperties getTriggerProperties()
Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these
settings only apply to the Scheduled trigger type.
Scheduled trigger type.public TriggerConfig withTriggerProperties(TriggerProperties triggerProperties)
Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these
settings only apply to the Scheduled trigger type.
triggerProperties - Specifies the configuration details of a schedule-triggered flow as defined by the user. Currently, these
settings only apply to the Scheduled trigger type.public 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.