@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
.TriggerType
public String getTriggerType()
Specifies the type of flow trigger. This can be OnDemand
, Scheduled
, or
Event
.
OnDemand
, Scheduled
, or
Event
.TriggerType
public 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
.TriggerType
public 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
.TriggerType
public 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 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.