@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegionalBucket extends Object implements Serializable, Cloneable
The container for the regional bucket.
Constructor and Description |
---|
RegionalBucket() |
Modifier and Type | Method and Description |
---|---|
RegionalBucket |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
|
String |
getBucketArn()
The Amazon Resource Name (ARN) for the regional bucket.
|
Date |
getCreationDate()
The creation date of the regional bucket
|
String |
getOutpostId()
The Outposts ID of the regional bucket.
|
Boolean |
getPublicAccessBlockEnabled()
|
int |
hashCode() |
Boolean |
isPublicAccessBlockEnabled()
|
void |
setBucket(String bucket)
|
void |
setBucketArn(String bucketArn)
The Amazon Resource Name (ARN) for the regional bucket.
|
void |
setCreationDate(Date creationDate)
The creation date of the regional bucket
|
void |
setOutpostId(String outpostId)
The Outposts ID of the regional bucket.
|
void |
setPublicAccessBlockEnabled(Boolean publicAccessBlockEnabled)
|
String |
toString()
Returns a string representation of this object.
|
RegionalBucket |
withBucket(String bucket)
|
RegionalBucket |
withBucketArn(String bucketArn)
The Amazon Resource Name (ARN) for the regional bucket.
|
RegionalBucket |
withCreationDate(Date creationDate)
The creation date of the regional bucket
|
RegionalBucket |
withOutpostId(String outpostId)
The Outposts ID of the regional bucket.
|
RegionalBucket |
withPublicAccessBlockEnabled(Boolean publicAccessBlockEnabled)
|
public void setBucket(String bucket)
bucket
- public String getBucket()
public RegionalBucket withBucket(String bucket)
bucket
- public void setBucketArn(String bucketArn)
The Amazon Resource Name (ARN) for the regional bucket.
bucketArn
- The Amazon Resource Name (ARN) for the regional bucket.public String getBucketArn()
The Amazon Resource Name (ARN) for the regional bucket.
public RegionalBucket withBucketArn(String bucketArn)
The Amazon Resource Name (ARN) for the regional bucket.
bucketArn
- The Amazon Resource Name (ARN) for the regional bucket.public void setPublicAccessBlockEnabled(Boolean publicAccessBlockEnabled)
publicAccessBlockEnabled
- public Boolean getPublicAccessBlockEnabled()
public RegionalBucket withPublicAccessBlockEnabled(Boolean publicAccessBlockEnabled)
publicAccessBlockEnabled
- public Boolean isPublicAccessBlockEnabled()
public void setCreationDate(Date creationDate)
The creation date of the regional bucket
creationDate
- The creation date of the regional bucketpublic Date getCreationDate()
The creation date of the regional bucket
public RegionalBucket withCreationDate(Date creationDate)
The creation date of the regional bucket
creationDate
- The creation date of the regional bucketpublic void setOutpostId(String outpostId)
The Outposts ID of the regional bucket.
outpostId
- The Outposts ID of the regional bucket.public String getOutpostId()
The Outposts ID of the regional bucket.
public RegionalBucket withOutpostId(String outpostId)
The Outposts ID of the regional bucket.
outpostId
- The Outposts ID of the regional bucket.public String toString()
toString
in class Object
Object.toString()
public RegionalBucket clone()