@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) |
Boolean |
getForceDelete()
Delete the package even if it has artifacts stored in its access point.
|
String |
getPackageId()
The package's ID.
|
int |
hashCode() |
Boolean |
isForceDelete()
Delete the package even if it has artifacts stored in its access point.
|
void |
setForceDelete(Boolean forceDelete)
Delete the package even if it has artifacts stored in its access point.
|
void |
setPackageId(String packageId)
The package's ID.
|
String |
toString()
Returns a string representation of this object.
|
DeletePackageRequest |
withForceDelete(Boolean forceDelete)
Delete the package even if it has artifacts stored in its access point.
|
DeletePackageRequest |
withPackageId(String packageId)
The package's ID.
|
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 setForceDelete(Boolean forceDelete)
Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.
forceDelete - Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts
from Amazon S3.public Boolean getForceDelete()
Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.
public DeletePackageRequest withForceDelete(Boolean forceDelete)
Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.
forceDelete - Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts
from Amazon S3.public Boolean isForceDelete()
Delete the package even if it has artifacts stored in its access point. Deletes the package's artifacts from Amazon S3.
public void setPackageId(String packageId)
The package's ID.
packageId - The package's ID.public String getPackageId()
The package's ID.
public DeletePackageRequest withPackageId(String packageId)
The package's ID.
packageId - The package's ID.public String toString()
toString in class ObjectObject.toString()public DeletePackageRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()