* Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the
* associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
*
*/
private MetadataCatalogConfig metadataCatalogConfig;
/**
*
* Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated
* flow run.
*
*/
private java.util.List lastRunMetadataCatalogDetails;
/**
*
* The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases
* by one when you change any of the following settings in your flow configuration:
*
*
*/
private Long schemaVersion;
/**
*
* The flow's Amazon Resource Name (ARN).
*
*
* @param flowArn
* The flow's Amazon Resource Name (ARN).
*/
public void setFlowArn(String flowArn) {
this.flowArn = flowArn;
}
/**
*
* The flow's Amazon Resource Name (ARN).
*
*
* @return The flow's Amazon Resource Name (ARN).
*/
public String getFlowArn() {
return this.flowArn;
}
/**
*
* The flow's Amazon Resource Name (ARN).
*
*
* @param flowArn
* The flow's Amazon Resource Name (ARN).
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withFlowArn(String flowArn) {
setFlowArn(flowArn);
return this;
}
/**
*
* A description of the flow.
*
*
* @param description
* A description of the flow.
*/
public void setDescription(String description) {
this.description = description;
}
/**
*
* A description of the flow.
*
*
* @return A description of the flow.
*/
public String getDescription() {
return this.description;
}
/**
*
* A description of the flow.
*
*
* @param description
* A description of the flow.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withDescription(String description) {
setDescription(description);
return this;
}
/**
*
* The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
*
*
* @param flowName
* The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
*/
public void setFlowName(String flowName) {
this.flowName = flowName;
}
/**
*
* The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
*
*
* @return The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
*/
public String getFlowName() {
return this.flowName;
}
/**
*
* The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
*
*
* @param flowName
* The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withFlowName(String flowName) {
setFlowName(flowName);
return this;
}
/**
*
* The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is
* required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon
* AppFlow uses the Amazon AppFlow-managed KMS key.
*
*
* @param kmsArn
* The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is
* required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here,
* Amazon AppFlow uses the Amazon AppFlow-managed KMS key.
*/
public void setKmsArn(String kmsArn) {
this.kmsArn = kmsArn;
}
/**
*
* The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is
* required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon
* AppFlow uses the Amazon AppFlow-managed KMS key.
*
*
* @return The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This
* is required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything
* here, Amazon AppFlow uses the Amazon AppFlow-managed KMS key.
*/
public String getKmsArn() {
return this.kmsArn;
}
/**
*
* The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is
* required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here, Amazon
* AppFlow uses the Amazon AppFlow-managed KMS key.
*
*
* @param kmsArn
* The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption. This is
* required if you do not want to use the Amazon AppFlow-managed KMS key. If you don't provide anything here,
* Amazon AppFlow uses the Amazon AppFlow-managed KMS key.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withKmsArn(String kmsArn) {
setKmsArn(kmsArn);
return this;
}
/**
*
* Indicates the current status of the flow.
*
*
* @param flowStatus
* Indicates the current status of the flow.
* @see FlowStatus
*/
public void setFlowStatus(String flowStatus) {
this.flowStatus = flowStatus;
}
/**
*
* Indicates the current status of the flow.
*
*
* @return Indicates the current status of the flow.
* @see FlowStatus
*/
public String getFlowStatus() {
return this.flowStatus;
}
/**
*
* Indicates the current status of the flow.
*
*
* @param flowStatus
* Indicates the current status of the flow.
* @return Returns a reference to this object so that method calls can be chained together.
* @see FlowStatus
*/
public DescribeFlowResult withFlowStatus(String flowStatus) {
setFlowStatus(flowStatus);
return this;
}
/**
*
* Indicates the current status of the flow.
*
*
* @param flowStatus
* Indicates the current status of the flow.
* @return Returns a reference to this object so that method calls can be chained together.
* @see FlowStatus
*/
public DescribeFlowResult withFlowStatus(FlowStatus flowStatus) {
this.flowStatus = flowStatus.toString();
return this;
}
/**
*
* Contains an error message if the flow status is in a suspended or error state. This applies only to scheduled or
* event-triggered flows.
*
*
* @param flowStatusMessage
* Contains an error message if the flow status is in a suspended or error state. This applies only to
* scheduled or event-triggered flows.
*/
public void setFlowStatusMessage(String flowStatusMessage) {
this.flowStatusMessage = flowStatusMessage;
}
/**
*
* Contains an error message if the flow status is in a suspended or error state. This applies only to scheduled or
* event-triggered flows.
*
*
* @return Contains an error message if the flow status is in a suspended or error state. This applies only to
* scheduled or event-triggered flows.
*/
public String getFlowStatusMessage() {
return this.flowStatusMessage;
}
/**
*
* Contains an error message if the flow status is in a suspended or error state. This applies only to scheduled or
* event-triggered flows.
*
*
* @param flowStatusMessage
* Contains an error message if the flow status is in a suspended or error state. This applies only to
* scheduled or event-triggered flows.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withFlowStatusMessage(String flowStatusMessage) {
setFlowStatusMessage(flowStatusMessage);
return this;
}
/**
*
* The configuration that controls how Amazon AppFlow retrieves data from the source connector.
*
*
* @param sourceFlowConfig
* The configuration that controls how Amazon AppFlow retrieves data from the source connector.
*/
public void setSourceFlowConfig(SourceFlowConfig sourceFlowConfig) {
this.sourceFlowConfig = sourceFlowConfig;
}
/**
*
* The configuration that controls how Amazon AppFlow retrieves data from the source connector.
*
*
* @return The configuration that controls how Amazon AppFlow retrieves data from the source connector.
*/
public SourceFlowConfig getSourceFlowConfig() {
return this.sourceFlowConfig;
}
/**
*
* The configuration that controls how Amazon AppFlow retrieves data from the source connector.
*
*
* @param sourceFlowConfig
* The configuration that controls how Amazon AppFlow retrieves data from the source connector.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withSourceFlowConfig(SourceFlowConfig sourceFlowConfig) {
setSourceFlowConfig(sourceFlowConfig);
return this;
}
/**
*
* The configuration that controls how Amazon AppFlow transfers data to the destination connector.
*
*
* @return The configuration that controls how Amazon AppFlow transfers data to the destination connector.
*/
public java.util.List getDestinationFlowConfigList() {
return destinationFlowConfigList;
}
/**
*
* The configuration that controls how Amazon AppFlow transfers data to the destination connector.
*
*
* @param destinationFlowConfigList
* The configuration that controls how Amazon AppFlow transfers data to the destination connector.
*/
public void setDestinationFlowConfigList(java.util.Collection destinationFlowConfigList) {
if (destinationFlowConfigList == null) {
this.destinationFlowConfigList = null;
return;
}
this.destinationFlowConfigList = new java.util.ArrayList(destinationFlowConfigList);
}
/**
*
* The configuration that controls how Amazon AppFlow transfers data to the destination connector.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setDestinationFlowConfigList(java.util.Collection)} or
* {@link #withDestinationFlowConfigList(java.util.Collection)} if you want to override the existing values.
*
*
* @param destinationFlowConfigList
* The configuration that controls how Amazon AppFlow transfers data to the destination connector.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withDestinationFlowConfigList(DestinationFlowConfig... destinationFlowConfigList) {
if (this.destinationFlowConfigList == null) {
setDestinationFlowConfigList(new java.util.ArrayList(destinationFlowConfigList.length));
}
for (DestinationFlowConfig ele : destinationFlowConfigList) {
this.destinationFlowConfigList.add(ele);
}
return this;
}
/**
*
* The configuration that controls how Amazon AppFlow transfers data to the destination connector.
*
*
* @param destinationFlowConfigList
* The configuration that controls how Amazon AppFlow transfers data to the destination connector.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withDestinationFlowConfigList(java.util.Collection destinationFlowConfigList) {
setDestinationFlowConfigList(destinationFlowConfigList);
return this;
}
/**
*
* Describes the details of the most recent flow run.
*
*
* @param lastRunExecutionDetails
* Describes the details of the most recent flow run.
*/
public void setLastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails) {
this.lastRunExecutionDetails = lastRunExecutionDetails;
}
/**
*
* Describes the details of the most recent flow run.
*
*
* @return Describes the details of the most recent flow run.
*/
public ExecutionDetails getLastRunExecutionDetails() {
return this.lastRunExecutionDetails;
}
/**
*
* Describes the details of the most recent flow run.
*
*
* @param lastRunExecutionDetails
* Describes the details of the most recent flow run.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withLastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails) {
setLastRunExecutionDetails(lastRunExecutionDetails);
return this;
}
/**
*
* The trigger settings that determine how and when the flow runs.
*
*
* @param triggerConfig
* The trigger settings that determine how and when the flow runs.
*/
public void setTriggerConfig(TriggerConfig triggerConfig) {
this.triggerConfig = triggerConfig;
}
/**
*
* The trigger settings that determine how and when the flow runs.
*
*
* @return The trigger settings that determine how and when the flow runs.
*/
public TriggerConfig getTriggerConfig() {
return this.triggerConfig;
}
/**
*
* The trigger settings that determine how and when the flow runs.
*
*
* @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.
*/
public DescribeFlowResult withTriggerConfig(TriggerConfig triggerConfig) {
setTriggerConfig(triggerConfig);
return this;
}
/**
*
* A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
*
*
* @return A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
*/
public java.util.List getTasks() {
return tasks;
}
/**
*
* A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
*
*
* @param tasks
* A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
*/
public void setTasks(java.util.Collection tasks) {
if (tasks == null) {
this.tasks = null;
return;
}
this.tasks = new java.util.ArrayList(tasks);
}
/**
*
* A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setTasks(java.util.Collection)} or {@link #withTasks(java.util.Collection)} if you want to override the
* existing values.
*
*
* @param tasks
* A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withTasks(Task... tasks) {
if (this.tasks == null) {
setTasks(new java.util.ArrayList(tasks.length));
}
for (Task ele : tasks) {
this.tasks.add(ele);
}
return this;
}
/**
*
* A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
*
*
* @param tasks
* A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withTasks(java.util.Collection tasks) {
setTasks(tasks);
return this;
}
/**
*
* Specifies when the flow was created.
*
*
* @param createdAt
* Specifies when the flow was created.
*/
public void setCreatedAt(java.util.Date createdAt) {
this.createdAt = createdAt;
}
/**
*
* Specifies when the flow was created.
*
*
* @return Specifies when the flow was created.
*/
public java.util.Date getCreatedAt() {
return this.createdAt;
}
/**
*
* Specifies when the flow was created.
*
*
* @param createdAt
* Specifies when the flow was created.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withCreatedAt(java.util.Date createdAt) {
setCreatedAt(createdAt);
return this;
}
/**
*
* Specifies when the flow was last updated.
*
*
* @param lastUpdatedAt
* Specifies when the flow was last updated.
*/
public void setLastUpdatedAt(java.util.Date lastUpdatedAt) {
this.lastUpdatedAt = lastUpdatedAt;
}
/**
*
* Specifies when the flow was last updated.
*
*
* @return Specifies when the flow was last updated.
*/
public java.util.Date getLastUpdatedAt() {
return this.lastUpdatedAt;
}
/**
*
* Specifies when the flow was last updated.
*
*
* @param lastUpdatedAt
* Specifies when the flow was last updated.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withLastUpdatedAt(java.util.Date lastUpdatedAt) {
setLastUpdatedAt(lastUpdatedAt);
return this;
}
/**
*
* The ARN of the user who created the flow.
*
*
* @param createdBy
* The ARN of the user who created the flow.
*/
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
/**
*
* The ARN of the user who created the flow.
*
*
* @return The ARN of the user who created the flow.
*/
public String getCreatedBy() {
return this.createdBy;
}
/**
*
* The ARN of the user who created the flow.
*
*
* @param createdBy
* The ARN of the user who created the flow.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withCreatedBy(String createdBy) {
setCreatedBy(createdBy);
return this;
}
/**
*
* Specifies the user name of the account that performed the most recent update.
*
*
* @param lastUpdatedBy
* Specifies the user name of the account that performed the most recent update.
*/
public void setLastUpdatedBy(String lastUpdatedBy) {
this.lastUpdatedBy = lastUpdatedBy;
}
/**
*
* Specifies the user name of the account that performed the most recent update.
*
*
* @return Specifies the user name of the account that performed the most recent update.
*/
public String getLastUpdatedBy() {
return this.lastUpdatedBy;
}
/**
*
* Specifies the user name of the account that performed the most recent update.
*
*
* @param lastUpdatedBy
* Specifies the user name of the account that performed the most recent update.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withLastUpdatedBy(String lastUpdatedBy) {
setLastUpdatedBy(lastUpdatedBy);
return this;
}
/**
*
* The tags used to organize, track, or control access for your flow.
*
*
* @return The tags used to organize, track, or control access for your flow.
*/
public java.util.Map getTags() {
return tags;
}
/**
*
* The tags used to organize, track, or control access for your flow.
*
*
* @param tags
* The tags used to organize, track, or control access for your flow.
*/
public void setTags(java.util.Map tags) {
this.tags = tags;
}
/**
*
* The tags used to organize, track, or control access for your flow.
*
*
* @param tags
* The tags used to organize, track, or control access for your flow.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withTags(java.util.Map tags) {
setTags(tags);
return this;
}
/**
* Add a single Tags entry
*
* @see DescribeFlowResult#withTags
* @returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult addTagsEntry(String key, String value) {
if (null == this.tags) {
this.tags = new java.util.HashMap();
}
if (this.tags.containsKey(key))
throw new IllegalArgumentException("Duplicated keys (" + key.toString() + ") are provided.");
this.tags.put(key, value);
return this;
}
/**
* Removes all the entries added into Tags.
*
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult clearTagsEntries() {
this.tags = null;
return this;
}
/**
*
* Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the
* associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
*
*
* @param metadataCatalogConfig
* Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the
* associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
*/
public void setMetadataCatalogConfig(MetadataCatalogConfig metadataCatalogConfig) {
this.metadataCatalogConfig = metadataCatalogConfig;
}
/**
*
* Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the
* associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
*
*
* @return Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the
* associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
*/
public MetadataCatalogConfig getMetadataCatalogConfig() {
return this.metadataCatalogConfig;
}
/**
*
* Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the
* associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
*
*
* @param metadataCatalogConfig
* Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the
* associated flow. When Amazon AppFlow catalogs the data from a flow, it stores metadata in a data catalog.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withMetadataCatalogConfig(MetadataCatalogConfig metadataCatalogConfig) {
setMetadataCatalogConfig(metadataCatalogConfig);
return this;
}
/**
*
* Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated
* flow run.
*
*
* @return Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the
* associated flow run.
*/
public java.util.List getLastRunMetadataCatalogDetails() {
return lastRunMetadataCatalogDetails;
}
/**
*
* Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated
* flow run.
*
*
* @param lastRunMetadataCatalogDetails
* Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the
* associated flow run.
*/
public void setLastRunMetadataCatalogDetails(java.util.Collection lastRunMetadataCatalogDetails) {
if (lastRunMetadataCatalogDetails == null) {
this.lastRunMetadataCatalogDetails = null;
return;
}
this.lastRunMetadataCatalogDetails = new java.util.ArrayList(lastRunMetadataCatalogDetails);
}
/**
*
* Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated
* flow run.
*
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setLastRunMetadataCatalogDetails(java.util.Collection)} or
* {@link #withLastRunMetadataCatalogDetails(java.util.Collection)} if you want to override the existing values.
*
*
* @param lastRunMetadataCatalogDetails
* Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the
* associated flow run.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withLastRunMetadataCatalogDetails(MetadataCatalogDetail... lastRunMetadataCatalogDetails) {
if (this.lastRunMetadataCatalogDetails == null) {
setLastRunMetadataCatalogDetails(new java.util.ArrayList(lastRunMetadataCatalogDetails.length));
}
for (MetadataCatalogDetail ele : lastRunMetadataCatalogDetails) {
this.lastRunMetadataCatalogDetails.add(ele);
}
return this;
}
/**
*
* Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated
* flow run.
*
*
* @param lastRunMetadataCatalogDetails
* Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the
* associated flow run.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public DescribeFlowResult withLastRunMetadataCatalogDetails(java.util.Collection lastRunMetadataCatalogDetails) {
setLastRunMetadataCatalogDetails(lastRunMetadataCatalogDetails);
return this;
}
/**
*
* The version number of your data schema. Amazon AppFlow assigns this version number. The version number increases
* by one when you change any of the following settings in your flow configuration:
*
*
*
* @param schemaVersion
* The version number of your data schema. Amazon AppFlow assigns this version number. The version number
* increases by one when you change any of the following settings in your flow configuration: