@Generated(value="software.amazon.awssdk:codegen") public final class RepositoryBranch extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositoryBranch.Builder,RepositoryBranch>
Detail data for a linked repository branch.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RepositoryBranch.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the linked repository.
|
String |
branch()
The repository branch.
|
static RepositoryBranch.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The repository name.
|
RepositoryProvider |
provider()
The repository provider.
|
String |
providerAsString()
The repository provider.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RepositoryBranch.Builder> |
serializableBuilderClass() |
RepositoryBranch.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the linked repository.
public final String branch()
The repository branch.
public final String name()
The repository name.
public final RepositoryProvider provider()
The repository provider.
If the service returns an enum value that is not available in the current SDK version, provider will
return RepositoryProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
providerAsString().
RepositoryProviderpublic final String providerAsString()
The repository provider.
If the service returns an enum value that is not available in the current SDK version, provider will
return RepositoryProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
providerAsString().
RepositoryProviderpublic RepositoryBranch.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RepositoryBranch.Builder,RepositoryBranch>public static RepositoryBranch.Builder builder()
public static Class<? extends RepositoryBranch.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.