@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Finding extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about a finding.
Constructor and Description |
---|
Finding() |
Modifier and Type | Method and Description |
---|---|
Finding |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The identifier for the AWS account that the finding applies to.
|
Boolean |
getArchived()
Specifies whether the finding is archived.
|
String |
getCategory()
The category of the finding.
|
ClassificationDetails |
getClassificationDetails()
The details of a sensitive data finding.
|
Long |
getCount()
The total number of occurrences of this finding.
|
Date |
getCreatedAt()
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
|
String |
getDescription()
The description of the finding.
|
String |
getId()
The unique identifier for the finding.
|
String |
getPartition()
The AWS partition that Amazon Macie created the finding in.
|
PolicyDetails |
getPolicyDetails()
The details of a policy finding.
|
String |
getRegion()
The AWS Region that Amazon Macie created the finding in.
|
ResourcesAffected |
getResourcesAffected()
The resources that the finding applies to.
|
Boolean |
getSample()
Specifies whether the finding is a sample finding.
|
String |
getSchemaVersion()
The version of the schema that was used to define the data structures in the finding.
|
Severity |
getSeverity()
The severity of the finding.
|
String |
getTitle()
The brief description of the finding.
|
String |
getType()
The type of the finding.
|
Date |
getUpdatedAt()
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated.
|
int |
hashCode() |
Boolean |
isArchived()
Specifies whether the finding is archived.
|
Boolean |
isSample()
Specifies whether the finding is a sample finding.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The identifier for the AWS account that the finding applies to.
|
void |
setArchived(Boolean archived)
Specifies whether the finding is archived.
|
void |
setCategory(String category)
The category of the finding.
|
void |
setClassificationDetails(ClassificationDetails classificationDetails)
The details of a sensitive data finding.
|
void |
setCount(Long count)
The total number of occurrences of this finding.
|
void |
setCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
|
void |
setDescription(String description)
The description of the finding.
|
void |
setId(String id)
The unique identifier for the finding.
|
void |
setPartition(String partition)
The AWS partition that Amazon Macie created the finding in.
|
void |
setPolicyDetails(PolicyDetails policyDetails)
The details of a policy finding.
|
void |
setRegion(String region)
The AWS Region that Amazon Macie created the finding in.
|
void |
setResourcesAffected(ResourcesAffected resourcesAffected)
The resources that the finding applies to.
|
void |
setSample(Boolean sample)
Specifies whether the finding is a sample finding.
|
void |
setSchemaVersion(String schemaVersion)
The version of the schema that was used to define the data structures in the finding.
|
void |
setSeverity(Severity severity)
The severity of the finding.
|
void |
setTitle(String title)
The brief description of the finding.
|
void |
setType(String type)
The type of the finding.
|
void |
setUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated.
|
String |
toString()
Returns a string representation of this object.
|
Finding |
withAccountId(String accountId)
The identifier for the AWS account that the finding applies to.
|
Finding |
withArchived(Boolean archived)
Specifies whether the finding is archived.
|
Finding |
withCategory(FindingCategory category)
The category of the finding.
|
Finding |
withCategory(String category)
The category of the finding.
|
Finding |
withClassificationDetails(ClassificationDetails classificationDetails)
The details of a sensitive data finding.
|
Finding |
withCount(Long count)
The total number of occurrences of this finding.
|
Finding |
withCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
|
Finding |
withDescription(String description)
The description of the finding.
|
Finding |
withId(String id)
The unique identifier for the finding.
|
Finding |
withPartition(String partition)
The AWS partition that Amazon Macie created the finding in.
|
Finding |
withPolicyDetails(PolicyDetails policyDetails)
The details of a policy finding.
|
Finding |
withRegion(String region)
The AWS Region that Amazon Macie created the finding in.
|
Finding |
withResourcesAffected(ResourcesAffected resourcesAffected)
The resources that the finding applies to.
|
Finding |
withSample(Boolean sample)
Specifies whether the finding is a sample finding.
|
Finding |
withSchemaVersion(String schemaVersion)
The version of the schema that was used to define the data structures in the finding.
|
Finding |
withSeverity(Severity severity)
The severity of the finding.
|
Finding |
withTitle(String title)
The brief description of the finding.
|
Finding |
withType(FindingType type)
The type of the finding.
|
Finding |
withType(String type)
The type of the finding.
|
Finding |
withUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated.
|
public void setAccountId(String accountId)
The identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.
accountId
- The identifier for the AWS account that the finding applies to. This is typically the account that owns
the affected resource.public String getAccountId()
The identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.
public Finding withAccountId(String accountId)
The identifier for the AWS account that the finding applies to. This is typically the account that owns the affected resource.
accountId
- The identifier for the AWS account that the finding applies to. This is typically the account that owns
the affected resource.public void setArchived(Boolean archived)
Specifies whether the finding is archived.
archived
- Specifies whether the finding is archived.public Boolean getArchived()
Specifies whether the finding is archived.
public Finding withArchived(Boolean archived)
Specifies whether the finding is archived.
archived
- Specifies whether the finding is archived.public Boolean isArchived()
Specifies whether the finding is archived.
public void setCategory(String category)
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
category
- The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and,
POLICY, for a policy finding.FindingCategory
public String getCategory()
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
FindingCategory
public Finding withCategory(String category)
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
category
- The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and,
POLICY, for a policy finding.FindingCategory
public Finding withCategory(FindingCategory category)
The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and, POLICY, for a policy finding.
category
- The category of the finding. Possible values are: CLASSIFICATION, for a sensitive data finding; and,
POLICY, for a policy finding.FindingCategory
public void setClassificationDetails(ClassificationDetails classificationDetails)
The details of a sensitive data finding. This value is null for a policy finding.
classificationDetails
- The details of a sensitive data finding. This value is null for a policy finding.public ClassificationDetails getClassificationDetails()
The details of a sensitive data finding. This value is null for a policy finding.
public Finding withClassificationDetails(ClassificationDetails classificationDetails)
The details of a sensitive data finding. This value is null for a policy finding.
classificationDetails
- The details of a sensitive data finding. This value is null for a policy finding.public void setCount(Long count)
The total number of occurrences of this finding.
count
- The total number of occurrences of this finding.public Long getCount()
The total number of occurrences of this finding.
public Finding withCount(Long count)
The total number of occurrences of this finding.
count
- The total number of occurrences of this finding.public void setCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
createdAt
- The date and time, in UTC and extended ISO 8601 format, when the finding was created.public Date getCreatedAt()
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
public Finding withCreatedAt(Date createdAt)
The date and time, in UTC and extended ISO 8601 format, when the finding was created.
createdAt
- The date and time, in UTC and extended ISO 8601 format, when the finding was created.public void setDescription(String description)
The description of the finding.
description
- The description of the finding.public String getDescription()
The description of the finding.
public Finding withDescription(String description)
The description of the finding.
description
- The description of the finding.public void setId(String id)
The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
id
- The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to
a finding when it creates the finding.public String getId()
The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
public Finding withId(String id)
The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to a finding when it creates the finding.
id
- The unique identifier for the finding. This is a random string that Amazon Macie generates and assigns to
a finding when it creates the finding.public void setPartition(String partition)
The AWS partition that Amazon Macie created the finding in.
partition
- The AWS partition that Amazon Macie created the finding in.public String getPartition()
The AWS partition that Amazon Macie created the finding in.
public Finding withPartition(String partition)
The AWS partition that Amazon Macie created the finding in.
partition
- The AWS partition that Amazon Macie created the finding in.public void setPolicyDetails(PolicyDetails policyDetails)
The details of a policy finding. This value is null for a sensitive data finding.
policyDetails
- The details of a policy finding. This value is null for a sensitive data finding.public PolicyDetails getPolicyDetails()
The details of a policy finding. This value is null for a sensitive data finding.
public Finding withPolicyDetails(PolicyDetails policyDetails)
The details of a policy finding. This value is null for a sensitive data finding.
policyDetails
- The details of a policy finding. This value is null for a sensitive data finding.public void setRegion(String region)
The AWS Region that Amazon Macie created the finding in.
region
- The AWS Region that Amazon Macie created the finding in.public String getRegion()
The AWS Region that Amazon Macie created the finding in.
public Finding withRegion(String region)
The AWS Region that Amazon Macie created the finding in.
region
- The AWS Region that Amazon Macie created the finding in.public void setResourcesAffected(ResourcesAffected resourcesAffected)
The resources that the finding applies to.
resourcesAffected
- The resources that the finding applies to.public ResourcesAffected getResourcesAffected()
The resources that the finding applies to.
public Finding withResourcesAffected(ResourcesAffected resourcesAffected)
The resources that the finding applies to.
resourcesAffected
- The resources that the finding applies to.public void setSample(Boolean sample)
Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
sample
- Specifies whether the finding is a sample finding. A sample finding is a finding that uses example
data to demonstrate what a finding might contain.public Boolean getSample()
Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
public Finding withSample(Boolean sample)
Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
sample
- Specifies whether the finding is a sample finding. A sample finding is a finding that uses example
data to demonstrate what a finding might contain.public Boolean isSample()
Specifies whether the finding is a sample finding. A sample finding is a finding that uses example data to demonstrate what a finding might contain.
public void setSchemaVersion(String schemaVersion)
The version of the schema that was used to define the data structures in the finding.
schemaVersion
- The version of the schema that was used to define the data structures in the finding.public String getSchemaVersion()
The version of the schema that was used to define the data structures in the finding.
public Finding withSchemaVersion(String schemaVersion)
The version of the schema that was used to define the data structures in the finding.
schemaVersion
- The version of the schema that was used to define the data structures in the finding.public void setSeverity(Severity severity)
The severity of the finding.
severity
- The severity of the finding.public Severity getSeverity()
The severity of the finding.
public Finding withSeverity(Severity severity)
The severity of the finding.
severity
- The severity of the finding.public void setTitle(String title)
The brief description of the finding.
title
- The brief description of the finding.public String getTitle()
The brief description of the finding.
public Finding withTitle(String title)
The brief description of the finding.
title
- The brief description of the finding.public void setType(String type)
The type of the finding.
type
- The type of the finding.FindingType
public String getType()
The type of the finding.
FindingType
public Finding withType(String type)
The type of the finding.
type
- The type of the finding.FindingType
public Finding withType(FindingType type)
The type of the finding.
type
- The type of the finding.FindingType
public void setUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. Sensitive data findings aren't updated.
updatedAt
- The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive
data findings, this value is the same as the value for the createdAt property. Sensitive data findings
aren't updated.public Date getUpdatedAt()
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. Sensitive data findings aren't updated.
public Finding withUpdatedAt(Date updatedAt)
The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive data findings, this value is the same as the value for the createdAt property. Sensitive data findings aren't updated.
updatedAt
- The date and time, in UTC and extended ISO 8601 format, when the finding was last updated. For sensitive
data findings, this value is the same as the value for the createdAt property. Sensitive data findings
aren't updated.public String toString()
toString
in class Object
Object.toString()
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.