@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FlowDefinition extends Object implements Serializable, Cloneable, StructuredPojo
The properties of the flow, such as its source, destination, trigger type, and so on.
Constructor and Description |
---|
FlowDefinition() |
Modifier and Type | Method and Description |
---|---|
FlowDefinition |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
FlowDefinition |
clearTagsEntries()
Removes all the entries added into Tags.
|
FlowDefinition |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
Specifies when the flow was created.
|
String |
getCreatedBy()
The ARN of the user who created the flow.
|
String |
getDescription()
A user-entered description of the flow.
|
String |
getDestinationConnectorType()
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
String |
getFlowArn()
The flow's Amazon Resource Name (ARN).
|
String |
getFlowName()
The specified name of the flow.
|
String |
getFlowStatus()
Indicates the current status of the flow.
|
ExecutionDetails |
getLastRunExecutionDetails()
Describes the details of the most recent flow run.
|
Date |
getLastUpdatedAt()
Specifies when the flow was last updated.
|
String |
getLastUpdatedBy()
Specifies the account user name that most recently updated the flow.
|
String |
getSourceConnectorType()
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for your flow.
|
String |
getTriggerType()
Specifies the type of flow trigger.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
Specifies when the flow was created.
|
void |
setCreatedBy(String createdBy)
The ARN of the user who created the flow.
|
void |
setDescription(String description)
A user-entered description of the flow.
|
void |
setDestinationConnectorType(String destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
void |
setFlowArn(String flowArn)
The flow's Amazon Resource Name (ARN).
|
void |
setFlowName(String flowName)
The specified name of the flow.
|
void |
setFlowStatus(String flowStatus)
Indicates the current status of the flow.
|
void |
setLastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)
Describes the details of the most recent flow run.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
Specifies when the flow was last updated.
|
void |
setLastUpdatedBy(String lastUpdatedBy)
Specifies the account user name that most recently updated the flow.
|
void |
setSourceConnectorType(String sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for your flow.
|
void |
setTriggerType(String triggerType)
Specifies the type of flow trigger.
|
String |
toString()
Returns a string representation of this object.
|
FlowDefinition |
withCreatedAt(Date createdAt)
Specifies when the flow was created.
|
FlowDefinition |
withCreatedBy(String createdBy)
The ARN of the user who created the flow.
|
FlowDefinition |
withDescription(String description)
A user-entered description of the flow.
|
FlowDefinition |
withDestinationConnectorType(ConnectorType destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
FlowDefinition |
withDestinationConnectorType(String destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
FlowDefinition |
withFlowArn(String flowArn)
The flow's Amazon Resource Name (ARN).
|
FlowDefinition |
withFlowName(String flowName)
The specified name of the flow.
|
FlowDefinition |
withFlowStatus(FlowStatus flowStatus)
Indicates the current status of the flow.
|
FlowDefinition |
withFlowStatus(String flowStatus)
Indicates the current status of the flow.
|
FlowDefinition |
withLastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)
Describes the details of the most recent flow run.
|
FlowDefinition |
withLastUpdatedAt(Date lastUpdatedAt)
Specifies when the flow was last updated.
|
FlowDefinition |
withLastUpdatedBy(String lastUpdatedBy)
Specifies the account user name that most recently updated the flow.
|
FlowDefinition |
withSourceConnectorType(ConnectorType sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
FlowDefinition |
withSourceConnectorType(String sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
|
FlowDefinition |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for your flow.
|
FlowDefinition |
withTriggerType(String triggerType)
Specifies the type of flow trigger.
|
FlowDefinition |
withTriggerType(TriggerType triggerType)
Specifies the type of flow trigger.
|
public void setFlowArn(String flowArn)
The flow's Amazon Resource Name (ARN).
flowArn
- The flow's Amazon Resource Name (ARN).public String getFlowArn()
The flow's Amazon Resource Name (ARN).
public FlowDefinition withFlowArn(String flowArn)
The flow's Amazon Resource Name (ARN).
flowArn
- The flow's Amazon Resource Name (ARN).public void setDescription(String description)
A user-entered description of the flow.
description
- A user-entered description of the flow.public String getDescription()
A user-entered description of the flow.
public FlowDefinition withDescription(String description)
A user-entered description of the flow.
description
- A user-entered description of the flow.public void setFlowName(String flowName)
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
flowName
- The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.public String getFlowName()
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
public FlowDefinition withFlowName(String flowName)
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
flowName
- The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.public void setFlowStatus(String flowStatus)
Indicates the current status of the flow.
flowStatus
- Indicates the current status of the flow.FlowStatus
public String getFlowStatus()
Indicates the current status of the flow.
FlowStatus
public FlowDefinition withFlowStatus(String flowStatus)
Indicates the current status of the flow.
flowStatus
- Indicates the current status of the flow.FlowStatus
public FlowDefinition withFlowStatus(FlowStatus flowStatus)
Indicates the current status of the flow.
flowStatus
- Indicates the current status of the flow.FlowStatus
public void setSourceConnectorType(String sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourceConnectorType
- Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType
public String getSourceConnectorType()
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
ConnectorType
public FlowDefinition withSourceConnectorType(String sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourceConnectorType
- Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType
public FlowDefinition withSourceConnectorType(ConnectorType sourceConnectorType)
Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
sourceConnectorType
- Specifies the source connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType
public void setDestinationConnectorType(String destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
destinationConnectorType
- Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType
public String getDestinationConnectorType()
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
ConnectorType
public FlowDefinition withDestinationConnectorType(String destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
destinationConnectorType
- Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType
public FlowDefinition withDestinationConnectorType(ConnectorType destinationConnectorType)
Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.
destinationConnectorType
- Specifies the destination connector type, such as Salesforce, Amazon S3, Amplitude, and so on.ConnectorType
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 FlowDefinition 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 FlowDefinition 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 setCreatedAt(Date createdAt)
Specifies when the flow was created.
createdAt
- Specifies when the flow was created.public Date getCreatedAt()
Specifies when the flow was created.
public FlowDefinition withCreatedAt(Date createdAt)
Specifies when the flow was created.
createdAt
- Specifies when the flow was created.public void setLastUpdatedAt(Date lastUpdatedAt)
Specifies when the flow was last updated.
lastUpdatedAt
- Specifies when the flow was last updated.public Date getLastUpdatedAt()
Specifies when the flow was last updated.
public FlowDefinition withLastUpdatedAt(Date lastUpdatedAt)
Specifies when the flow was last updated.
lastUpdatedAt
- Specifies when the flow was last updated.public void setCreatedBy(String createdBy)
The ARN of the user who created the flow.
createdBy
- The ARN of the user who created the flow.public String getCreatedBy()
The ARN of the user who created the flow.
public FlowDefinition withCreatedBy(String createdBy)
The ARN of the user who created the flow.
createdBy
- The ARN of the user who created the flow.public void setLastUpdatedBy(String lastUpdatedBy)
Specifies the account user name that most recently updated the flow.
lastUpdatedBy
- Specifies the account user name that most recently updated the flow.public String getLastUpdatedBy()
Specifies the account user name that most recently updated the flow.
public FlowDefinition withLastUpdatedBy(String lastUpdatedBy)
Specifies the account user name that most recently updated the flow.
lastUpdatedBy
- Specifies the account user name that most recently updated the flow.public Map<String,String> getTags()
The tags used to organize, track, or control access for your flow.
public void setTags(Map<String,String> tags)
The tags used to organize, track, or control access for your flow.
tags
- The tags used to organize, track, or control access for your flow.public FlowDefinition withTags(Map<String,String> tags)
The tags used to organize, track, or control access for your flow.
tags
- The tags used to organize, track, or control access for your flow.public FlowDefinition addTagsEntry(String key, String value)
public FlowDefinition clearTagsEntries()
public void setLastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)
Describes the details of the most recent flow run.
lastRunExecutionDetails
- Describes the details of the most recent flow run.public ExecutionDetails getLastRunExecutionDetails()
Describes the details of the most recent flow run.
public FlowDefinition withLastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)
Describes the details of the most recent flow run.
lastRunExecutionDetails
- Describes the details of the most recent flow run.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.