@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegionReport extends Object implements Serializable, Cloneable
A combination of a bucket and Region that's part of a Multi-Region Access Point.
Constructor and Description |
---|
RegionReport() |
Modifier and Type | Method and Description |
---|---|
RegionReport |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the bucket.
|
String |
getBucketAccountId()
The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access
Point.
|
String |
getRegion()
The name of the Region.
|
int |
hashCode() |
void |
setBucket(String bucket)
The name of the bucket.
|
void |
setBucketAccountId(String bucketAccountId)
The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access
Point.
|
void |
setRegion(String region)
The name of the Region.
|
String |
toString()
Returns a string representation of this object.
|
RegionReport |
withBucket(String bucket)
The name of the bucket.
|
RegionReport |
withBucketAccountId(String bucketAccountId)
The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access
Point.
|
RegionReport |
withRegion(String region)
The name of the Region.
|
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 RegionReport withBucket(String bucket)
The name of the bucket.
bucket
- The name of the bucket.public void setRegion(String region)
The name of the Region.
region
- The name of the Region.public String getRegion()
The name of the Region.
public RegionReport withRegion(String region)
The name of the Region.
region
- The name of the Region.public void setBucketAccountId(String bucketAccountId)
The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.
bucketAccountId
- The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region
Access Point.public String getBucketAccountId()
The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.
public RegionReport withBucketAccountId(String bucketAccountId)
The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.
bucketAccountId
- The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region
Access Point.public String toString()
toString
in class Object
Object.toString()
public RegionReport clone()