@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationPolicyAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about the association between an Security Hub configuration and a target account, organizational unit, or the root. An association can exist between a target and a configuration policy, or between a target and self-managed behavior.
Constructor and Description |
---|
ConfigurationPolicyAssociation() |
Modifier and Type | Method and Description |
---|---|
ConfigurationPolicyAssociation |
clone() |
boolean |
equals(Object obj) |
Target |
getTarget()
The target account, organizational unit, or the root.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setTarget(Target target)
The target account, organizational unit, or the root.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurationPolicyAssociation |
withTarget(Target target)
The target account, organizational unit, or the root.
|
public void setTarget(Target target)
The target account, organizational unit, or the root.
target
- The target account, organizational unit, or the root.public Target getTarget()
The target account, organizational unit, or the root.
public ConfigurationPolicyAssociation withTarget(Target target)
The target account, organizational unit, or the root.
target
- The target account, organizational unit, or the root.public String toString()
toString
in class Object
Object.toString()
public ConfigurationPolicyAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.