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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AmazonRedshiftSource.Builder
data(Consumer<AmazonRedshiftNodeData.Builder> data)
Specifies the data of the Amazon Reshift source node.AmazonRedshiftSource.Builder
data(AmazonRedshiftNodeData data)
Specifies the data of the Amazon Reshift source node.AmazonRedshiftSource.Builder
name(String name)
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 Detail
-
name
AmazonRedshiftSource.Builder name(String 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
AmazonRedshiftSource.Builder data(AmazonRedshiftNodeData 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
default AmazonRedshiftSource.Builder data(Consumer<AmazonRedshiftNodeData.Builder> 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:
data(AmazonRedshiftNodeData)
-
-