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