@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClassificationResult extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of a sensitive data finding, including the types, number of occurrences, and locations of the sensitive data that was detected.
Constructor and Description |
---|
ClassificationResult() |
Modifier and Type | Method and Description |
---|---|
ClassificationResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAdditionalOccurrences()
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object.
|
CustomDataIdentifiers |
getCustomDataIdentifiers()
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they
detected.
|
String |
getMimeType()
The type of content, as a MIME type, that the finding applies to.
|
List<SensitiveDataItem> |
getSensitiveData()
The category, types, and number of occurrences of the sensitive data that produced the finding.
|
Long |
getSizeClassified()
The total size, in bytes, of the data that the finding applies to.
|
ClassificationResultStatus |
getStatus()
The status of the finding.
|
int |
hashCode() |
Boolean |
isAdditionalOccurrences()
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalOccurrences(Boolean additionalOccurrences)
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object.
|
void |
setCustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they
detected.
|
void |
setMimeType(String mimeType)
The type of content, as a MIME type, that the finding applies to.
|
void |
setSensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category, types, and number of occurrences of the sensitive data that produced the finding.
|
void |
setSizeClassified(Long sizeClassified)
The total size, in bytes, of the data that the finding applies to.
|
void |
setStatus(ClassificationResultStatus status)
The status of the finding.
|
String |
toString()
Returns a string representation of this object.
|
ClassificationResult |
withAdditionalOccurrences(Boolean additionalOccurrences)
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object.
|
ClassificationResult |
withCustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they
detected.
|
ClassificationResult |
withMimeType(String mimeType)
The type of content, as a MIME type, that the finding applies to.
|
ClassificationResult |
withSensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category, types, and number of occurrences of the sensitive data that produced the finding.
|
ClassificationResult |
withSensitiveData(SensitiveDataItem... sensitiveData)
The category, types, and number of occurrences of the sensitive data that produced the finding.
|
ClassificationResult |
withSizeClassified(Long sizeClassified)
The total size, in bytes, of the data that the finding applies to.
|
ClassificationResult |
withStatus(ClassificationResultStatus status)
The status of the finding.
|
public void setAdditionalOccurrences(Boolean additionalOccurrences)
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
additionalOccurrences
- Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A
finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
public Boolean getAdditionalOccurrences()
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
public ClassificationResult withAdditionalOccurrences(Boolean additionalOccurrences)
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
additionalOccurrences
- Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A
finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
public Boolean isAdditionalOccurrences()
Specifies whether Amazon Macie detected additional occurrences of sensitive data in the S3 object. A finding includes location data for a maximum of 15 occurrences of sensitive data.
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
This value can help you determine whether to investigate additional occurrences of sensitive data in an object. You can do this by referring to the corresponding sensitive data discovery result for the finding (classificationDetails.detailedResultsLocation).
public void setCustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
customDataIdentifiers
- The custom data identifiers that detected the sensitive data and the number of occurrences of the data
that they detected.public CustomDataIdentifiers getCustomDataIdentifiers()
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
public ClassificationResult withCustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The custom data identifiers that detected the sensitive data and the number of occurrences of the data that they detected.
customDataIdentifiers
- The custom data identifiers that detected the sensitive data and the number of occurrences of the data
that they detected.public void setMimeType(String mimeType)
The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.
mimeType
- The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU
Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.public String getMimeType()
The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.
public ClassificationResult withMimeType(String mimeType)
The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.
mimeType
- The type of content, as a MIME type, that the finding applies to. For example, application/gzip, for a GNU
Gzip compressed archive file, or application/pdf, for an Adobe Portable Document Format file.public List<SensitiveDataItem> getSensitiveData()
The category, types, and number of occurrences of the sensitive data that produced the finding.
public void setSensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category, types, and number of occurrences of the sensitive data that produced the finding.
sensitiveData
- The category, types, and number of occurrences of the sensitive data that produced the finding.public ClassificationResult withSensitiveData(SensitiveDataItem... sensitiveData)
The category, types, and number of occurrences of the sensitive data that produced the finding.
NOTE: This method appends the values to the existing list (if any). Use
setSensitiveData(java.util.Collection)
or withSensitiveData(java.util.Collection)
if you want
to override the existing values.
sensitiveData
- The category, types, and number of occurrences of the sensitive data that produced the finding.public ClassificationResult withSensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category, types, and number of occurrences of the sensitive data that produced the finding.
sensitiveData
- The category, types, and number of occurrences of the sensitive data that produced the finding.public void setSizeClassified(Long sizeClassified)
The total size, in bytes, of the data that the finding applies to.
sizeClassified
- The total size, in bytes, of the data that the finding applies to.public Long getSizeClassified()
The total size, in bytes, of the data that the finding applies to.
public ClassificationResult withSizeClassified(Long sizeClassified)
The total size, in bytes, of the data that the finding applies to.
sizeClassified
- The total size, in bytes, of the data that the finding applies to.public void setStatus(ClassificationResultStatus status)
The status of the finding.
status
- The status of the finding.public ClassificationResultStatus getStatus()
The status of the finding.
public ClassificationResult withStatus(ClassificationResultStatus status)
The status of the finding.
status
- The status of the finding.public String toString()
toString
in class Object
Object.toString()
public ClassificationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.