@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRepositoryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
CreateRepositoryRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateRepositoryRequest | 
clone()
Creates a shallow clone of this object for all fields except the handler context. 
 | 
boolean | 
equals(Object obj)  | 
String | 
getDescription()
 A description of the created repository. 
 | 
String | 
getDomain()
 The domain that contains the created repository. 
 | 
String | 
getDomainOwner()
 The 12-digit account number of the AWS account that owns the domain. 
 | 
String | 
getRepository()
 The name of the repository to create. 
 | 
List<UpstreamRepository> | 
getUpstreams()
 A list of upstream repositories to associate with the repository. 
 | 
int | 
hashCode()  | 
void | 
setDescription(String description)
 A description of the created repository. 
 | 
void | 
setDomain(String domain)
 The domain that contains the created repository. 
 | 
void | 
setDomainOwner(String domainOwner)
 The 12-digit account number of the AWS account that owns the domain. 
 | 
void | 
setRepository(String repository)
 The name of the repository to create. 
 | 
void | 
setUpstreams(Collection<UpstreamRepository> upstreams)
 A list of upstream repositories to associate with the repository. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateRepositoryRequest | 
withDescription(String description)
 A description of the created repository. 
 | 
CreateRepositoryRequest | 
withDomain(String domain)
 The domain that contains the created repository. 
 | 
CreateRepositoryRequest | 
withDomainOwner(String domainOwner)
 The 12-digit account number of the AWS account that owns the domain. 
 | 
CreateRepositoryRequest | 
withRepository(String repository)
 The name of the repository to create. 
 | 
CreateRepositoryRequest | 
withUpstreams(Collection<UpstreamRepository> upstreams)
 A list of upstream repositories to associate with the repository. 
 | 
CreateRepositoryRequest | 
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, withSdkRequestTimeoutpublic void setDomain(String domain)
The domain that contains the created repository.
domain - The domain that contains the created repository.public String getDomain()
The domain that contains the created repository.
public CreateRepositoryRequest withDomain(String domain)
The domain that contains the created repository.
domain - The domain that contains the created repository.public void setDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.public String getDomainOwner()
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
public CreateRepositoryRequest withDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
domainOwner - The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.public void setRepository(String repository)
The name of the repository to create.
repository - The name of the repository to create.public String getRepository()
The name of the repository to create.
public CreateRepositoryRequest withRepository(String repository)
The name of the repository to create.
repository - The name of the repository to create.public void setDescription(String description)
A description of the created repository.
description - A description of the created repository.public String getDescription()
A description of the created repository.
public CreateRepositoryRequest withDescription(String description)
A description of the created repository.
description - A description of the created repository.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 AWS 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 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 CreateRepositoryRequest 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 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 CreateRepositoryRequest 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 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 String toString()
toString in class ObjectObject.toString()public CreateRepositoryRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()