Class BucketInfo
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BucketInfo.Builder,BucketInfo>
Specifies the information about the bucket that will be created. For more information about directory buckets, see Directory buckets in the Amazon S3 User Guide.
This functionality is only supported by directory buckets.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BucketInfo.Builderbuilder()final DataRedundancyThe number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.final StringThe number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends BucketInfo.Builder>final StringtoString()Returns a string representation of this object.final BucketTypetype()The type of bucket.final StringThe type of bucket.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
dataRedundancy
The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.
If the service returns an enum value that is not available in the current SDK version,
dataRedundancywill returnDataRedundancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataRedundancyAsString().- Returns:
- The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.
- See Also:
-
dataRedundancyAsString
The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.
If the service returns an enum value that is not available in the current SDK version,
dataRedundancywill returnDataRedundancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataRedundancyAsString().- Returns:
- The number of Zone (Availability Zone or Local Zone) that's used for redundancy for the bucket.
- See Also:
-
type
The type of bucket.
If the service returns an enum value that is not available in the current SDK version,
typewill returnBucketType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of bucket.
- See Also:
-
typeAsString
The type of bucket.
If the service returns an enum value that is not available in the current SDK version,
typewill returnBucketType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of bucket.
- See Also:
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<BucketInfo.Builder,BucketInfo>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-