Interface AmazonRedshiftSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AmazonRedshiftSource.Builder,
,AmazonRedshiftSource> SdkBuilder<AmazonRedshiftSource.Builder,
,AmazonRedshiftSource> SdkPojo
- Enclosing class:
AmazonRedshiftSource
public static interface AmazonRedshiftSource.Builder
extends SdkPojo, CopyableBuilder<AmazonRedshiftSource.Builder,AmazonRedshiftSource>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AmazonRedshiftSource.Builder
Specifies the data of the Amazon Reshift source node.data
(AmazonRedshiftNodeData data) Specifies the data of the Amazon Reshift source node.The name of the Amazon Redshift source.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 source.
- Parameters:
name
- The name of the Amazon Redshift source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Specifies the data of the Amazon Reshift source node.
- Parameters:
data
- Specifies the data of the Amazon Reshift source node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
Specifies the data of the Amazon Reshift source 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:
-