Interface AmazonRedshiftTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AmazonRedshiftTarget.Builder,
,AmazonRedshiftTarget> SdkBuilder<AmazonRedshiftTarget.Builder,
,AmazonRedshiftTarget> SdkPojo
- Enclosing class:
AmazonRedshiftTarget
public static interface AmazonRedshiftTarget.Builder
extends SdkPojo, CopyableBuilder<AmazonRedshiftTarget.Builder,AmazonRedshiftTarget>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AmazonRedshiftTarget.Builder
Specifies the data of the Amazon Redshift target node.data
(AmazonRedshiftNodeData data) Specifies the data of the Amazon Redshift target node.The nodes that are inputs to the data target.inputs
(Collection<String> inputs) The nodes that are inputs to the data target.The name of the Amazon Redshift target.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
-
Method Details
-
name
The name of the Amazon Redshift target.
- Parameters:
name
- The name of the Amazon Redshift target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Specifies the data of the Amazon Redshift target node.
- Parameters:
data
- Specifies the data of the Amazon Redshift target node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Specifies the data of the Amazon Redshift target node.
This is a convenience method that creates an instance of theAmazonRedshiftNodeData.Builder
avoiding the need to create one manually viaAmazonRedshiftNodeData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todata(AmazonRedshiftNodeData)
.- Parameters:
data
- a consumer that will call methods onAmazonRedshiftNodeData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputs
The nodes that are inputs to the data target.
- Parameters:
inputs
- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
The nodes that are inputs to the data target.
- Parameters:
inputs
- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-