Interface SourceConnection.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SourceConnection.Builder,,SourceConnection> SdkBuilder<SourceConnection.Builder,,SourceConnection> SdkPojo
- Enclosing class:
SourceConnection
@Mutable
@NotThreadSafe
public static interface SourceConnection.Builder
extends SdkPojo, CopyableBuilder<SourceConnection.Builder,SourceConnection>
-
Method Summary
Modifier and TypeMethodDescriptiondefault SourceConnection.BuilderconnectionParameters(Consumer<SourceConnectionParameters.Builder> connectionParameters) The connection details based on the connectionType.connectionParameters(SourceConnectionParameters connectionParameters) The connection details based on the connectionType.The only supportedSourceConnectiontype is Codestar.type(SourceType type) The only supportedSourceConnectiontype is Codestar.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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:
-