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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SourceConnection.BuilderconnectionParameters(Consumer<SourceConnectionParameters.Builder> connectionParameters)The connection details based on the connectionType.SourceConnection.BuilderconnectionParameters(SourceConnectionParameters connectionParameters)The connection details based on the connectionType.SourceConnection.Buildertype(String type)The only supportedSourceConnectiontype is Codestar.SourceConnection.Buildertype(SourceType type)The only supportedSourceConnectiontype 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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
type
SourceConnection.Builder type(String type)
The only supported
SourceConnectiontype is Codestar.- Parameters:
type- The only supportedSourceConnectiontype is Codestar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType,SourceType
-
type
SourceConnection.Builder type(SourceType type)
The only supported
SourceConnectiontype is Codestar.- Parameters:
type- The only supportedSourceConnectiontype is Codestar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SourceType,SourceType
-
connectionParameters
SourceConnection.Builder connectionParameters(SourceConnectionParameters 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.Builderavoiding the need to create one manually viaSourceConnectionParameters.builder().When the
Consumercompletes,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:
connectionParameters(SourceConnectionParameters)
-
-