@Generated(value="software.amazon.awssdk:codegen") public final class CodeRepository extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CodeRepository.Builder,CodeRepository>
Describes a source code repository.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CodeRepository.Builder |
| Modifier and Type | Method and 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.
|
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String repositoryUrl()
The location of the repository that contains the source code.
public final SourceCodeVersion sourceCodeVersion()
The version that should be used within the source code repository.
public final CodeConfiguration codeConfiguration()
Configuration for building and running the service from a source code repository.
CodeConfiguration is required only for CreateService request.
CodeConfiguration is required only for CreateService request.
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.
public CodeRepository.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CodeRepository.Builder,CodeRepository>public static CodeRepository.Builder builder()
public static Class<? extends CodeRepository.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.