@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryDescription extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
RepositoryDescription() |
Modifier and Type | Method and Description |
---|---|
RepositoryDescription |
clone() |
boolean |
equals(Object obj) |
String |
getAdministratorAccount()
The 12-digit account number of the AWS account that manages the repository.
|
String |
getArn()
The Amazon Resource Name (ARN) of the repository.
|
String |
getDescription()
A text description of the repository.
|
String |
getDomainName()
The name of the domain that contains the repository.
|
String |
getDomainOwner()
The 12-digit account number of the AWS account that owns the domain that contains the repository.
|
List<RepositoryExternalConnectionInfo> |
getExternalConnections()
An array of external connections associated with the repository.
|
String |
getName()
The name of the repository.
|
List<UpstreamRepositoryInfo> |
getUpstreams()
A list of upstream repositories to associate with the repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdministratorAccount(String administratorAccount)
The 12-digit account number of the AWS account that manages the repository.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the repository.
|
void |
setDescription(String description)
A text description of the repository.
|
void |
setDomainName(String domainName)
The name of the domain that contains the repository.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain that contains the repository.
|
void |
setExternalConnections(Collection<RepositoryExternalConnectionInfo> externalConnections)
An array of external connections associated with the repository.
|
void |
setName(String name)
The name of the repository.
|
void |
setUpstreams(Collection<UpstreamRepositoryInfo> upstreams)
A list of upstream repositories to associate with the repository.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryDescription |
withAdministratorAccount(String administratorAccount)
The 12-digit account number of the AWS account that manages the repository.
|
RepositoryDescription |
withArn(String arn)
The Amazon Resource Name (ARN) of the repository.
|
RepositoryDescription |
withDescription(String description)
A text description of the repository.
|
RepositoryDescription |
withDomainName(String domainName)
The name of the domain that contains the repository.
|
RepositoryDescription |
withDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain that contains the repository.
|
RepositoryDescription |
withExternalConnections(Collection<RepositoryExternalConnectionInfo> externalConnections)
An array of external connections associated with the repository.
|
RepositoryDescription |
withExternalConnections(RepositoryExternalConnectionInfo... externalConnections)
An array of external connections associated with the repository.
|
RepositoryDescription |
withName(String name)
The name of the repository.
|
RepositoryDescription |
withUpstreams(Collection<UpstreamRepositoryInfo> upstreams)
A list of upstream repositories to associate with the repository.
|
RepositoryDescription |
withUpstreams(UpstreamRepositoryInfo... upstreams)
A list of upstream repositories to associate with the repository.
|
public void setName(String name)
The name of the repository.
name
- The name of the repository.public String getName()
The name of the repository.
public RepositoryDescription withName(String name)
The name of the repository.
name
- The name of the repository.public void setAdministratorAccount(String administratorAccount)
The 12-digit account number of the AWS account that manages the repository.
administratorAccount
- The 12-digit account number of the AWS account that manages the repository.public String getAdministratorAccount()
The 12-digit account number of the AWS account that manages the repository.
public RepositoryDescription withAdministratorAccount(String administratorAccount)
The 12-digit account number of the AWS account that manages the repository.
administratorAccount
- The 12-digit account number of the AWS account that manages the repository.public void setDomainName(String domainName)
The name of the domain that contains the repository.
domainName
- The name of the domain that contains the repository.public String getDomainName()
The name of the domain that contains the repository.
public RepositoryDescription withDomainName(String domainName)
The name of the domain that contains the repository.
domainName
- The name of the domain that contains the repository.public void setDomainOwner(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.
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 String getDomainOwner()
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 RepositoryDescription withDomainOwner(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.
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 void setArn(String arn)
The Amazon Resource Name (ARN) of the repository.
arn
- The Amazon Resource Name (ARN) of the repository.public String getArn()
The Amazon Resource Name (ARN) of the repository.
public RepositoryDescription withArn(String arn)
The Amazon Resource Name (ARN) of the repository.
arn
- The Amazon Resource Name (ARN) of the repository.public void setDescription(String description)
A text description of the repository.
description
- A text description of the repository.public String getDescription()
A text description of the repository.
public RepositoryDescription withDescription(String description)
A text description of the repository.
description
- A text description of the repository.public List<UpstreamRepositoryInfo> getUpstreams()
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.
public void setUpstreams(Collection<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.
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.public RepositoryDescription withUpstreams(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.
NOTE: This method appends the values to the existing list (if any). Use
setUpstreams(java.util.Collection)
or withUpstreams(java.util.Collection)
if you want to
override the existing values.
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.public RepositoryDescription withUpstreams(Collection<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.
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.public List<RepositoryExternalConnectionInfo> getExternalConnections()
An array of external connections associated with the repository.
public void setExternalConnections(Collection<RepositoryExternalConnectionInfo> externalConnections)
An array of external connections associated with the repository.
externalConnections
- An array of external connections associated with the repository.public RepositoryDescription withExternalConnections(RepositoryExternalConnectionInfo... externalConnections)
An array of external connections associated with the repository.
NOTE: This method appends the values to the existing list (if any). Use
setExternalConnections(java.util.Collection)
or withExternalConnections(java.util.Collection)
if you want to override the existing values.
externalConnections
- An array of external connections associated with the repository.public RepositoryDescription withExternalConnections(Collection<RepositoryExternalConnectionInfo> externalConnections)
An array of external connections associated with the repository.
externalConnections
- An array of external connections associated with the repository.public String toString()
toString
in class Object
Object.toString()
public RepositoryDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.