@Generated(value="software.amazon.awssdk:codegen") public final class BucketPublicAccess extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BucketPublicAccess.Builder,BucketPublicAccess>
Provides information about the permissions settings that determine whether an S3 bucket is publicly accessible.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BucketPublicAccess.Builder |
| Modifier and Type | Method and Description |
|---|---|
static BucketPublicAccess.Builder |
builder() |
EffectivePermission |
effectivePermission()
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to
the bucket.
|
String |
effectivePermissionAsString()
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to
the bucket.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
BucketPermissionConfiguration |
permissionConfiguration()
The account-level and bucket-level permissions settings for the bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BucketPublicAccess.Builder> |
serializableBuilderClass() |
BucketPublicAccess.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EffectivePermission effectivePermission()
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:
NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
If the service returns an enum value that is not available in the current SDK version,
effectivePermission will return EffectivePermission.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from effectivePermissionAsString().
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:
NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
EffectivePermissionpublic final String effectivePermissionAsString()
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:
NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
If the service returns an enum value that is not available in the current SDK version,
effectivePermission will return EffectivePermission.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from effectivePermissionAsString().
Specifies whether the bucket is publicly accessible due to the combination of permissions settings that apply to the bucket. Possible values are:
NOT_PUBLIC - The bucket isn't publicly accessible.
PUBLIC - The bucket is publicly accessible.
UNKNOWN - Amazon Macie can't determine whether the bucket is publicly accessible.
EffectivePermissionpublic final BucketPermissionConfiguration permissionConfiguration()
The account-level and bucket-level permissions settings for the bucket.
public BucketPublicAccess.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<BucketPublicAccess.Builder,BucketPublicAccess>public static BucketPublicAccess.Builder builder()
public static Class<? extends BucketPublicAccess.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.