@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DescribePackageRequest() |
| Modifier and Type | Method and Description |
|---|---|
DescribePackageRequest |
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.
|
String |
getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
String |
getFormat()
A format that specifies the type of the requested package.
|
String |
getNamespace()
The namespace of the requested package.
|
String |
getPackage()
The name of the requested package.
|
String |
getRepository()
The name of the repository that contains the requested package.
|
int |
hashCode() |
void |
setDomain(String domain)
The name of the domain that contains the repository that contains the package.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
void |
setFormat(String format)
A format that specifies the type of the requested package.
|
void |
setNamespace(String namespace)
The namespace of the requested package.
|
void |
setPackage(String packageValue)
The name of the requested package.
|
void |
setRepository(String repository)
The name of the repository that contains the requested package.
|
String |
toString()
Returns a string representation of this object.
|
DescribePackageRequest |
withDomain(String domain)
The name of the domain that contains the repository that contains the package.
|
DescribePackageRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
DescribePackageRequest |
withFormat(PackageFormat format)
A format that specifies the type of the requested package.
|
DescribePackageRequest |
withFormat(String format)
A format that specifies the type of the requested package.
|
DescribePackageRequest |
withNamespace(String namespace)
The namespace of the requested package.
|
DescribePackageRequest |
withPackage(String packageValue)
The name of the requested package.
|
DescribePackageRequest |
withRepository(String repository)
The name of the repository that contains the requested package.
|
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 name of the domain that contains the repository that contains the package.
domain - The name of the domain that contains the repository that contains the package.public String getDomain()
The name of the domain that contains the repository that contains the package.
public DescribePackageRequest withDomain(String domain)
The name of the domain that contains the repository that contains the package.
domain - The name of the domain that contains the repository that contains the package.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 DescribePackageRequest 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 that contains the requested package.
repository - The name of the repository that contains the requested package.public String getRepository()
The name of the repository that contains the requested package.
public DescribePackageRequest withRepository(String repository)
The name of the repository that contains the requested package.
repository - The name of the repository that contains the requested package.public void setFormat(String format)
A format that specifies the type of the requested package.
format - A format that specifies the type of the requested package.PackageFormatpublic String getFormat()
A format that specifies the type of the requested package.
PackageFormatpublic DescribePackageRequest withFormat(String format)
A format that specifies the type of the requested package.
format - A format that specifies the type of the requested package.PackageFormatpublic DescribePackageRequest withFormat(PackageFormat format)
A format that specifies the type of the requested package.
format - A format that specifies the type of the requested package.PackageFormatpublic void setNamespace(String namespace)
The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId.
The namespace of an npm or Swift package version is its scope.
The namespace of a generic package is its namespace.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace - The namespace of the requested package. The package component that specifies its namespace depends on its
type. For example: The namespace is required when requesting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId.
The namespace of an npm or Swift package version is its scope.
The namespace of a generic package is its namespace.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public String getNamespace()
The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId.
The namespace of an npm or Swift package version is its scope.
The namespace of a generic package is its namespace.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace is required when requesting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId.
The namespace of an npm or Swift package version is its scope.
The namespace of a generic package is its namespace.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public DescribePackageRequest withNamespace(String namespace)
The namespace of the requested package. The package component that specifies its namespace depends on its type. For example:
The namespace is required when requesting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId.
The namespace of an npm or Swift package version is its scope.
The namespace of a generic package is its namespace.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace - The namespace of the requested package. The package component that specifies its namespace depends on its
type. For example: The namespace is required when requesting packages of the following formats:
Maven
Swift
generic
The namespace of a Maven package version is its groupId.
The namespace of an npm or Swift package version is its scope.
The namespace of a generic package is its namespace.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public void setPackage(String packageValue)
The name of the requested package.
packageValue - The name of the requested package.public String getPackage()
The name of the requested package.
public DescribePackageRequest withPackage(String packageValue)
The name of the requested package.
packageValue - The name of the requested package.public String toString()
toString in class ObjectObject.toString()public DescribePackageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()