Interface BuildConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BuildConfig.Builder,,BuildConfig> SdkBuilder<BuildConfig.Builder,,BuildConfig> SdkPojo
- Enclosing class:
BuildConfig
@Mutable
@NotThreadSafe
public static interface BuildConfig.Builder
extends SdkPojo, CopyableBuilder<BuildConfig.Builder,BuildConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BuildConfig.BuildercodeConfig(Consumer<CodeConfig.Builder> codeConfig) The code configuration specifying where the deployment artifact is stored.codeConfig(CodeConfig codeConfig) The code configuration specifying where the deployment artifact is stored.default BuildConfig.BuilderruntimeConfig(Consumer<RuntimeConfig.Builder> runtimeConfig) The runtime configuration for the revision.runtimeConfig(RuntimeConfig runtimeConfig) The runtime configuration for the revision.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
-
codeConfig
The code configuration specifying where the deployment artifact is stored.
- Parameters:
codeConfig- The code configuration specifying where the deployment artifact is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeConfig
The code configuration specifying where the deployment artifact is stored.
This is a convenience method that creates an instance of theCodeConfig.Builderavoiding the need to create one manually viaCodeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeConfig(CodeConfig).- Parameters:
codeConfig- a consumer that will call methods onCodeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runtimeConfig
The runtime configuration for the revision.
- Parameters:
runtimeConfig- The runtime configuration for the revision.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfig
The runtime configuration for the revision.
This is a convenience method that creates an instance of theRuntimeConfig.Builderavoiding the need to create one manually viaRuntimeConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruntimeConfig(RuntimeConfig).- Parameters:
runtimeConfig- a consumer that will call methods onRuntimeConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-