Interface SourceConnectionDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceConnectionDetail.Builder,
,SourceConnectionDetail> SdkBuilder<SourceConnectionDetail.Builder,
,SourceConnectionDetail> SdkPojo
- Enclosing class:
SourceConnectionDetail
-
Method Summary
Modifier and TypeMethodDescriptiondefault SourceConnectionDetail.Builder
connectionParameters
(Consumer<SourceConnectionParameters.Builder> connectionParameters) The connection details based on the connectionType
.connectionParameters
(SourceConnectionParameters connectionParameters) The connection details based on the connectionType
.default SourceConnectionDetail.Builder
lastSync
(Consumer<LastSync.Builder> lastSync) Provides details about the product's connection sync and contains the following sub-fields.Provides details about the product's connection sync and contains the following sub-fields.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
SourceConnectionDetail.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 SourceConnectionDetail.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:
-
lastSync
Provides details about the product's connection sync and contains the following sub-fields.
-
LastSyncTime
-
LastSyncStatus
-
LastSyncStatusMessage
-
LastSuccessfulSyncTime
-
LastSuccessfulSyncProvisioningArtifactID
- Parameters:
lastSync
- Provides details about the product's connection sync and contains the following sub-fields.-
LastSyncTime
-
LastSyncStatus
-
LastSyncStatusMessage
-
LastSuccessfulSyncTime
-
LastSuccessfulSyncProvisioningArtifactID
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
lastSync
Provides details about the product's connection sync and contains the following sub-fields.
-
LastSyncTime
-
LastSyncStatus
-
LastSyncStatusMessage
-
LastSuccessfulSyncTime
-
LastSuccessfulSyncProvisioningArtifactID
LastSync.Builder
avoiding the need to create one manually viaLastSync.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastSync(LastSync)
.- Parameters:
lastSync
- a consumer that will call methods onLastSync.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-