Interface EnvironmentSourceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentSourceConfig.Builder,,EnvironmentSourceConfig> SdkBuilder<EnvironmentSourceConfig.Builder,,EnvironmentSourceConfig> SdkPojo
- Enclosing class:
EnvironmentSourceConfig
@Mutable
@NotThreadSafe
public static interface EnvironmentSourceConfig.Builder
extends SdkPojo, CopyableBuilder<EnvironmentSourceConfig.Builder,EnvironmentSourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault EnvironmentSourceConfig.BuildergitSource(Consumer<EnvironmentGitSource.Builder> gitSource) The Git source information.gitSource(EnvironmentGitSource gitSource) The Git 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 theEnvironmentGitSource.Builderavoiding the need to create one manually viaEnvironmentGitSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitSource(EnvironmentGitSource).- Parameters:
gitSource- a consumer that will call methods onEnvironmentGitSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-