@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePackageVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribePackageVersionRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePackageVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomain()
The name of the domain that contains the repository that contains the package version.
|
String |
getDomainOwner()
The 12-digit account number of the AWS account that owns the domain.
|
String |
getFormat()
A format that specifies the type of the requested package version.
|
String |
getNamespace()
The namespace of the package.
|
String |
getPackage()
The name of the requested package version.
|
String |
getPackageVersion()
A string that contains the package version (for example,
3.5.2 ). |
String |
getRepository()
The name of the repository that contains the package version.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain that contains the repository that contains the package version.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
void |
setFormat(String format)
A format that specifies the type of the requested package version.
|
void |
setNamespace(String namespace)
The namespace of the package.
|
void |
setPackage(String packageValue)
The name of the requested package version.
|
void |
setPackageVersion(String packageVersion)
A string that contains the package version (for example,
3.5.2 ). |
void |
setRepository(String repository)
The name of the repository that contains the package version.
|
String |
toString()
Returns a string representation of this object.
|
DescribePackageVersionRequest |
withDomain(String domain)
The name of the domain that contains the repository that contains the package version.
|
DescribePackageVersionRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the AWS account that owns the domain.
|
DescribePackageVersionRequest |
withFormat(PackageFormat format)
A format that specifies the type of the requested package version.
|
DescribePackageVersionRequest |
withFormat(String format)
A format that specifies the type of the requested package version.
|
DescribePackageVersionRequest |
withNamespace(String namespace)
The namespace of the package.
|
DescribePackageVersionRequest |
withPackage(String packageValue)
The name of the requested package version.
|
DescribePackageVersionRequest |
withPackageVersion(String packageVersion)
A string that contains the package version (for example,
3.5.2 ). |
DescribePackageVersionRequest |
withRepository(String repository)
The name of the repository that contains the package version.
|
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 that contains the repository that contains the package version.
domain
- The name of the domain that contains the repository that contains the package version.public String getDomain()
The name of the domain that contains the repository that contains the package version.
public DescribePackageVersionRequest withDomain(String domain)
The name of the domain that contains the repository that contains the package version.
domain
- The name of the domain that contains the repository that contains the package version.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 DescribePackageVersionRequest 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 that contains the package version.
repository
- The name of the repository that contains the package version.public String getRepository()
The name of the repository that contains the package version.
public DescribePackageVersionRequest withRepository(String repository)
The name of the repository that contains the package version.
repository
- The name of the repository that contains the package version.public void setFormat(String format)
A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
format
- A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
PackageFormat
public String getFormat()
A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
npm
pypi
maven
PackageFormat
public DescribePackageVersionRequest withFormat(String format)
A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
format
- A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
PackageFormat
public DescribePackageVersionRequest withFormat(PackageFormat format)
A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
format
- A format that specifies the type of the requested package version. The valid values are:
npm
pypi
maven
PackageFormat
public void setNamespace(String namespace)
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
namespace
- The namespace of the package. The package component that specifies its namespace depends on its type. For
example:
The namespace of a Maven package is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
public String getNamespace()
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
The namespace of a Maven package is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
public DescribePackageVersionRequest withNamespace(String namespace)
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
namespace
- The namespace of the package. The package component that specifies its namespace depends on its type. For
example:
The namespace of a Maven package is its groupId
.
The namespace of an npm package is its scope
.
A Python package does not contain a corresponding component, so Python packages do not have a namespace.
public void setPackage(String packageValue)
The name of the requested package version.
packageValue
- The name of the requested package version.public String getPackage()
The name of the requested package version.
public DescribePackageVersionRequest withPackage(String packageValue)
The name of the requested package version.
packageValue
- The name of the requested package version.public void setPackageVersion(String packageVersion)
A string that contains the package version (for example, 3.5.2
).
packageVersion
- A string that contains the package version (for example, 3.5.2
).public String getPackageVersion()
A string that contains the package version (for example, 3.5.2
).
3.5.2
).public DescribePackageVersionRequest withPackageVersion(String packageVersion)
A string that contains the package version (for example, 3.5.2
).
packageVersion
- A string that contains the package version (for example, 3.5.2
).public String toString()
toString
in class Object
Object.toString()
public DescribePackageVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.