@Generated(value="software.amazon.awssdk:codegen") public final class SourceCode extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceCode.Builder,SourceCode>
Object containing source code information that is linked to an application component.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceCode.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SourceCode.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
location()
The repository name for the source code.
|
String |
projectName()
The name of the project.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceCode.Builder> |
serializableBuilderClass() |
String |
sourceVersion()
The branch of the source code.
|
SourceCode.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
VersionControl |
versionControl()
The type of repository to use for the source code.
|
String |
versionControlAsString()
The type of repository to use for the source code.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String location()
The repository name for the source code.
public final String projectName()
The name of the project.
public final String sourceVersion()
The branch of the source code.
public final VersionControl versionControl()
The type of repository to use for the source code.
If the service returns an enum value that is not available in the current SDK version, versionControl
will return VersionControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from versionControlAsString().
VersionControlpublic final String versionControlAsString()
The type of repository to use for the source code.
If the service returns an enum value that is not available in the current SDK version, versionControl
will return VersionControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from versionControlAsString().
VersionControlpublic SourceCode.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceCode.Builder,SourceCode>public static SourceCode.Builder builder()
public static Class<? extends SourceCode.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.