Interface DeploymentSourceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DeploymentSourceConfig.Builder,,DeploymentSourceConfig> SdkBuilder<DeploymentSourceConfig.Builder,,DeploymentSourceConfig> SdkPojo
- Enclosing class:
DeploymentSourceConfig
@Mutable
@NotThreadSafe
public static interface DeploymentSourceConfig.Builder
extends SdkPojo, CopyableBuilder<DeploymentSourceConfig.Builder,DeploymentSourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DeploymentSourceConfig.BuildergitSource(Consumer<DeploymentGitSource.Builder> gitSource) The Git source information.gitSource(DeploymentGitSource gitSource) The Git source information.default DeploymentSourceConfig.BuildermanualUploadSource(Consumer<DeploymentManualUploadSource.Builder> manualUploadSource) The manually uploaded source information.manualUploadSource(DeploymentManualUploadSource manualUploadSource) The manually uploaded source information.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
-
gitSource
The Git source information.
- Parameters:
gitSource- The Git source information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitSource
The Git source information.
This is a convenience method that creates an instance of theDeploymentGitSource.Builderavoiding the need to create one manually viaDeploymentGitSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitSource(DeploymentGitSource).- Parameters:
gitSource- a consumer that will call methods onDeploymentGitSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
manualUploadSource
The manually uploaded source information.
- Parameters:
manualUploadSource- The manually uploaded source information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manualUploadSource
default DeploymentSourceConfig.Builder manualUploadSource(Consumer<DeploymentManualUploadSource.Builder> manualUploadSource) The manually uploaded source information.
This is a convenience method that creates an instance of theDeploymentManualUploadSource.Builderavoiding the need to create one manually viaDeploymentManualUploadSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomanualUploadSource(DeploymentManualUploadSource).- Parameters:
manualUploadSource- a consumer that will call methods onDeploymentManualUploadSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-