@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Region extends Object implements Serializable, Cloneable
A Region that supports a Multi-Region Access Point as well as the associated bucket for the Region.
Constructor and Description |
---|
Region() |
Modifier and Type | Method and Description |
---|---|
Region |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The name of the associated bucket for the Region.
|
int |
hashCode() |
void |
setBucket(String bucket)
The name of the associated bucket for the Region.
|
String |
toString()
Returns a string representation of this object.
|
Region |
withBucket(String bucket)
The name of the associated bucket for the Region.
|
public void setBucket(String bucket)
The name of the associated bucket for the Region.
bucket
- The name of the associated bucket for the Region.public String getBucket()
The name of the associated bucket for the Region.
public Region withBucket(String bucket)
The name of the associated bucket for the Region.
bucket
- The name of the associated bucket for the Region.public String toString()
toString
in class Object
Object.toString()