@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FindingAction extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about an action that occurred for a resource and produced a policy finding.
| Constructor and Description |
|---|
FindingAction() |
| Modifier and Type | Method and Description |
|---|---|
FindingAction |
clone() |
boolean |
equals(Object obj) |
String |
getActionType()
The type of action that occurred for the affected resource.
|
ApiCallDetails |
getApiCallDetails()
For the affected resource:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setActionType(String actionType)
The type of action that occurred for the affected resource.
|
void |
setApiCallDetails(ApiCallDetails apiCallDetails)
For the affected resource:
|
String |
toString()
Returns a string representation of this object.
|
FindingAction |
withActionType(FindingActionType actionType)
The type of action that occurred for the affected resource.
|
FindingAction |
withActionType(String actionType)
The type of action that occurred for the affected resource.
|
FindingAction |
withApiCallDetails(ApiCallDetails apiCallDetails)
For the affected resource:
|
public void setActionType(String actionType)
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
actionType - The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which
indicates that an entity invoked an API operation for the resource.FindingActionTypepublic String getActionType()
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
FindingActionTypepublic FindingAction withActionType(String actionType)
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
actionType - The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which
indicates that an entity invoked an API operation for the resource.FindingActionTypepublic FindingAction withActionType(FindingActionType actionType)
The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which indicates that an entity invoked an API operation for the resource.
actionType - The type of action that occurred for the affected resource. This value is typically AWS_API_CALL, which
indicates that an entity invoked an API operation for the resource.FindingActionTypepublic void setApiCallDetails(ApiCallDetails apiCallDetails)
For the affected resource:
The name of the operation that was invoked most recently and produced the finding (api).
The first date and time when any operation was invoked and produced the finding (firstSeen).
The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).
All date and time values are in UTC and extended ISO 8601 format.
apiCallDetails - For the affected resource:
The name of the operation that was invoked most recently and produced the finding (api).
The first date and time when any operation was invoked and produced the finding (firstSeen).
The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).
All date and time values are in UTC and extended ISO 8601 format.
public ApiCallDetails getApiCallDetails()
For the affected resource:
The name of the operation that was invoked most recently and produced the finding (api).
The first date and time when any operation was invoked and produced the finding (firstSeen).
The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).
All date and time values are in UTC and extended ISO 8601 format.
The name of the operation that was invoked most recently and produced the finding (api).
The first date and time when any operation was invoked and produced the finding (firstSeen).
The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).
All date and time values are in UTC and extended ISO 8601 format.
public FindingAction withApiCallDetails(ApiCallDetails apiCallDetails)
For the affected resource:
The name of the operation that was invoked most recently and produced the finding (api).
The first date and time when any operation was invoked and produced the finding (firstSeen).
The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).
All date and time values are in UTC and extended ISO 8601 format.
apiCallDetails - For the affected resource:
The name of the operation that was invoked most recently and produced the finding (api).
The first date and time when any operation was invoked and produced the finding (firstSeen).
The most recent date and time when the specified operation was invoked and produced the finding (lastSeen).
All date and time values are in UTC and extended ISO 8601 format.
public String toString()
toString in class ObjectObject.toString()public FindingAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.