@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 that you define.
|
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 that you define.
|
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 that you define.
|
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. It can be OnDemand, Scheduled, or Event.
triggerType
- Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.TriggerType
public String getTriggerType()
Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
TriggerType
public TriggerConfig withTriggerType(String triggerType)
Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
triggerType
- Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.TriggerType
public TriggerConfig withTriggerType(TriggerType triggerType)
Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.
triggerType
- Specifies the type of flow trigger. It can be OnDemand, Scheduled, or Event.TriggerType
public void setTriggerProperties(TriggerProperties triggerProperties)
Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
triggerProperties
- Specifies the configuration details of a schedule-triggered flow that you define. Currently, these
settings only apply to the Scheduled trigger type.public TriggerProperties getTriggerProperties()
Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
public TriggerConfig withTriggerProperties(TriggerProperties triggerProperties)
Specifies the configuration details of a schedule-triggered flow that you define. Currently, these settings only apply to the Scheduled trigger type.
triggerProperties
- Specifies the configuration details of a schedule-triggered flow that you define. Currently, these
settings only apply to the Scheduled trigger type.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.