@Generated(value="software.amazon.awssdk:codegen") public final class BucketCountByEffectivePermission extends Object implements SdkPojo, Serializable, ToCopyableBuilder<BucketCountByEffectivePermission.Builder,BucketCountByEffectivePermission>
Provides information about the number of S3 buckets that are publicly accessible based on a combination of permissions settings for each bucket.
Modifier and Type | Class and Description |
---|---|
static interface |
BucketCountByEffectivePermission.Builder |
Modifier and Type | Method and Description |
---|---|
static BucketCountByEffectivePermission.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
publiclyAccessible()
The total number of buckets that allow the general public to have read or write access to the bucket.
|
Long |
publiclyReadable()
The total number of buckets that allow the general public to have read access to the bucket.
|
Long |
publiclyWritable()
The total number of buckets that allow the general public to have write access to the bucket.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends BucketCountByEffectivePermission.Builder> |
serializableBuilderClass() |
BucketCountByEffectivePermission.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Long |
unknown()
The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for.
|
copy
public final Long publiclyAccessible()
The total number of buckets that allow the general public to have read or write access to the bucket.
public final Long publiclyReadable()
The total number of buckets that allow the general public to have read access to the bucket.
public final Long publiclyWritable()
The total number of buckets that allow the general public to have write access to the bucket.
public final Long unknown()
The total number of buckets that Amazon Macie wasn't able to evaluate permissions settings for. Macie can't determine whether these buckets are publicly accessible.
public BucketCountByEffectivePermission.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<BucketCountByEffectivePermission.Builder,BucketCountByEffectivePermission>
public static BucketCountByEffectivePermission.Builder builder()
public static Class<? extends BucketCountByEffectivePermission.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.