@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletePackageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Deletes a package from OpenSearch Service. The package can't be associated with any OpenSearch Service domain.
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 |
getPackageID()
The internal ID of the package you want to delete.
|
int |
hashCode() |
void |
setPackageID(String packageID)
The internal ID of the package you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeletePackageRequest |
withPackageID(String packageID)
The internal ID of the package you want 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 setPackageID(String packageID)
The internal ID of the package you want to delete. Use DescribePackages
to find this value.
packageID
- The internal ID of the package you want to delete. Use DescribePackages
to find this value.public String getPackageID()
The internal ID of the package you want to delete. Use DescribePackages
to find this value.
DescribePackages
to find this value.public DeletePackageRequest withPackageID(String packageID)
The internal ID of the package you want to delete. Use DescribePackages
to find this value.
packageID
- The internal ID of the package you want to delete. Use DescribePackages
to find this value.public String toString()
toString
in class Object
Object.toString()
public DeletePackageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()