@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClassificationResult extends Object implements Serializable, Cloneable, StructuredPojo
Details about the sensitive data that was detected on the resource.
Constructor and Description |
---|
ClassificationResult() |
Modifier and Type | Method and Description |
---|---|
ClassificationResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAdditionalOccurrences()
Indicates whether there are additional occurrences of sensitive data that are not included in the finding.
|
CustomDataIdentifiersResult |
getCustomDataIdentifiers()
Provides details about sensitive data that was identified based on customer-defined configuration.
|
String |
getMimeType()
The type of content that the finding applies to.
|
List<SensitiveDataResult> |
getSensitiveData()
Provides details about sensitive data that was identified based on built-in configuration.
|
Long |
getSizeClassified()
The total size in bytes of the affected data.
|
ClassificationStatus |
getStatus()
The current status of the sensitive data detection.
|
int |
hashCode() |
Boolean |
isAdditionalOccurrences()
Indicates whether there are additional occurrences of sensitive data that are not included in the finding.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalOccurrences(Boolean additionalOccurrences)
Indicates whether there are additional occurrences of sensitive data that are not included in the finding.
|
void |
setCustomDataIdentifiers(CustomDataIdentifiersResult customDataIdentifiers)
Provides details about sensitive data that was identified based on customer-defined configuration.
|
void |
setMimeType(String mimeType)
The type of content that the finding applies to.
|
void |
setSensitiveData(Collection<SensitiveDataResult> sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
|
void |
setSizeClassified(Long sizeClassified)
The total size in bytes of the affected data.
|
void |
setStatus(ClassificationStatus status)
The current status of the sensitive data detection.
|
String |
toString()
Returns a string representation of this object.
|
ClassificationResult |
withAdditionalOccurrences(Boolean additionalOccurrences)
Indicates whether there are additional occurrences of sensitive data that are not included in the finding.
|
ClassificationResult |
withCustomDataIdentifiers(CustomDataIdentifiersResult customDataIdentifiers)
Provides details about sensitive data that was identified based on customer-defined configuration.
|
ClassificationResult |
withMimeType(String mimeType)
The type of content that the finding applies to.
|
ClassificationResult |
withSensitiveData(Collection<SensitiveDataResult> sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
|
ClassificationResult |
withSensitiveData(SensitiveDataResult... sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
|
ClassificationResult |
withSizeClassified(Long sizeClassified)
The total size in bytes of the affected data.
|
ClassificationResult |
withStatus(ClassificationStatus status)
The current status of the sensitive data detection.
|
public void setMimeType(String mimeType)
The type of content that the finding applies to.
mimeType
- The type of content that the finding applies to.public String getMimeType()
The type of content that the finding applies to.
public ClassificationResult withMimeType(String mimeType)
The type of content that the finding applies to.
mimeType
- The type of content that the finding applies to.public void setSizeClassified(Long sizeClassified)
The total size in bytes of the affected data.
sizeClassified
- The total size in bytes of the affected data.public Long getSizeClassified()
The total size in bytes of the affected data.
public ClassificationResult withSizeClassified(Long sizeClassified)
The total size in bytes of the affected data.
sizeClassified
- The total size in bytes of the affected data.public void setAdditionalOccurrences(Boolean additionalOccurrences)
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
additionalOccurrences
- Indicates whether there are additional occurrences of sensitive data that are not included in the finding.
This occurs when the number of occurrences exceeds the maximum that can be included.public Boolean getAdditionalOccurrences()
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
public ClassificationResult withAdditionalOccurrences(Boolean additionalOccurrences)
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
additionalOccurrences
- Indicates whether there are additional occurrences of sensitive data that are not included in the finding.
This occurs when the number of occurrences exceeds the maximum that can be included.public Boolean isAdditionalOccurrences()
Indicates whether there are additional occurrences of sensitive data that are not included in the finding. This occurs when the number of occurrences exceeds the maximum that can be included.
public void setStatus(ClassificationStatus status)
The current status of the sensitive data detection.
status
- The current status of the sensitive data detection.public ClassificationStatus getStatus()
The current status of the sensitive data detection.
public ClassificationResult withStatus(ClassificationStatus status)
The current status of the sensitive data detection.
status
- The current status of the sensitive data detection.public List<SensitiveDataResult> getSensitiveData()
Provides details about sensitive data that was identified based on built-in configuration.
public void setSensitiveData(Collection<SensitiveDataResult> sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
sensitiveData
- Provides details about sensitive data that was identified based on built-in configuration.public ClassificationResult withSensitiveData(SensitiveDataResult... sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
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
- Provides details about sensitive data that was identified based on built-in configuration.public ClassificationResult withSensitiveData(Collection<SensitiveDataResult> sensitiveData)
Provides details about sensitive data that was identified based on built-in configuration.
sensitiveData
- Provides details about sensitive data that was identified based on built-in configuration.public void setCustomDataIdentifiers(CustomDataIdentifiersResult customDataIdentifiers)
Provides details about sensitive data that was identified based on customer-defined configuration.
customDataIdentifiers
- Provides details about sensitive data that was identified based on customer-defined configuration.public CustomDataIdentifiersResult getCustomDataIdentifiers()
Provides details about sensitive data that was identified based on customer-defined configuration.
public ClassificationResult withCustomDataIdentifiers(CustomDataIdentifiersResult customDataIdentifiers)
Provides details about sensitive data that was identified based on customer-defined configuration.
customDataIdentifiers
- Provides details about sensitive data that was identified based on customer-defined configuration.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.