@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingSummaryV2 extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a finding.
Constructor and Description |
---|
FindingSummaryV2() |
Modifier and Type | Method and Description |
---|---|
FindingSummaryV2 |
clone() |
boolean |
equals(Object obj) |
Date |
getAnalyzedAt()
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
|
Date |
getCreatedAt()
The time at which the finding was created.
|
String |
getError()
The error that resulted in an Error finding.
|
String |
getFindingType()
The type of the external access or unused access finding.
|
String |
getId()
The ID of the finding.
|
String |
getResource()
The resource that the external principal has access to.
|
String |
getResourceOwnerAccount()
The Amazon Web Services account ID that owns the resource.
|
String |
getResourceType()
The type of the resource that the external principal has access to.
|
String |
getStatus()
The status of the finding.
|
Date |
getUpdatedAt()
The time at which the finding was most recently updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnalyzedAt(Date analyzedAt)
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
|
void |
setCreatedAt(Date createdAt)
The time at which the finding was created.
|
void |
setError(String error)
The error that resulted in an Error finding.
|
void |
setFindingType(String findingType)
The type of the external access or unused access finding.
|
void |
setId(String id)
The ID of the finding.
|
void |
setResource(String resource)
The resource that the external principal has access to.
|
void |
setResourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
|
void |
setResourceType(String resourceType)
The type of the resource that the external principal has access to.
|
void |
setStatus(String status)
The status of the finding.
|
void |
setUpdatedAt(Date updatedAt)
The time at which the finding was most recently updated.
|
String |
toString()
Returns a string representation of this object.
|
FindingSummaryV2 |
withAnalyzedAt(Date analyzedAt)
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
|
FindingSummaryV2 |
withCreatedAt(Date createdAt)
The time at which the finding was created.
|
FindingSummaryV2 |
withError(String error)
The error that resulted in an Error finding.
|
FindingSummaryV2 |
withFindingType(FindingType findingType)
The type of the external access or unused access finding.
|
FindingSummaryV2 |
withFindingType(String findingType)
The type of the external access or unused access finding.
|
FindingSummaryV2 |
withId(String id)
The ID of the finding.
|
FindingSummaryV2 |
withResource(String resource)
The resource that the external principal has access to.
|
FindingSummaryV2 |
withResourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
|
FindingSummaryV2 |
withResourceType(ResourceType resourceType)
The type of the resource that the external principal has access to.
|
FindingSummaryV2 |
withResourceType(String resourceType)
The type of the resource that the external principal has access to.
|
FindingSummaryV2 |
withStatus(FindingStatus status)
The status of the finding.
|
FindingSummaryV2 |
withStatus(String status)
The status of the finding.
|
FindingSummaryV2 |
withUpdatedAt(Date updatedAt)
The time at which the finding was most recently updated.
|
public void setAnalyzedAt(Date analyzedAt)
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
analyzedAt
- The time at which the resource-based policy or IAM entity that generated the finding was analyzed.public Date getAnalyzedAt()
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
public FindingSummaryV2 withAnalyzedAt(Date analyzedAt)
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
analyzedAt
- The time at which the resource-based policy or IAM entity that generated the finding was analyzed.public void setCreatedAt(Date createdAt)
The time at which the finding was created.
createdAt
- The time at which the finding was created.public Date getCreatedAt()
The time at which the finding was created.
public FindingSummaryV2 withCreatedAt(Date createdAt)
The time at which the finding was created.
createdAt
- The time at which the finding was created.public void setError(String error)
The error that resulted in an Error finding.
error
- The error that resulted in an Error finding.public String getError()
The error that resulted in an Error finding.
public FindingSummaryV2 withError(String error)
The error that resulted in an Error finding.
error
- The error that resulted in an Error finding.public void setId(String id)
The ID of the finding.
id
- The ID of the finding.public String getId()
The ID of the finding.
public FindingSummaryV2 withId(String id)
The ID of the finding.
id
- The ID of the finding.public void setResource(String resource)
The resource that the external principal has access to.
resource
- The resource that the external principal has access to.public String getResource()
The resource that the external principal has access to.
public FindingSummaryV2 withResource(String resource)
The resource that the external principal has access to.
resource
- The resource that the external principal has access to.public void setResourceType(String resourceType)
The type of the resource that the external principal has access to.
resourceType
- The type of the resource that the external principal has access to.ResourceType
public String getResourceType()
The type of the resource that the external principal has access to.
ResourceType
public FindingSummaryV2 withResourceType(String resourceType)
The type of the resource that the external principal has access to.
resourceType
- The type of the resource that the external principal has access to.ResourceType
public FindingSummaryV2 withResourceType(ResourceType resourceType)
The type of the resource that the external principal has access to.
resourceType
- The type of the resource that the external principal has access to.ResourceType
public void setResourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.public String getResourceOwnerAccount()
The Amazon Web Services account ID that owns the resource.
public FindingSummaryV2 withResourceOwnerAccount(String resourceOwnerAccount)
The Amazon Web Services account ID that owns the resource.
resourceOwnerAccount
- The Amazon Web Services account ID that owns the resource.public void setStatus(String status)
The status of the finding.
status
- The status of the finding.FindingStatus
public String getStatus()
The status of the finding.
FindingStatus
public FindingSummaryV2 withStatus(String status)
The status of the finding.
status
- The status of the finding.FindingStatus
public FindingSummaryV2 withStatus(FindingStatus status)
The status of the finding.
status
- The status of the finding.FindingStatus
public void setUpdatedAt(Date updatedAt)
The time at which the finding was most recently updated.
updatedAt
- The time at which the finding was most recently updated.public Date getUpdatedAt()
The time at which the finding was most recently updated.
public FindingSummaryV2 withUpdatedAt(Date updatedAt)
The time at which the finding was most recently updated.
updatedAt
- The time at which the finding was most recently updated.public void setFindingType(String findingType)
The type of the external access or unused access finding.
findingType
- The type of the external access or unused access finding.FindingType
public String getFindingType()
The type of the external access or unused access finding.
FindingType
public FindingSummaryV2 withFindingType(String findingType)
The type of the external access or unused access finding.
findingType
- The type of the external access or unused access finding.FindingType
public FindingSummaryV2 withFindingType(FindingType findingType)
The type of the external access or unused access finding.
findingType
- The type of the external access or unused access finding.FindingType
public String toString()
toString
in class Object
Object.toString()
public FindingSummaryV2 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.