@Generated(value="software.amazon.awssdk:codegen") public final class Repository extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Repository.Builder,Repository>
Detailed data of a linked repository—a repository that has been registered with Proton.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Repository.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the linked repository.
|
static Repository.Builder |
builder() |
String |
connectionArn()
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider
account.
|
String |
encryptionKey()
Your customer Amazon Web Services KMS encryption key.
|
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 Repository.Builder> |
serializableBuilderClass() |
Repository.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 connectionArn()
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account.
public final String encryptionKey()
Your customer Amazon Web Services KMS encryption key.
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 Repository.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Repository.Builder,Repository>public static Repository.Builder builder()
public static Class<? extends Repository.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.