@Generated(value="software.amazon.awssdk:codegen") public final class SourceCodeVersion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SourceCodeVersion.Builder,SourceCodeVersion>
Identifies a version of code that App Runner refers to within a source code repository.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SourceCodeVersion.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SourceCodeVersion.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SourceCodeVersion.Builder> |
serializableBuilderClass() |
SourceCodeVersion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SourceCodeVersionType |
type()
The type of version identifier.
|
String |
typeAsString()
The type of version identifier.
|
String |
value()
A source code version.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SourceCodeVersionType type()
The type of version identifier.
For a git-based repository, branches represent versions.
If the service returns an enum value that is not available in the current SDK version, type will return
SourceCodeVersionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
For a git-based repository, branches represent versions.
SourceCodeVersionTypepublic final String typeAsString()
The type of version identifier.
For a git-based repository, branches represent versions.
If the service returns an enum value that is not available in the current SDK version, type will return
SourceCodeVersionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
For a git-based repository, branches represent versions.
SourceCodeVersionTypepublic final String value()
A source code version.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
For a git-based repository, a branch name maps to a specific version. App Runner uses the most recent commit to the branch.
public SourceCodeVersion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SourceCodeVersion.Builder,SourceCodeVersion>public static SourceCodeVersion.Builder builder()
public static Class<? extends SourceCodeVersion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.