@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBucketRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateBucketRequest() |
Modifier and Type | Method and Description |
---|---|
CreateBucketRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getACL()
The canned ACL to apply to the bucket.
|
String |
getBucket()
The name of the bucket.
|
CreateBucketConfiguration |
getCreateBucketConfiguration()
The configuration information for the bucket.
|
String |
getGrantFullControl()
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
|
String |
getGrantRead()
Allows grantee to list the objects in the bucket.
|
String |
getGrantReadACP()
Allows grantee to read the bucket ACL.
|
String |
getGrantWrite()
Allows grantee to create, overwrite, and delete any object in the bucket.
|
String |
getGrantWriteACP()
Allows grantee to write the ACL for the applicable bucket.
|
Boolean |
getObjectLockEnabledForBucket()
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
|
String |
getOutpostId()
The ID of the Outposts where the bucket is being created.
|
int |
hashCode() |
Boolean |
isObjectLockEnabledForBucket()
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
|
void |
setACL(String aCL)
The canned ACL to apply to the bucket.
|
void |
setBucket(String bucket)
The name of the bucket.
|
void |
setCreateBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
The configuration information for the bucket.
|
void |
setGrantFullControl(String grantFullControl)
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
|
void |
setGrantRead(String grantRead)
Allows grantee to list the objects in the bucket.
|
void |
setGrantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
|
void |
setGrantWrite(String grantWrite)
Allows grantee to create, overwrite, and delete any object in the bucket.
|
void |
setGrantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable bucket.
|
void |
setObjectLockEnabledForBucket(Boolean objectLockEnabledForBucket)
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
|
void |
setOutpostId(String outpostId)
The ID of the Outposts where the bucket is being created.
|
String |
toString()
Returns a string representation of this object.
|
CreateBucketRequest |
withACL(BucketCannedACL aCL)
The canned ACL to apply to the bucket.
|
CreateBucketRequest |
withACL(String aCL)
The canned ACL to apply to the bucket.
|
CreateBucketRequest |
withBucket(String bucket)
The name of the bucket.
|
CreateBucketRequest |
withCreateBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
The configuration information for the bucket.
|
CreateBucketRequest |
withGrantFullControl(String grantFullControl)
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
|
CreateBucketRequest |
withGrantRead(String grantRead)
Allows grantee to list the objects in the bucket.
|
CreateBucketRequest |
withGrantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
|
CreateBucketRequest |
withGrantWrite(String grantWrite)
Allows grantee to create, overwrite, and delete any object in the bucket.
|
CreateBucketRequest |
withGrantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable bucket.
|
CreateBucketRequest |
withObjectLockEnabledForBucket(Boolean objectLockEnabledForBucket)
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
|
CreateBucketRequest |
withOutpostId(String outpostId)
The ID of the Outposts where the bucket is being created.
|
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 setACL(String aCL)
The canned ACL to apply to the bucket.
This is not supported by Amazon S3 on Outposts buckets.
aCL
- The canned ACL to apply to the bucket. This is not supported by Amazon S3 on Outposts buckets.
BucketCannedACL
public String getACL()
The canned ACL to apply to the bucket.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
BucketCannedACL
public CreateBucketRequest withACL(String aCL)
The canned ACL to apply to the bucket.
This is not supported by Amazon S3 on Outposts buckets.
aCL
- The canned ACL to apply to the bucket. This is not supported by Amazon S3 on Outposts buckets.
BucketCannedACL
public CreateBucketRequest withACL(BucketCannedACL aCL)
The canned ACL to apply to the bucket.
This is not supported by Amazon S3 on Outposts buckets.
aCL
- The canned ACL to apply to the bucket. This is not supported by Amazon S3 on Outposts buckets.
BucketCannedACL
public void setBucket(String bucket)
The name of the bucket.
bucket
- The name of the bucket.public String getBucket()
The name of the bucket.
public CreateBucketRequest withBucket(String bucket)
The name of the bucket.
bucket
- The name of the bucket.public void setCreateBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
The configuration information for the bucket.
This is not supported by Amazon S3 on Outposts buckets.
createBucketConfiguration
- The configuration information for the bucket. This is not supported by Amazon S3 on Outposts buckets.
public CreateBucketConfiguration getCreateBucketConfiguration()
The configuration information for the bucket.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public CreateBucketRequest withCreateBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
The configuration information for the bucket.
This is not supported by Amazon S3 on Outposts buckets.
createBucketConfiguration
- The configuration information for the bucket. This is not supported by Amazon S3 on Outposts buckets.
public void setGrantFullControl(String grantFullControl)
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantFullControl
- Allows grantee the read, write, read ACP, and write ACP permissions on the bucket. This is not supported by Amazon S3 on Outposts buckets.
public String getGrantFullControl()
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public CreateBucketRequest withGrantFullControl(String grantFullControl)
Allows grantee the read, write, read ACP, and write ACP permissions on the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantFullControl
- Allows grantee the read, write, read ACP, and write ACP permissions on the bucket. This is not supported by Amazon S3 on Outposts buckets.
public void setGrantRead(String grantRead)
Allows grantee to list the objects in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantRead
- Allows grantee to list the objects in the bucket. This is not supported by Amazon S3 on Outposts buckets.
public String getGrantRead()
Allows grantee to list the objects in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public CreateBucketRequest withGrantRead(String grantRead)
Allows grantee to list the objects in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantRead
- Allows grantee to list the objects in the bucket. This is not supported by Amazon S3 on Outposts buckets.
public void setGrantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
This is not supported by Amazon S3 on Outposts buckets.
grantReadACP
- Allows grantee to read the bucket ACL. This is not supported by Amazon S3 on Outposts buckets.
public String getGrantReadACP()
Allows grantee to read the bucket ACL.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public CreateBucketRequest withGrantReadACP(String grantReadACP)
Allows grantee to read the bucket ACL.
This is not supported by Amazon S3 on Outposts buckets.
grantReadACP
- Allows grantee to read the bucket ACL. This is not supported by Amazon S3 on Outposts buckets.
public void setGrantWrite(String grantWrite)
Allows grantee to create, overwrite, and delete any object in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantWrite
- Allows grantee to create, overwrite, and delete any object in the bucket. This is not supported by Amazon S3 on Outposts buckets.
public String getGrantWrite()
Allows grantee to create, overwrite, and delete any object in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public CreateBucketRequest withGrantWrite(String grantWrite)
Allows grantee to create, overwrite, and delete any object in the bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantWrite
- Allows grantee to create, overwrite, and delete any object in the bucket. This is not supported by Amazon S3 on Outposts buckets.
public void setGrantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantWriteACP
- Allows grantee to write the ACL for the applicable bucket. This is not supported by Amazon S3 on Outposts buckets.
public String getGrantWriteACP()
Allows grantee to write the ACL for the applicable bucket.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public CreateBucketRequest withGrantWriteACP(String grantWriteACP)
Allows grantee to write the ACL for the applicable bucket.
This is not supported by Amazon S3 on Outposts buckets.
grantWriteACP
- Allows grantee to write the ACL for the applicable bucket. This is not supported by Amazon S3 on Outposts buckets.
public void setObjectLockEnabledForBucket(Boolean objectLockEnabledForBucket)
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
This is not supported by Amazon S3 on Outposts buckets.
objectLockEnabledForBucket
- Specifies whether you want S3 Object Lock to be enabled for the new bucket. This is not supported by Amazon S3 on Outposts buckets.
public Boolean getObjectLockEnabledForBucket()
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public CreateBucketRequest withObjectLockEnabledForBucket(Boolean objectLockEnabledForBucket)
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
This is not supported by Amazon S3 on Outposts buckets.
objectLockEnabledForBucket
- Specifies whether you want S3 Object Lock to be enabled for the new bucket. This is not supported by Amazon S3 on Outposts buckets.
public Boolean isObjectLockEnabledForBucket()
Specifies whether you want S3 Object Lock to be enabled for the new bucket.
This is not supported by Amazon S3 on Outposts buckets.
This is not supported by Amazon S3 on Outposts buckets.
public void setOutpostId(String outpostId)
The ID of the Outposts where the bucket is being created.
This is required by Amazon S3 on Outposts buckets.
outpostId
- The ID of the Outposts where the bucket is being created. This is required by Amazon S3 on Outposts buckets.
public String getOutpostId()
The ID of the Outposts where the bucket is being created.
This is required by Amazon S3 on Outposts buckets.
This is required by Amazon S3 on Outposts buckets.
public CreateBucketRequest withOutpostId(String outpostId)
The ID of the Outposts where the bucket is being created.
This is required by Amazon S3 on Outposts buckets.
outpostId
- The ID of the Outposts where the bucket is being created. This is required by Amazon S3 on Outposts buckets.
public String toString()
toString
in class Object
Object.toString()
public CreateBucketRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()