@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRepositoryRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRepositoryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
An updated repository description.
|
String |
getDomain()
The name of the domain associated with the repository to update.
|
String |
getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
String |
getRepository()
The name of the repository to update.
|
List<UpstreamRepository> |
getUpstreams()
A list of upstream repositories to associate with the repository.
|
int |
hashCode() |
void |
setDescription(String description)
An updated repository description.
|
void |
setDomain(String domain)
The name of the domain associated with the repository to update.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
void |
setRepository(String repository)
The name of the repository to update.
|
void |
setUpstreams(Collection<UpstreamRepository> upstreams)
A list of upstream repositories to associate with the repository.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRepositoryRequest |
withDescription(String description)
An updated repository description.
|
UpdateRepositoryRequest |
withDomain(String domain)
The name of the domain associated with the repository to update.
|
UpdateRepositoryRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
UpdateRepositoryRequest |
withRepository(String repository)
The name of the repository to update.
|
UpdateRepositoryRequest |
withUpstreams(Collection<UpstreamRepository> upstreams)
A list of upstream repositories to associate with the repository.
|
UpdateRepositoryRequest |
withUpstreams(UpstreamRepository... upstreams)
A list of upstream repositories to associate with the repository.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDomain(String domain)
The name of the domain associated with the repository to update.
domain
- The name of the domain associated with the repository to update.public String getDomain()
The name of the domain associated with the repository to update.
public UpdateRepositoryRequest withDomain(String domain)
The name of the domain associated with the repository to update.
domain
- The name of the domain associated with the repository to update.public void setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public UpdateRepositoryRequest withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public void setRepository(String repository)
The name of the repository to update.
repository
- The name of the repository to update.public String getRepository()
The name of the repository to update.
public UpdateRepositoryRequest withRepository(String repository)
The name of the repository to update.
repository
- The name of the repository to update.public void setDescription(String description)
An updated repository description.
description
- An updated repository description.public String getDescription()
An updated repository description.
public UpdateRepositoryRequest withDescription(String description)
An updated repository description.
description
- An updated repository description.public List<UpstreamRepository> 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 CodeArtifact looks for a requested package version. For more information, see Working with upstream repositories.
public void setUpstreams(Collection<UpstreamRepository> 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 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 CodeArtifact looks for a requested package version. For
more information, see Working with upstream
repositories.public UpdateRepositoryRequest withUpstreams(UpstreamRepository... 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 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 CodeArtifact looks for a requested package version. For
more information, see Working with upstream
repositories.public UpdateRepositoryRequest withUpstreams(Collection<UpstreamRepository> 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 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 CodeArtifact looks for a requested package version. For
more information, see Working with upstream
repositories.public String toString()
toString
in class Object
Object.toString()
public UpdateRepositoryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()