@Generated(value="software.amazon.awssdk:codegen") public final class Revision extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Revision.Builder,Revision>
Revision detail data for a commit and push that activates a sync attempt
| Modifier and Type | Class and Description |
|---|---|
static interface |
Revision.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
branch()
The repository branch.
|
static Revision.Builder |
builder() |
String |
directory()
The repository directory changed by a commit and push that activated the sync attempt.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
repositoryName()
The repository name.
|
RepositoryProvider |
repositoryProvider()
The repository provider.
|
String |
repositoryProviderAsString()
The repository provider.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Revision.Builder> |
serializableBuilderClass() |
String |
sha()
The secure hash algorithm (SHA) hash for the revision.
|
Revision.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String branch()
The repository branch.
public final String directory()
The repository directory changed by a commit and push that activated the sync attempt.
public final String repositoryName()
The repository name.
public final RepositoryProvider repositoryProvider()
The repository provider.
If the service returns an enum value that is not available in the current SDK version,
repositoryProvider will return RepositoryProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from repositoryProviderAsString().
RepositoryProviderpublic final String repositoryProviderAsString()
The repository provider.
If the service returns an enum value that is not available in the current SDK version,
repositoryProvider will return RepositoryProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from repositoryProviderAsString().
RepositoryProviderpublic final String sha()
The secure hash algorithm (SHA) hash for the revision.
public Revision.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Revision.Builder,Revision>public static Revision.Builder builder()
public static Class<? extends Revision.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.