Interface UpdateFlowRequest.Builder
- All Superinterfaces:
AppflowRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateFlowRequest.Builder,
,UpdateFlowRequest> SdkBuilder<UpdateFlowRequest.Builder,
,UpdateFlowRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateFlowRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) TheclientToken
parameter is an idempotency token.description
(String description) A description of the flow.destinationFlowConfigList
(Collection<DestinationFlowConfig> destinationFlowConfigList) The configuration that controls how Amazon AppFlow transfers data to the destination connector.destinationFlowConfigList
(Consumer<DestinationFlowConfig.Builder>... destinationFlowConfigList) The configuration that controls how Amazon AppFlow transfers data to the destination connector.destinationFlowConfigList
(DestinationFlowConfig... destinationFlowConfigList) The configuration that controls how Amazon AppFlow transfers data to the destination connector.The specified name of the flow.default UpdateFlowRequest.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.metadataCatalogConfig
(MetadataCatalogConfig metadataCatalogConfig) Specifies the configuration that Amazon AppFlow uses when it catalogs the data that's transferred by the associated flow.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateFlowRequest.Builder
sourceFlowConfig
(Consumer<SourceFlowConfig.Builder> sourceFlowConfig) Sets the value of the SourceFlowConfig property for this object.sourceFlowConfig
(SourceFlowConfig sourceFlowConfig) Sets the value of the SourceFlowConfig property for this object.tasks
(Collection<Task> tasks) A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.tasks
(Consumer<Task.Builder>... tasks) A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.A list of tasks that Amazon AppFlow performs while transferring the data in the flow run.default UpdateFlowRequest.Builder
triggerConfig
(Consumer<TriggerConfig.Builder> triggerConfig) The trigger settings that determine how and when the flow runs.triggerConfig
(TriggerConfig triggerConfig) The trigger settings that determine how and when the flow runs.Methods inherited from interface software.amazon.awssdk.services.appflow.model.AppflowRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
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
The trigger settings that determine how and when the flow runs.
This is a convenience method that creates an instance of theTriggerConfig.Builder
avoiding the need to create one manually viaTriggerConfig.builder()
.When the
Consumer
completes,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:
-
sourceFlowConfig
Sets the value of the SourceFlowConfig property for this object.- Parameters:
sourceFlowConfig
- The new value for the SourceFlowConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceFlowConfig
default UpdateFlowRequest.Builder sourceFlowConfig(Consumer<SourceFlowConfig.Builder> sourceFlowConfig) Sets the value of the SourceFlowConfig property for this object. This is a convenience method that creates an instance of theSourceFlowConfig.Builder
avoiding the need to create one manually viaSourceFlowConfig.builder()
.When the
Consumer
completes,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:
-
destinationFlowConfigList
UpdateFlowRequest.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
UpdateFlowRequest.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
UpdateFlowRequest.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.Builder
avoiding the need to create one manually viaDestinationFlowConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinationFlowConfigList(List<DestinationFlowConfig>)
.- 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:
-
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
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
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.Builder
avoiding the need to create one manually viaTask.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totasks(List<Task>)
.- 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:
-
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 UpdateFlowRequest.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.Builder
avoiding the need to create one manually viaMetadataCatalogConfig.builder()
.When the
Consumer
completes,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:
-
clientToken
The
clientToken
parameter is an idempotency token. It ensures that yourUpdateFlow
request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the sameclientToken
parameter value.If you omit a
clientToken
value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.If you specify input parameters that differ from your first request, an error occurs. If you use a different value for
clientToken
, Amazon AppFlow considers it a new call toUpdateFlow
. The token is active for 8 hours.- Parameters:
clientToken
- TheclientToken
parameter is an idempotency token. It ensures that yourUpdateFlow
request completes only once. You choose the value to pass. For example, if you don't receive a response from your request, you can safely retry the request with the sameclientToken
parameter value.If you omit a
clientToken
value, the Amazon Web Services SDK that you are using inserts a value for you. This way, the SDK can safely retry requests multiple times after a network error. You must provide your own value for other use cases.If you specify input parameters that differ from your first request, an error occurs. If you use a different value for
clientToken
, Amazon AppFlow considers it a new call toUpdateFlow
. The token is active for 8 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateFlowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateFlowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-