@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details of a policy finding.
Constructor and Description |
---|
PolicyDetails() |
Modifier and Type | Method and Description |
---|---|
PolicyDetails |
clone() |
boolean |
equals(Object obj) |
FindingAction |
getAction()
The action that produced the finding.
|
FindingActor |
getActor()
The entity that performed the action that produced the finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(FindingAction action)
The action that produced the finding.
|
void |
setActor(FindingActor actor)
The entity that performed the action that produced the finding.
|
String |
toString()
Returns a string representation of this object.
|
PolicyDetails |
withAction(FindingAction action)
The action that produced the finding.
|
PolicyDetails |
withActor(FindingActor actor)
The entity that performed the action that produced the finding.
|
public void setAction(FindingAction action)
The action that produced the finding.
action
- The action that produced the finding.public FindingAction getAction()
The action that produced the finding.
public PolicyDetails withAction(FindingAction action)
The action that produced the finding.
action
- The action that produced the finding.public void setActor(FindingActor actor)
The entity that performed the action that produced the finding.
actor
- The entity that performed the action that produced the finding.public FindingActor getActor()
The entity that performed the action that produced the finding.
public PolicyDetails withActor(FindingActor actor)
The entity that performed the action that produced the finding.
actor
- The entity that performed the action that produced the finding.public String toString()
toString
in class Object
Object.toString()
public PolicyDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.