public FlowDefinition withTriggerConfig(TriggerConfig triggerConfig) {
        setTriggerConfig(triggerConfig);
        return this;
    }
<p>
The trigger settings that determine how and when the flow runs.
</p>

@param triggerConfig
       The trigger settings that determine how and when the flow runs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-customerprofiles/src/main/java/com/amazonaws/services/customerprofiles/model/FlowDefinition.java