Interface CodeConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CodeConfiguration.Builder,CodeConfiguration>,SdkBuilder<CodeConfiguration.Builder,CodeConfiguration>,SdkPojo
- Enclosing class:
- CodeConfiguration
public static interface CodeConfiguration.Builder extends SdkPojo, CopyableBuilder<CodeConfiguration.Builder,CodeConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CodeConfiguration.BuildercodeConfigurationValues(Consumer<CodeConfigurationValues.Builder> codeConfigurationValues)The basic configuration for building and running the App Runner service.CodeConfiguration.BuildercodeConfigurationValues(CodeConfigurationValues codeConfigurationValues)The basic configuration for building and running the App Runner service.CodeConfiguration.BuilderconfigurationSource(String configurationSource)The source of the App Runner configuration.CodeConfiguration.BuilderconfigurationSource(ConfigurationSource configurationSource)The source of the App Runner configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
configurationSource
CodeConfiguration.Builder configurationSource(String configurationSource)
The source of the App Runner configuration. Values are interpreted as follows:
-
REPOSITORY– App Runner reads configuration values from theapprunner.yamlfile in the source code repository and ignoresCodeConfigurationValues. -
API– App Runner uses configuration values provided inCodeConfigurationValuesand ignores theapprunner.yamlfile in the source code repository.
- Parameters:
configurationSource- The source of the App Runner configuration. Values are interpreted as follows:-
REPOSITORY– App Runner reads configuration values from theapprunner.yamlfile in the source code repository and ignoresCodeConfigurationValues. -
API– App Runner uses configuration values provided inCodeConfigurationValuesand ignores theapprunner.yamlfile in the source code repository.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigurationSource,ConfigurationSource
-
-
configurationSource
CodeConfiguration.Builder configurationSource(ConfigurationSource configurationSource)
The source of the App Runner configuration. Values are interpreted as follows:
-
REPOSITORY– App Runner reads configuration values from theapprunner.yamlfile in the source code repository and ignoresCodeConfigurationValues. -
API– App Runner uses configuration values provided inCodeConfigurationValuesand ignores theapprunner.yamlfile in the source code repository.
- Parameters:
configurationSource- The source of the App Runner configuration. Values are interpreted as follows:-
REPOSITORY– App Runner reads configuration values from theapprunner.yamlfile in the source code repository and ignoresCodeConfigurationValues. -
API– App Runner uses configuration values provided inCodeConfigurationValuesand ignores theapprunner.yamlfile in the source code repository.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ConfigurationSource,ConfigurationSource
-
-
codeConfigurationValues
CodeConfiguration.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.yamlfile in the source code repository (or ignoring the file if it exists).- Parameters:
codeConfigurationValues- The basic configuration for building and running the App Runner service. Use it to quickly launch an App Runner service without providing aapprunner.yamlfile in the source code repository (or ignoring the file if it exists).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeConfigurationValues
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
This is a convenience method that creates an instance of theapprunner.yamlfile in the source code repository (or ignoring the file if it exists).CodeConfigurationValues.Builderavoiding the need to create one manually viaCodeConfigurationValues.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeConfigurationValues(CodeConfigurationValues).- Parameters:
codeConfigurationValues- a consumer that will call methods onCodeConfigurationValues.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
codeConfigurationValues(CodeConfigurationValues)
-
-