@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClassificationResult extends Object implements Serializable, Cloneable, StructuredPojo
Provides detailed information about a sensitive data finding, including the types and number of occurrences of the data that was found.
Constructor and Description |
---|
ClassificationResult() |
Modifier and Type | Method and Description |
---|---|
ClassificationResult |
clone() |
boolean |
equals(Object obj) |
CustomDataIdentifiers |
getCustomDataIdentifiers()
The number of occurrences of the data that produced the finding, and the custom data identifiers that detected
the data.
|
String |
getMimeType()
The type of content, expressed as a MIME type, that the finding applies to.
|
List<SensitiveDataItem> |
getSensitiveData()
The category 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The number of occurrences of the data that produced the finding, and the custom data identifiers that detected
the data.
|
void |
setMimeType(String mimeType)
The type of content, expressed as a MIME type, that the finding applies to.
|
void |
setSensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category 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 |
withCustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The number of occurrences of the data that produced the finding, and the custom data identifiers that detected
the data.
|
ClassificationResult |
withMimeType(String mimeType)
The type of content, expressed as a MIME type, that the finding applies to.
|
ClassificationResult |
withSensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
|
ClassificationResult |
withSensitiveData(SensitiveDataItem... sensitiveData)
The category 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 setCustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The number of occurrences of the data that produced the finding, and the custom data identifiers that detected the data.
customDataIdentifiers
- The number of occurrences of the data that produced the finding, and the custom data identifiers that
detected the data.public CustomDataIdentifiers getCustomDataIdentifiers()
The number of occurrences of the data that produced the finding, and the custom data identifiers that detected the data.
public ClassificationResult withCustomDataIdentifiers(CustomDataIdentifiers customDataIdentifiers)
The number of occurrences of the data that produced the finding, and the custom data identifiers that detected the data.
customDataIdentifiers
- The number of occurrences of the data that produced the finding, and the custom data identifiers that
detected the data.public void setMimeType(String mimeType)
The type of content, expressed 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 PDF file.
mimeType
- The type of content, expressed 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 PDF file.public String getMimeType()
The type of content, expressed 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 PDF file.
public ClassificationResult withMimeType(String mimeType)
The type of content, expressed 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 PDF file.
mimeType
- The type of content, expressed 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 PDF file.public List<SensitiveDataItem> getSensitiveData()
The category and number of occurrences of the sensitive data that produced the finding.
public void setSensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
sensitiveData
- The category and number of occurrences of the sensitive data that produced the finding.public ClassificationResult withSensitiveData(SensitiveDataItem... sensitiveData)
The category 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 and number of occurrences of the sensitive data that produced the finding.public ClassificationResult withSensitiveData(Collection<SensitiveDataItem> sensitiveData)
The category and number of occurrences of the sensitive data that produced the finding.
sensitiveData
- The category 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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.