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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AmazonRedshiftTarget.Builderdata(Consumer<AmazonRedshiftNodeData.Builder> data)Specifies the data of the Amazon Redshift target node.AmazonRedshiftTarget.Builderdata(AmazonRedshiftNodeData data)Specifies the data of the Amazon Redshift target node.AmazonRedshiftTarget.Builderinputs(String... inputs)The nodes that are inputs to the data target.AmazonRedshiftTarget.Builderinputs(Collection<String> inputs)The nodes that are inputs to the data target.AmazonRedshiftTarget.Buildername(String name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
name
AmazonRedshiftTarget.Builder name(String 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
AmazonRedshiftTarget.Builder data(AmazonRedshiftNodeData 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
default AmazonRedshiftTarget.Builder data(Consumer<AmazonRedshiftNodeData.Builder> data)
Specifies the data of the Amazon Redshift target node.
This is a convenience method that creates an instance of theAmazonRedshiftNodeData.Builderavoiding the need to create one manually viaAmazonRedshiftNodeData.builder().When the
Consumercompletes,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:
data(AmazonRedshiftNodeData)
-
inputs
AmazonRedshiftTarget.Builder inputs(Collection<String> 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
AmazonRedshiftTarget.Builder inputs(String... 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.
-
-