public static interface CodeConfiguration.Builder extends SdkPojo, CopyableBuilder<CodeConfiguration.Builder,CodeConfiguration>
| Modifier and Type | Method and Description |
|---|---|
CodeConfiguration.Builder |
codeConfigurationValues(CodeConfigurationValues codeConfigurationValues)
The basic configuration for building and running the App Runner service.
|
default CodeConfiguration.Builder |
codeConfigurationValues(Consumer<CodeConfigurationValues.Builder> codeConfigurationValues)
The basic configuration for building and running the App Runner service.
|
CodeConfiguration.Builder |
configurationSource(ConfigurationSource configurationSource)
The source of the App Runner configuration.
|
CodeConfiguration.Builder |
configurationSource(String configurationSource)
The source of the App Runner configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCodeConfiguration.Builder configurationSource(String configurationSource)
The source of the App Runner configuration. Values are interpreted as follows:
REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in
the source code repository and ignores CodeConfigurationValues.
API – App Runner uses configuration values provided in CodeConfigurationValues and
ignores the apprunner.yaml file in the source code repository.
configurationSource - The source of the App Runner configuration. Values are interpreted as follows:
REPOSITORY – App Runner reads configuration values from the apprunner.yaml
file in the source code repository and ignores CodeConfigurationValues.
API – App Runner uses configuration values provided in
CodeConfigurationValues and ignores the apprunner.yaml file in the source
code repository.
ConfigurationSource,
ConfigurationSourceCodeConfiguration.Builder configurationSource(ConfigurationSource configurationSource)
The source of the App Runner configuration. Values are interpreted as follows:
REPOSITORY – App Runner reads configuration values from the apprunner.yaml file in
the source code repository and ignores CodeConfigurationValues.
API – App Runner uses configuration values provided in CodeConfigurationValues and
ignores the apprunner.yaml file in the source code repository.
configurationSource - The source of the App Runner configuration. Values are interpreted as follows:
REPOSITORY – App Runner reads configuration values from the apprunner.yaml
file in the source code repository and ignores CodeConfigurationValues.
API – App Runner uses configuration values provided in
CodeConfigurationValues and ignores the apprunner.yaml file in the source
code repository.
ConfigurationSource,
ConfigurationSourceCodeConfiguration.Builder codeConfigurationValues(CodeConfigurationValues codeConfigurationValues)
The basic configuration for building and running the App Runner service. Use it to quickly launch an App
Runner service without providing a apprunner.yaml file in the source code repository (or
ignoring the file if it exists).
codeConfigurationValues - The basic configuration for building and running the App Runner service. Use it to quickly launch an
App Runner service without providing a apprunner.yaml file in the source code repository
(or ignoring the file if it exists).default CodeConfiguration.Builder codeConfigurationValues(Consumer<CodeConfigurationValues.Builder> codeConfigurationValues)
The basic configuration for building and running the App Runner service. Use it to quickly launch an App
Runner service without providing a apprunner.yaml file in the source code repository (or
ignoring the file if it exists).
CodeConfigurationValues.Builder avoiding
the need to create one manually via CodeConfigurationValues.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to codeConfigurationValues(CodeConfigurationValues).
codeConfigurationValues - a consumer that will call methods on CodeConfigurationValues.BuildercodeConfigurationValues(CodeConfigurationValues)Copyright © 2023. All rights reserved.