Class CodeConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.apprunner.model.CodeConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeConfiguration.Builder,CodeConfiguration>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCodeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeConfiguration.Builderbuilder()CodeConfigurationValuescodeConfigurationValues()The basic configuration for building and running the App Runner service.ConfigurationSourceconfigurationSource()The source of the App Runner configuration.StringconfigurationSourceAsString()The source of the App Runner configuration.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends CodeConfiguration.Builder>serializableBuilderClass()CodeConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
configurationSource
public final 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.
If the service returns an enum value that is not available in the current SDK version,
configurationSourcewill returnConfigurationSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationSourceAsString().- Returns:
- 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.
-
- See Also:
ConfigurationSource
-
-
configurationSourceAsString
public final String configurationSourceAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
configurationSourcewill returnConfigurationSource.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromconfigurationSourceAsString().- Returns:
- 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.
-
- See Also:
ConfigurationSource
-
-
codeConfigurationValues
public 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.yamlfile in the source code repository (or ignoring the file if it exists).- Returns:
- 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).
-
toBuilder
public CodeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeConfiguration.Builder,CodeConfiguration>
-
builder
public static CodeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodeConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-