@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, withSdkRequestTimeout
public 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.PackageFormat
public String getFormat()
The format of the requested package to delete.
PackageFormat
public DeletePackageRequest withFormat(String format)
The format of the requested package to delete.
format
- The format of the requested package to delete.PackageFormat
public DeletePackageRequest withFormat(PackageFormat format)
The format of the requested package to delete.
format
- The format of the requested package to delete.PackageFormat
public 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 is required when deleting 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 package to delete. The package component that specifies its namespace depends on its
type. For example: The namespace is required when deleting 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 package to delete. The package component that specifies its namespace depends on its type. For example:
The namespace is required when deleting 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 deleting 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 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 is required when deleting 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 package to delete. The package component that specifies its namespace depends on its
type. For example: The namespace is required when deleting 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 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 Object
Object.toString()
public DeletePackageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()