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