@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The configurations that control how Customer Profiles retrieves data from the source, Amazon AppFlow. Customer Profiles uses this information to create an AppFlow flow on behalf of customers.
Constructor and Description |
---|
FlowDefinition() |
Modifier and Type | Method and Description |
---|---|
FlowDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the flow you want to create.
|
String |
getFlowName()
The specified name of the flow.
|
String |
getKmsArn()
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
|
SourceFlowConfig |
getSourceFlowConfig()
The configuration that controls how Customer Profiles retrieves data from the source.
|
List<Task> |
getTasks()
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
|
TriggerConfig |
getTriggerConfig()
The trigger settings that determine how and when the flow runs.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description of the flow you want to create.
|
void |
setFlowName(String flowName)
The specified name of the flow.
|
void |
setKmsArn(String kmsArn)
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
|
void |
setSourceFlowConfig(SourceFlowConfig sourceFlowConfig)
The configuration that controls how Customer Profiles retrieves data from the source.
|
void |
setTasks(Collection<Task> tasks)
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
|
void |
setTriggerConfig(TriggerConfig triggerConfig)
The trigger settings that determine how and when the flow runs.
|
String |
toString()
Returns a string representation of this object.
|
FlowDefinition |
withDescription(String description)
A description of the flow you want to create.
|
FlowDefinition |
withFlowName(String flowName)
The specified name of the flow.
|
FlowDefinition |
withKmsArn(String kmsArn)
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
|
FlowDefinition |
withSourceFlowConfig(SourceFlowConfig sourceFlowConfig)
The configuration that controls how Customer Profiles retrieves data from the source.
|
FlowDefinition |
withTasks(Collection<Task> tasks)
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
|
FlowDefinition |
withTasks(Task... tasks)
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
|
FlowDefinition |
withTriggerConfig(TriggerConfig triggerConfig)
The trigger settings that determine how and when the flow runs.
|
public void setDescription(String description)
A description of the flow you want to create.
description
- A description of the flow you want to create.public String getDescription()
A description of the flow you want to create.
public FlowDefinition withDescription(String description)
A description of the flow you want to create.
description
- A description of the flow you want to create.public void setFlowName(String flowName)
The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
flowName
- The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.public String getFlowName()
The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
public FlowDefinition withFlowName(String flowName)
The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.
flowName
- The specified name of the flow. Use underscores (_) or hyphens (-) only. Spaces are not allowed.public void setKmsArn(String kmsArn)
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
kmsArn
- The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.public String getKmsArn()
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
public FlowDefinition withKmsArn(String kmsArn)
The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.
kmsArn
- The Amazon Resource Name of the AWS Key Management Service (KMS) key you provide for encryption.public void setSourceFlowConfig(SourceFlowConfig sourceFlowConfig)
The configuration that controls how Customer Profiles retrieves data from the source.
sourceFlowConfig
- The configuration that controls how Customer Profiles retrieves data from the source.public SourceFlowConfig getSourceFlowConfig()
The configuration that controls how Customer Profiles retrieves data from the source.
public FlowDefinition withSourceFlowConfig(SourceFlowConfig sourceFlowConfig)
The configuration that controls how Customer Profiles retrieves data from the source.
sourceFlowConfig
- The configuration that controls how Customer Profiles retrieves data from the source.public List<Task> getTasks()
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
public void setTasks(Collection<Task> tasks)
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
tasks
- A list of tasks that Customer Profiles performs while transferring the data in the flow run.public FlowDefinition withTasks(Task... tasks)
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
NOTE: This method appends the values to the existing list (if any). Use
setTasks(java.util.Collection)
or withTasks(java.util.Collection)
if you want to override the
existing values.
tasks
- A list of tasks that Customer Profiles performs while transferring the data in the flow run.public FlowDefinition withTasks(Collection<Task> tasks)
A list of tasks that Customer Profiles performs while transferring the data in the flow run.
tasks
- A list of tasks that Customer Profiles performs while transferring the data in the flow run.public void setTriggerConfig(TriggerConfig triggerConfig)
The trigger settings that determine how and when the flow runs.
triggerConfig
- The trigger settings that determine how and when the flow runs.public TriggerConfig getTriggerConfig()
The trigger settings that determine how and when the flow runs.
public FlowDefinition withTriggerConfig(TriggerConfig triggerConfig)
The trigger settings that determine how and when the flow runs.
triggerConfig
- The trigger settings that determine how and when the flow runs.public String toString()
toString
in class Object
Object.toString()
public FlowDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.