@Generated(value="software.amazon.awssdk:codegen") public final class RepositoryDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositoryDescription.Builder,RepositoryDescription>
The details of a repository stored in AWS CodeArtifact. A CodeArtifact repository contains a set of package versions,
each of which maps to a set of assets. Repositories are polyglotâa single repository can contain packages of any
supported type. Each repository exposes endpoints for fetching and publishing packages using tools like the
npm CLI, the Maven CLI (mvn), and pip. You can create up to 100 repositories
per AWS account.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RepositoryDescription.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
administratorAccount()
The 12-digit account number of the AWS account that manages the repository.
|
String |
arn()
The Amazon Resource Name (ARN) of the repository.
|
static RepositoryDescription.Builder |
builder() |
String |
description()
A text description of the repository.
|
String |
domainName()
The name of the domain that contains the repository.
|
String |
domainOwner()
The 12-digit account number of the AWS account that owns the domain that contains the repository.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<RepositoryExternalConnectionInfo> |
externalConnections()
An array of external connections associated with the repository.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasExternalConnections()
Returns true if the ExternalConnections property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasUpstreams()
Returns true if the Upstreams property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
String |
name()
The name of the repository.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RepositoryDescription.Builder> |
serializableBuilderClass() |
RepositoryDescription.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<UpstreamRepositoryInfo> |
upstreams()
A list of upstream repositories to associate with the repository.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the repository.
public final String administratorAccount()
The 12-digit account number of the AWS account that manages the repository.
public final String domainName()
The name of the domain that contains the repository.
public final String domainOwner()
The 12-digit account number of the AWS account that owns the domain that contains the repository. It does not include dashes or spaces.
public final String arn()
The Amazon Resource Name (ARN) of the repository.
public final String description()
A text description of the repository.
public final boolean hasUpstreams()
public final List<UpstreamRepositoryInfo> upstreams()
A list of upstream repositories to associate with the repository. The order of the upstream repositories in the list determines their priority order when AWS CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUpstreams() to see if a value was sent in this field.
public final boolean hasExternalConnections()
public final List<RepositoryExternalConnectionInfo> externalConnections()
An array of external connections associated with the repository.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasExternalConnections() to see if a value was sent in this field.
public RepositoryDescription.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RepositoryDescription.Builder,RepositoryDescription>public static RepositoryDescription.Builder builder()
public static Class<? extends RepositoryDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.