@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration that App Runner uses to build and run an App Runner service from a source code repository.
| Constructor and Description | 
|---|
| CodeConfiguration() | 
| Modifier and Type | Method and Description | 
|---|---|
| CodeConfiguration | clone() | 
| boolean | equals(Object obj) | 
| CodeConfigurationValues | getCodeConfigurationValues()
 The basic configuration for building and running the App Runner service. | 
| String | getConfigurationSource()
 The source of the App Runner configuration. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setCodeConfigurationValues(CodeConfigurationValues codeConfigurationValues)
 The basic configuration for building and running the App Runner service. | 
| void | setConfigurationSource(String configurationSource)
 The source of the App Runner configuration. | 
| String | toString()Returns a string representation of this object. | 
| CodeConfiguration | withCodeConfigurationValues(CodeConfigurationValues codeConfigurationValues)
 The basic configuration for building and running the App Runner service. | 
| CodeConfiguration | withConfigurationSource(ConfigurationSource configurationSource)
 The source of the App Runner configuration. | 
| CodeConfiguration | withConfigurationSource(String configurationSource)
 The source of the App Runner configuration. | 
public void setConfigurationSource(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.
        
ConfigurationSourcepublic String getConfigurationSource()
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.
 
         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 CodeConfiguration withConfigurationSource(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.
        
ConfigurationSourcepublic CodeConfiguration withConfigurationSource(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.
        
ConfigurationSourcepublic void setCodeConfigurationValues(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).public CodeConfigurationValues getCodeConfigurationValues()
 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 withCodeConfigurationValues(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).public String toString()
toString in class ObjectObject.toString()public CodeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.