Class CodeRepository
- java.lang.Object
-
- software.amazon.awssdk.services.apprunner.model.CodeRepository
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CodeRepository.Builder,CodeRepository>
@Generated("software.amazon.awssdk:codegen") public final class CodeRepository extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeRepository.Builder,CodeRepository>
Describes a source code repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCodeRepository.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeRepository.Builderbuilder()CodeConfigurationcodeConfiguration()Configuration for building and running the service from a source code repository.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrepositoryUrl()The location of the repository that contains the source code.List<SdkField<?>>sdkFields()static Class<? extends CodeRepository.Builder>serializableBuilderClass()SourceCodeVersionsourceCodeVersion()The version that should be used within the source code repository.StringsourceDirectory()The path of the directory that stores source code and configuration files.CodeRepository.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
-
repositoryUrl
public final String repositoryUrl()
The location of the repository that contains the source code.
- Returns:
- The location of the repository that contains the source code.
-
sourceCodeVersion
public final SourceCodeVersion sourceCodeVersion()
The version that should be used within the source code repository.
- Returns:
- The version that should be used within the source code repository.
-
codeConfiguration
public final CodeConfiguration codeConfiguration()
Configuration for building and running the service from a source code repository.
CodeConfigurationis required only forCreateServicerequest.- Returns:
- Configuration for building and running the service from a source code repository.
CodeConfigurationis required only forCreateServicerequest.
-
sourceDirectory
public final String sourceDirectory()
The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
- Returns:
- The path of the directory that stores source code and configuration files. The build and start commands also execute from here. The path is absolute from root and, if not specified, defaults to the repository root.
-
toBuilder
public CodeRepository.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CodeRepository.Builder,CodeRepository>
-
builder
public static CodeRepository.Builder builder()
-
serializableBuilderClass
public static Class<? extends CodeRepository.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.
-
-