@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()
The invocation details of the API operation that an entity invoked for the affected resource, if the value for
the actionType property is AWS_API_CALL.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionType(String actionType)
The type of action that occurred for the affected resource.
|
void |
setApiCallDetails(ApiCallDetails apiCallDetails)
The invocation details of the API operation that an entity invoked for the affected resource, if the value for
the actionType property is AWS_API_CALL.
|
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)
The invocation details of the API operation that an entity invoked for the affected resource, if the value for
the actionType property is AWS_API_CALL.
|
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.FindingActionType
public 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.
FindingActionType
public 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.FindingActionType
public 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.FindingActionType
public void setApiCallDetails(ApiCallDetails apiCallDetails)
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
apiCallDetails
- The invocation details of the API operation that an entity invoked for the affected resource, if the value
for the actionType property is AWS_API_CALL.public ApiCallDetails getApiCallDetails()
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
public FindingAction withApiCallDetails(ApiCallDetails apiCallDetails)
The invocation details of the API operation that an entity invoked for the affected resource, if the value for the actionType property is AWS_API_CALL.
apiCallDetails
- The invocation details of the API operation that an entity invoked for the affected resource, if the value
for the actionType property is AWS_API_CALL.public String toString()
toString
in class Object
Object.toString()
public FindingAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.