Class Repository
- java.lang.Object
-
- software.amazon.awssdk.services.proton.model.Repository
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Repository.Builder,Repository>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepository.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the linked repository.static Repository.Builderbuilder()StringconnectionArn()The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account.StringencryptionKey()Your customer Amazon Web Services KMS encryption key.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The repository name.RepositoryProviderprovider()The repository provider.StringproviderAsString()The repository provider.List<SdkField<?>>sdkFields()static Class<? extends Repository.Builder>serializableBuilderClass()Repository.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the linked repository.
- Returns:
- The Amazon Resource Name (ARN) of the linked repository.
-
connectionArn
public final String connectionArn()
The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account.
- Returns:
- The Amazon Resource Name (ARN) of your AWS CodeStar connection that connects Proton to your repository provider account.
-
encryptionKey
public final String encryptionKey()
Your customer Amazon Web Services KMS encryption key.
- Returns:
- Your customer Amazon Web Services KMS encryption key.
-
name
public final String name()
The repository name.
- Returns:
- The repository name.
-
provider
public final RepositoryProvider provider()
The repository provider.
If the service returns an enum value that is not available in the current SDK version,
providerwill returnRepositoryProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderAsString().- Returns:
- The repository provider.
- See Also:
RepositoryProvider
-
providerAsString
public final String providerAsString()
The repository provider.
If the service returns an enum value that is not available in the current SDK version,
providerwill returnRepositoryProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderAsString().- Returns:
- The repository provider.
- See Also:
RepositoryProvider
-
toBuilder
public Repository.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Repository.Builder,Repository>
-
builder
public static Repository.Builder builder()
-
serializableBuilderClass
public static Class<? extends Repository.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-