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 interface
CodeRepository.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CodeRepository.Builder
builder()
CodeConfiguration
codeConfiguration()
Configuration for building and running the service from a source code repository.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
repositoryUrl()
The location of the repository that contains the source code.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CodeRepository.Builder>
serializableBuilderClass()
SourceCodeVersion
sourceCodeVersion()
The version that should be used within the source code repository.String
sourceDirectory()
The path of the directory that stores source code and configuration files.CodeRepository.Builder
toBuilder()
String
toString()
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.
CodeConfiguration
is required only forCreateService
request.- Returns:
- Configuration for building and running the service from a source code repository.
CodeConfiguration
is required only forCreateService
request.
-
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:
toBuilder
in 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:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-