Class Region
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.Region
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Region.Builder,Region>
@Generated("software.amazon.awssdk:codegen") public final class Region extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Region.Builder,Region>
A Region that supports a Multi-Region Access Point as well as the associated bucket for the Region.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRegion.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()The name of the associated bucket for the Region.StringbucketAccountId()The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.static Region.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Region.Builder>serializableBuilderClass()Region.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
The name of the associated bucket for the Region.
- Returns:
- The name of the associated bucket for the Region.
-
bucketAccountId
public final String bucketAccountId()
The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.
- Returns:
- The Amazon Web Services account ID that owns the Amazon S3 bucket that's associated with this Multi-Region Access Point.
-
toBuilder
public Region.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Region.Builder,Region>
-
builder
public static Region.Builder builder()
-
serializableBuilderClass
public static Class<? extends Region.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-