@Generated(value="software.amazon.awssdk:codegen") public final class CodeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeConfiguration.Builder,CodeConfiguration>
Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeConfiguration.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CodeConfiguration.Builder |
builder() |
CodeConfigurationValues |
codeConfigurationValues()
The basic configuration for building and running the App Runner service.
|
ConfigurationSource |
configurationSource()
The source of the App Runner configuration.
|
String |
configurationSourceAsString()
The source of the App Runner configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CodeConfiguration.Builder> |
serializableBuilderClass() |
CodeConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
If the service returns an enum value that is not available in the current SDK version,
configurationSource will return ConfigurationSource.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from configurationSourceAsString().
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.
ConfigurationSourcepublic final String configurationSourceAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
configurationSource will return ConfigurationSource.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from configurationSourceAsString().
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.
ConfigurationSourcepublic final 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).
apprunner.yaml file in the source code repository (or
ignoring the file if it exists).public CodeConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeConfiguration.Builder,CodeConfiguration>public static CodeConfiguration.Builder builder()
public static Class<? extends CodeConfiguration.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.