@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfigurationPolicyAssociationSummary extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains the details of a configuration policy association that’s returned in a
ListConfigurationPolicyAssociations request.
| Constructor and Description |
|---|
ConfigurationPolicyAssociationSummary() |
| Modifier and Type | Method and Description |
|---|---|
ConfigurationPolicyAssociationSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationStatus()
The current status of the association between the specified target and the configuration.
|
String |
getAssociationStatusMessage()
The explanation for a
FAILED value for AssociationStatus. |
String |
getAssociationType()
Indicates whether the association between the specified target and the configuration was directly applied by the
Security Hub delegated administrator or inherited from a parent.
|
String |
getConfigurationPolicyId()
The universally unique identifier (UUID) of the configuration policy.
|
String |
getTargetId()
The identifier of the target account, organizational unit, or the root.
|
String |
getTargetType()
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
|
Date |
getUpdatedAt()
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAssociationStatus(String associationStatus)
The current status of the association between the specified target and the configuration.
|
void |
setAssociationStatusMessage(String associationStatusMessage)
The explanation for a
FAILED value for AssociationStatus. |
void |
setAssociationType(String associationType)
Indicates whether the association between the specified target and the configuration was directly applied by the
Security Hub delegated administrator or inherited from a parent.
|
void |
setConfigurationPolicyId(String configurationPolicyId)
The universally unique identifier (UUID) of the configuration policy.
|
void |
setTargetId(String targetId)
The identifier of the target account, organizational unit, or the root.
|
void |
setTargetType(String targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
|
void |
setUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
|
String |
toString()
Returns a string representation of this object.
|
ConfigurationPolicyAssociationSummary |
withAssociationStatus(ConfigurationPolicyAssociationStatus associationStatus)
The current status of the association between the specified target and the configuration.
|
ConfigurationPolicyAssociationSummary |
withAssociationStatus(String associationStatus)
The current status of the association between the specified target and the configuration.
|
ConfigurationPolicyAssociationSummary |
withAssociationStatusMessage(String associationStatusMessage)
The explanation for a
FAILED value for AssociationStatus. |
ConfigurationPolicyAssociationSummary |
withAssociationType(AssociationType associationType)
Indicates whether the association between the specified target and the configuration was directly applied by the
Security Hub delegated administrator or inherited from a parent.
|
ConfigurationPolicyAssociationSummary |
withAssociationType(String associationType)
Indicates whether the association between the specified target and the configuration was directly applied by the
Security Hub delegated administrator or inherited from a parent.
|
ConfigurationPolicyAssociationSummary |
withConfigurationPolicyId(String configurationPolicyId)
The universally unique identifier (UUID) of the configuration policy.
|
ConfigurationPolicyAssociationSummary |
withTargetId(String targetId)
The identifier of the target account, organizational unit, or the root.
|
ConfigurationPolicyAssociationSummary |
withTargetType(String targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
|
ConfigurationPolicyAssociationSummary |
withTargetType(TargetType targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
|
ConfigurationPolicyAssociationSummary |
withUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
|
public ConfigurationPolicyAssociationSummary()
public void setConfigurationPolicyId(String configurationPolicyId)
The universally unique identifier (UUID) of the configuration policy.
configurationPolicyId - The universally unique identifier (UUID) of the configuration policy.public String getConfigurationPolicyId()
The universally unique identifier (UUID) of the configuration policy.
public ConfigurationPolicyAssociationSummary withConfigurationPolicyId(String configurationPolicyId)
The universally unique identifier (UUID) of the configuration policy.
configurationPolicyId - The universally unique identifier (UUID) of the configuration policy.public void setTargetId(String targetId)
The identifier of the target account, organizational unit, or the root.
targetId - The identifier of the target account, organizational unit, or the root.public String getTargetId()
The identifier of the target account, organizational unit, or the root.
public ConfigurationPolicyAssociationSummary withTargetId(String targetId)
The identifier of the target account, organizational unit, or the root.
targetId - The identifier of the target account, organizational unit, or the root.public void setTargetType(String targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
targetType - Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.TargetTypepublic String getTargetType()
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
TargetTypepublic ConfigurationPolicyAssociationSummary withTargetType(String targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
targetType - Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.TargetTypepublic ConfigurationPolicyAssociationSummary withTargetType(TargetType targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
targetType - Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.TargetTypepublic void setAssociationType(String associationType)
Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
associationType - Indicates whether the association between the specified target and the configuration was directly applied
by the Security Hub delegated administrator or inherited from a parent.AssociationTypepublic String getAssociationType()
Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
AssociationTypepublic ConfigurationPolicyAssociationSummary withAssociationType(String associationType)
Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
associationType - Indicates whether the association between the specified target and the configuration was directly applied
by the Security Hub delegated administrator or inherited from a parent.AssociationTypepublic ConfigurationPolicyAssociationSummary withAssociationType(AssociationType associationType)
Indicates whether the association between the specified target and the configuration was directly applied by the Security Hub delegated administrator or inherited from a parent.
associationType - Indicates whether the association between the specified target and the configuration was directly applied
by the Security Hub delegated administrator or inherited from a parent.AssociationTypepublic void setUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
updatedAt - The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.public Date getUpdatedAt()
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
public ConfigurationPolicyAssociationSummary withUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
updatedAt - The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.public void setAssociationStatus(String associationStatus)
The current status of the association between the specified target and the configuration.
associationStatus - The current status of the association between the specified target and the configuration.ConfigurationPolicyAssociationStatuspublic String getAssociationStatus()
The current status of the association between the specified target and the configuration.
ConfigurationPolicyAssociationStatuspublic ConfigurationPolicyAssociationSummary withAssociationStatus(String associationStatus)
The current status of the association between the specified target and the configuration.
associationStatus - The current status of the association between the specified target and the configuration.ConfigurationPolicyAssociationStatuspublic ConfigurationPolicyAssociationSummary withAssociationStatus(ConfigurationPolicyAssociationStatus associationStatus)
The current status of the association between the specified target and the configuration.
associationStatus - The current status of the association between the specified target and the configuration.ConfigurationPolicyAssociationStatuspublic void setAssociationStatusMessage(String associationStatusMessage)
The explanation for a FAILED value for AssociationStatus.
associationStatusMessage - The explanation for a FAILED value for AssociationStatus.public String getAssociationStatusMessage()
The explanation for a FAILED value for AssociationStatus.
FAILED value for AssociationStatus.public ConfigurationPolicyAssociationSummary withAssociationStatusMessage(String associationStatusMessage)
The explanation for a FAILED value for AssociationStatus.
associationStatusMessage - The explanation for a FAILED value for AssociationStatus.public String toString()
toString in class ObjectObject.toString()public ConfigurationPolicyAssociationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.