@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteBucketRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteBucketRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteBucketRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBucketName()
The name of the bucket to delete.
|
Boolean |
getForceDelete()
A Boolean value that indicates whether to force delete the bucket.
|
int |
hashCode() |
Boolean |
isForceDelete()
A Boolean value that indicates whether to force delete the bucket.
|
void |
setBucketName(String bucketName)
The name of the bucket to delete.
|
void |
setForceDelete(Boolean forceDelete)
A Boolean value that indicates whether to force delete the bucket.
|
String |
toString()
Returns a string representation of this object.
|
DeleteBucketRequest |
withBucketName(String bucketName)
The name of the bucket to delete.
|
DeleteBucketRequest |
withForceDelete(Boolean forceDelete)
A Boolean value that indicates whether to force delete the bucket.
|
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 setBucketName(String bucketName)
The name of the bucket to delete.
Use the GetBuckets action to get a list of bucket names that you can specify.
bucketName
- The name of the bucket to delete.
Use the GetBuckets action to get a list of bucket names that you can specify.
public String getBucketName()
The name of the bucket to delete.
Use the GetBuckets action to get a list of bucket names that you can specify.
Use the GetBuckets action to get a list of bucket names that you can specify.
public DeleteBucketRequest withBucketName(String bucketName)
The name of the bucket to delete.
Use the GetBuckets action to get a list of bucket names that you can specify.
bucketName
- The name of the bucket to delete.
Use the GetBuckets action to get a list of bucket names that you can specify.
public void setForceDelete(Boolean forceDelete)
A Boolean value that indicates whether to force delete the bucket.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
forceDelete
- A Boolean value that indicates whether to force delete the bucket.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
public Boolean getForceDelete()
A Boolean value that indicates whether to force delete the bucket.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
public DeleteBucketRequest withForceDelete(Boolean forceDelete)
A Boolean value that indicates whether to force delete the bucket.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
forceDelete
- A Boolean value that indicates whether to force delete the bucket.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
public Boolean isForceDelete()
A Boolean value that indicates whether to force delete the bucket.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
You must force delete the bucket if it has one of the following conditions:
The bucket is the origin of a distribution.
The bucket has instances that were granted access to it using the SetResourceAccessForBucket action.
The bucket has objects.
The bucket has access keys.
Force deleting a bucket might impact other resources that rely on the bucket, such as instances, distributions, or software that use the issued access keys.
public String toString()
toString
in class Object
Object.toString()
public DeleteBucketRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()