Class S3ExpressDirectoryBucketConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.accessanalyzer.model.S3ExpressDirectoryBucketConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3ExpressDirectoryBucketConfiguration.Builder,S3ExpressDirectoryBucketConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class S3ExpressDirectoryBucketConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3ExpressDirectoryBucketConfiguration.Builder,S3ExpressDirectoryBucketConfiguration>
Proposed access control configuration for an Amazon S3 directory bucket. You can propose a configuration for a new Amazon S3 directory bucket or an existing Amazon S3 directory bucket that you own by specifying the Amazon S3 bucket policy. If the configuration is for an existing Amazon S3 directory bucket and you do not specify the Amazon S3 bucket policy, the access preview uses the existing policy attached to the directory bucket. If the access preview is for a new resource and you do not specify the Amazon S3 bucket policy, the access preview assumes an directory bucket without a policy. To propose deletion of an existing bucket policy, you can specify an empty string. For more information about bucket policy limits, see Example bucket policies.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3ExpressDirectoryBucketConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbucketPolicy()The proposed bucket policy for the Amazon S3 directory bucket.static S3ExpressDirectoryBucketConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends S3ExpressDirectoryBucketConfiguration.Builder>serializableBuilderClass()S3ExpressDirectoryBucketConfiguration.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
-
bucketPolicy
public final String bucketPolicy()
The proposed bucket policy for the Amazon S3 directory bucket.
- Returns:
- The proposed bucket policy for the Amazon S3 directory bucket.
-
toBuilder
public S3ExpressDirectoryBucketConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3ExpressDirectoryBucketConfiguration.Builder,S3ExpressDirectoryBucketConfiguration>
-
builder
public static S3ExpressDirectoryBucketConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3ExpressDirectoryBucketConfiguration.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.
-
-