Interface SourceConnection.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceConnection.Builder,
,SourceConnection> SdkBuilder<SourceConnection.Builder,
,SourceConnection> SdkPojo
- Enclosing class:
SourceConnection
public static interface SourceConnection.Builder
extends SdkPojo, CopyableBuilder<SourceConnection.Builder,SourceConnection>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SourceConnection.Builder
connectionParameters
(Consumer<SourceConnectionParameters.Builder> connectionParameters) The connection details based on the connectionType
.connectionParameters
(SourceConnectionParameters connectionParameters) The connection details based on the connectionType
.The only supportedSourceConnection
type is Codestar.type
(SourceType type) The only supportedSourceConnection
type is Codestar.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
-
type
The only supported
SourceConnection
type is Codestar.- Parameters:
type
- The only supportedSourceConnection
type is Codestar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The only supported
SourceConnection
type is Codestar.- Parameters:
type
- The only supportedSourceConnection
type is Codestar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
connectionParameters
The connection details based on the connection
Type
.- Parameters:
connectionParameters
- The connection details based on the connectionType
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectionParameters
default SourceConnection.Builder connectionParameters(Consumer<SourceConnectionParameters.Builder> connectionParameters) The connection details based on the connection
This is a convenience method that creates an instance of theType
.SourceConnectionParameters.Builder
avoiding the need to create one manually viaSourceConnectionParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectionParameters(SourceConnectionParameters)
.- Parameters:
connectionParameters
- a consumer that will call methods onSourceConnectionParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-