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