@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BucketCountBySharedAccessType extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the number of S3 buckets that are or aren't shared with other Amazon Web Services accounts, Amazon CloudFront origin access identities (OAIs), or CloudFront origin access controls (OACs). In this data, an Amazon Macie organization is defined as a set of Macie accounts that are centrally managed as a group of related accounts through Organizations or by Macie invitation.
Constructor and Description |
---|
BucketCountBySharedAccessType() |
Modifier and Type | Method and Description |
---|---|
BucketCountBySharedAccessType |
clone() |
boolean |
equals(Object obj) |
Long |
getExternal()
The total number of buckets that are shared with one or more of the following or any combination of the
following: an Amazon CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't in the same
Amazon Macie organization.
|
Long |
getInternal()
The total number of buckets that are shared with one or more Amazon Web Services accounts in the same Amazon
Macie organization.
|
Long |
getNotShared()
The total number of buckets that aren't shared with other Amazon Web Services accounts, Amazon CloudFront OAIs,
or CloudFront OACs.
|
Long |
getUnknown()
The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setExternal(Long external)
The total number of buckets that are shared with one or more of the following or any combination of the
following: an Amazon CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't in the same
Amazon Macie organization.
|
void |
setInternal(Long internal)
The total number of buckets that are shared with one or more Amazon Web Services accounts in the same Amazon
Macie organization.
|
void |
setNotShared(Long notShared)
The total number of buckets that aren't shared with other Amazon Web Services accounts, Amazon CloudFront OAIs,
or CloudFront OACs.
|
void |
setUnknown(Long unknown)
The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for.
|
String |
toString()
Returns a string representation of this object.
|
BucketCountBySharedAccessType |
withExternal(Long external)
The total number of buckets that are shared with one or more of the following or any combination of the
following: an Amazon CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't in the same
Amazon Macie organization.
|
BucketCountBySharedAccessType |
withInternal(Long internal)
The total number of buckets that are shared with one or more Amazon Web Services accounts in the same Amazon
Macie organization.
|
BucketCountBySharedAccessType |
withNotShared(Long notShared)
The total number of buckets that aren't shared with other Amazon Web Services accounts, Amazon CloudFront OAIs,
or CloudFront OACs.
|
BucketCountBySharedAccessType |
withUnknown(Long unknown)
The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for.
|
public void setExternal(Long external)
The total number of buckets that are shared with one or more of the following or any combination of the following: an Amazon CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't in the same Amazon Macie organization.
external
- The total number of buckets that are shared with one or more of the following or any combination of the
following: an Amazon CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't in the
same Amazon Macie organization.public Long getExternal()
The total number of buckets that are shared with one or more of the following or any combination of the following: an Amazon CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't in the same Amazon Macie organization.
public BucketCountBySharedAccessType withExternal(Long external)
The total number of buckets that are shared with one or more of the following or any combination of the following: an Amazon CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't in the same Amazon Macie organization.
external
- The total number of buckets that are shared with one or more of the following or any combination of the
following: an Amazon CloudFront OAI, a CloudFront OAC, or an Amazon Web Services account that isn't in the
same Amazon Macie organization.public void setInternal(Long internal)
The total number of buckets that are shared with one or more Amazon Web Services accounts in the same Amazon Macie organization. These buckets aren't shared with Amazon CloudFront OAIs or OACs.
internal
- The total number of buckets that are shared with one or more Amazon Web Services accounts in the same
Amazon Macie organization. These buckets aren't shared with Amazon CloudFront OAIs or OACs.public Long getInternal()
The total number of buckets that are shared with one or more Amazon Web Services accounts in the same Amazon Macie organization. These buckets aren't shared with Amazon CloudFront OAIs or OACs.
public BucketCountBySharedAccessType withInternal(Long internal)
The total number of buckets that are shared with one or more Amazon Web Services accounts in the same Amazon Macie organization. These buckets aren't shared with Amazon CloudFront OAIs or OACs.
internal
- The total number of buckets that are shared with one or more Amazon Web Services accounts in the same
Amazon Macie organization. These buckets aren't shared with Amazon CloudFront OAIs or OACs.public void setNotShared(Long notShared)
The total number of buckets that aren't shared with other Amazon Web Services accounts, Amazon CloudFront OAIs, or CloudFront OACs.
notShared
- The total number of buckets that aren't shared with other Amazon Web Services accounts, Amazon CloudFront
OAIs, or CloudFront OACs.public Long getNotShared()
The total number of buckets that aren't shared with other Amazon Web Services accounts, Amazon CloudFront OAIs, or CloudFront OACs.
public BucketCountBySharedAccessType withNotShared(Long notShared)
The total number of buckets that aren't shared with other Amazon Web Services accounts, Amazon CloudFront OAIs, or CloudFront OACs.
notShared
- The total number of buckets that aren't shared with other Amazon Web Services accounts, Amazon CloudFront
OAIs, or CloudFront OACs.public void setUnknown(Long unknown)
The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other Amazon Web Services accounts, Amazon CloudFront OAIs, or CloudFront OACs.
unknown
- The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie
can't determine whether these buckets are shared with other Amazon Web Services accounts, Amazon
CloudFront OAIs, or CloudFront OACs.public Long getUnknown()
The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other Amazon Web Services accounts, Amazon CloudFront OAIs, or CloudFront OACs.
public BucketCountBySharedAccessType withUnknown(Long unknown)
The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie can't determine whether these buckets are shared with other Amazon Web Services accounts, Amazon CloudFront OAIs, or CloudFront OACs.
unknown
- The total number of buckets that Amazon Macie wasn't able to evaluate shared access settings for. Macie
can't determine whether these buckets are shared with other Amazon Web Services accounts, Amazon
CloudFront OAIs, or CloudFront OACs.public String toString()
toString
in class Object
Object.toString()
public BucketCountBySharedAccessType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.