Interface DescribeFlowResponse.Builder
-
- All Superinterfaces:
AppflowResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<DescribeFlowResponse.Builder,DescribeFlowResponse>,SdkBuilder<DescribeFlowResponse.Builder,DescribeFlowResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeFlowResponse
public static interface DescribeFlowResponse.Builder extends AppflowResponse.Builder, SdkPojo, CopyableBuilder<DescribeFlowResponse.Builder,DescribeFlowResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeFlowResponse.BuildercreatedAt(Instant createdAt)Specifies when the flow was created.DescribeFlowResponse.BuildercreatedBy(String createdBy)The ARN of the user who created the flow.DescribeFlowResponse.Builderdescription(String description)A description of the flow.DescribeFlowResponse.BuilderdestinationFlowConfigList(Collection<DestinationFlowConfig> destinationFlowConfigList)The configuration that controls how Amazon AppFlow transfers data to the destination connector.DescribeFlowResponse.BuilderdestinationFlowConfigList(Consumer<DestinationFlowConfig.Builder>... destinationFlowConfigList)The configuration that controls how Amazon AppFlow transfers data to the destination connector.DescribeFlowResponse.BuilderdestinationFlowConfigList(DestinationFlowConfig... destinationFlowConfigList)The configuration that controls how Amazon AppFlow transfers data to the destination connector.DescribeFlowResponse.BuilderflowArn(String flowArn)The flow's Amazon Resource Name (ARN).DescribeFlowResponse.BuilderflowName(String flowName)The specified name of the flow.DescribeFlowResponse.BuilderflowStatus(String flowStatus)Indicates the current status of the flow.DescribeFlowResponse.BuilderflowStatus(FlowStatus flowStatus)Indicates the current status of the flow.DescribeFlowResponse.BuilderflowStatusMessage(String flowStatusMessage)Contains an error message if the flow status is in a suspended or error state.DescribeFlowResponse.BuilderkmsArn(String kmsArn)The ARN (Amazon Resource Name) of the Key Management Service (KMS) key you provide for encryption.default DescribeFlowResponse.BuilderlastRunExecutionDetails(Consumer<ExecutionDetails.Builder> lastRunExecutionDetails)Describes the details of the most recent flow run.DescribeFlowResponse.BuilderlastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)Describes the details of the most recent flow run.DescribeFlowResponse.BuilderlastRunMetadataCatalogDetails(Collection<MetadataCatalogDetail> lastRunMetadataCatalogDetails)Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.DescribeFlowResponse.BuilderlastRunMetadataCatalogDetails(Consumer<MetadataCatalogDetail.Builder>... lastRunMetadataCatalogDetails)Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.DescribeFlowResponse.BuilderlastRunMetadataCatalogDetails(MetadataCatalogDetail... lastRunMetadataCatalogDetails)Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.DescribeFlowResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)Specifies when the flow was last updated.DescribeFlowResponse.BuilderlastUpdatedBy(String lastUpdatedBy)Specifies the user name of the account that performed the most recent update.default DescribeFlowResponse.BuildermetadataCatalogConfig(Consumer<MetadataCatalogConfig.Builder> metadataCatalogConfig)Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow.DescribeFlowResponse.BuildermetadataCatalogConfig(MetadataCatalogConfig metadataCatalogConfig)Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow.DescribeFlowResponse.BuilderschemaVersion(Long schemaVersion)The version number of your data schema.default DescribeFlowResponse.BuildersourceFlowConfig(Consumer<SourceFlowConfig.Builder> sourceFlowConfig)The configuration that controls how Amazon AppFlow retrieves data from the source connector.DescribeFlowResponse.BuildersourceFlowConfig(SourceFlowConfig sourceFlowConfig)The configuration that controls how Amazon AppFlow retrieves data from the source connector.DescribeFlowResponse.Buildertags(Map<String,String> tags)The tags used to organize, track, or control access for your flow.DescribeFlowResponse.Buildertasks(Collection<Task> tasks)A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.DescribeFlowResponse.Buildertasks(Consumer<Task.Builder>... tasks)A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.DescribeFlowResponse.Buildertasks(Task... tasks)A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.default DescribeFlowResponse.BuildertriggerConfig(Consumer<TriggerConfig.Builder> triggerConfig)The trigger settings that determine how and when the flow runs.DescribeFlowResponse.BuildertriggerConfig(TriggerConfig triggerConfig)The trigger settings that determine how and when the flow runs.-
Methods inherited from interface software.amazon.awssdk.services.appflow.model.AppflowResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
flowArn
DescribeFlowResponse.Builder flowArn(String flowArn)
The flow's Amazon Resource Name (ARN).
- Parameters:
flowArn- The flow's Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
DescribeFlowResponse.Builder description(String description)
A description of the flow.
- Parameters:
description- A description of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowName
DescribeFlowResponse.Builder flowName(String flowName)
The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.
- Parameters:
flowName- The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsArn
DescribeFlowResponse.Builder kmsArn(String 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowStatus
DescribeFlowResponse.Builder flowStatus(String flowStatus)
Indicates the current status of the flow.
- Parameters:
flowStatus- Indicates the current status of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowStatus,FlowStatus
-
flowStatus
DescribeFlowResponse.Builder flowStatus(FlowStatus flowStatus)
Indicates the current status of the flow.
- Parameters:
flowStatus- Indicates the current status of the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FlowStatus,FlowStatus
-
flowStatusMessage
DescribeFlowResponse.Builder flowStatusMessage(String 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFlowConfig
DescribeFlowResponse.Builder sourceFlowConfig(SourceFlowConfig sourceFlowConfig)
The configuration that controls how Amazon AppFlow retrieves data from the source connector.
- Parameters:
sourceFlowConfig- The configuration that controls how Amazon AppFlow retrieves data from the source connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFlowConfig
default DescribeFlowResponse.Builder sourceFlowConfig(Consumer<SourceFlowConfig.Builder> sourceFlowConfig)
The configuration that controls how Amazon AppFlow retrieves data from the source connector.
This is a convenience method that creates an instance of theSourceFlowConfig.Builderavoiding the need to create one manually viaSourceFlowConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceFlowConfig(SourceFlowConfig).- Parameters:
sourceFlowConfig- a consumer that will call methods onSourceFlowConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sourceFlowConfig(SourceFlowConfig)
-
destinationFlowConfigList
DescribeFlowResponse.Builder destinationFlowConfigList(Collection<DestinationFlowConfig> destinationFlowConfigList)
The configuration that controls how Amazon AppFlow transfers data to the destination connector.
- Parameters:
destinationFlowConfigList- The configuration that controls how Amazon AppFlow transfers data to the destination connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationFlowConfigList
DescribeFlowResponse.Builder destinationFlowConfigList(DestinationFlowConfig... destinationFlowConfigList)
The configuration that controls how Amazon AppFlow transfers data to the destination connector.
- Parameters:
destinationFlowConfigList- The configuration that controls how Amazon AppFlow transfers data to the destination connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinationFlowConfigList
DescribeFlowResponse.Builder destinationFlowConfigList(Consumer<DestinationFlowConfig.Builder>... destinationFlowConfigList)
The configuration that controls how Amazon AppFlow transfers data to the destination connector.
This is a convenience method that creates an instance of theDestinationFlowConfig.Builderavoiding the need to create one manually viaDestinationFlowConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#destinationFlowConfigList(List.) - Parameters:
destinationFlowConfigList- a consumer that will call methods onDestinationFlowConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#destinationFlowConfigList(java.util.Collection)
-
lastRunExecutionDetails
DescribeFlowResponse.Builder lastRunExecutionDetails(ExecutionDetails lastRunExecutionDetails)
Describes the details of the most recent flow run.
- Parameters:
lastRunExecutionDetails- Describes the details of the most recent flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunExecutionDetails
default DescribeFlowResponse.Builder lastRunExecutionDetails(Consumer<ExecutionDetails.Builder> lastRunExecutionDetails)
Describes the details of the most recent flow run.
This is a convenience method that creates an instance of theExecutionDetails.Builderavoiding the need to create one manually viaExecutionDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolastRunExecutionDetails(ExecutionDetails).- Parameters:
lastRunExecutionDetails- a consumer that will call methods onExecutionDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lastRunExecutionDetails(ExecutionDetails)
-
triggerConfig
DescribeFlowResponse.Builder triggerConfig(TriggerConfig triggerConfig)
The trigger settings that determine how and when the flow runs.
- Parameters:
triggerConfig- The trigger settings that determine how and when the flow runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerConfig
default DescribeFlowResponse.Builder triggerConfig(Consumer<TriggerConfig.Builder> triggerConfig)
The trigger settings that determine how and when the flow runs.
This is a convenience method that creates an instance of theTriggerConfig.Builderavoiding the need to create one manually viaTriggerConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totriggerConfig(TriggerConfig).- Parameters:
triggerConfig- a consumer that will call methods onTriggerConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
triggerConfig(TriggerConfig)
-
tasks
DescribeFlowResponse.Builder tasks(Collection<Task> tasks)
A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
- Parameters:
tasks- A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
DescribeFlowResponse.Builder tasks(Task... tasks)
A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
- Parameters:
tasks- A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tasks
DescribeFlowResponse.Builder tasks(Consumer<Task.Builder>... tasks)
A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.
This is a convenience method that creates an instance of theTask.Builderavoiding the need to create one manually viaTask.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tasks(List.) - Parameters:
tasks- a consumer that will call methods onTask.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tasks(java.util.Collection)
-
createdAt
DescribeFlowResponse.Builder createdAt(Instant createdAt)
Specifies when the flow was created.
- Parameters:
createdAt- Specifies when the flow was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
DescribeFlowResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)
Specifies when the flow was last updated.
- Parameters:
lastUpdatedAt- Specifies when the flow was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
DescribeFlowResponse.Builder createdBy(String createdBy)
The ARN of the user who created the flow.
- Parameters:
createdBy- The ARN of the user who created the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedBy
DescribeFlowResponse.Builder lastUpdatedBy(String lastUpdatedBy)
Specifies the user name of the account that performed the most recent update.
- Parameters:
lastUpdatedBy- Specifies the user name of the account that performed the most recent update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DescribeFlowResponse.Builder tags(Map<String,String> tags)
The tags used to organize, track, or control access for your flow.
- Parameters:
tags- The tags used to organize, track, or control access for your flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataCatalogConfig
DescribeFlowResponse.Builder metadataCatalogConfig(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataCatalogConfig
default DescribeFlowResponse.Builder metadataCatalogConfig(Consumer<MetadataCatalogConfig.Builder> 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.
This is a convenience method that creates an instance of theMetadataCatalogConfig.Builderavoiding the need to create one manually viaMetadataCatalogConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataCatalogConfig(MetadataCatalogConfig).- Parameters:
metadataCatalogConfig- a consumer that will call methods onMetadataCatalogConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadataCatalogConfig(MetadataCatalogConfig)
-
lastRunMetadataCatalogDetails
DescribeFlowResponse.Builder lastRunMetadataCatalogDetails(Collection<MetadataCatalogDetail> lastRunMetadataCatalogDetails)
Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
- Parameters:
lastRunMetadataCatalogDetails- Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunMetadataCatalogDetails
DescribeFlowResponse.Builder lastRunMetadataCatalogDetails(MetadataCatalogDetail... lastRunMetadataCatalogDetails)
Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
- Parameters:
lastRunMetadataCatalogDetails- Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRunMetadataCatalogDetails
DescribeFlowResponse.Builder lastRunMetadataCatalogDetails(Consumer<MetadataCatalogDetail.Builder>... lastRunMetadataCatalogDetails)
Describes the metadata catalog, metadata table, and data partitions that Amazon AppFlow used for the associated flow run.
This is a convenience method that creates an instance of theMetadataCatalogDetail.Builderavoiding the need to create one manually viaMetadataCatalogDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lastRunMetadataCatalogDetails(List.) - Parameters:
lastRunMetadataCatalogDetails- a consumer that will call methods onMetadataCatalogDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#lastRunMetadataCatalogDetails(java.util.Collection)
-
schemaVersion
DescribeFlowResponse.Builder schemaVersion(Long 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:
-
Source-to-destination field mappings
-
Field data types
-
Partition keys
- Parameters:
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:-
Source-to-destination field mappings
-
Field data types
-
Partition keys
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
-