@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetConfigurationPolicyAssociationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetConfigurationPolicyAssociationResult() |
Modifier and Type | Method and Description |
---|---|
GetConfigurationPolicyAssociationResult |
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 a configuration policy.
|
String |
getTargetId()
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
|
String |
getTargetType()
Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization root.
|
Date |
getUpdatedAt()
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
|
int |
hashCode() |
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 a configuration policy.
|
void |
setTargetId(String targetId)
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
|
void |
setTargetType(String targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization 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.
|
GetConfigurationPolicyAssociationResult |
withAssociationStatus(ConfigurationPolicyAssociationStatus associationStatus)
The current status of the association between the specified target and the configuration.
|
GetConfigurationPolicyAssociationResult |
withAssociationStatus(String associationStatus)
The current status of the association between the specified target and the configuration.
|
GetConfigurationPolicyAssociationResult |
withAssociationStatusMessage(String associationStatusMessage)
The explanation for a
FAILED value for AssociationStatus . |
GetConfigurationPolicyAssociationResult |
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.
|
GetConfigurationPolicyAssociationResult |
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.
|
GetConfigurationPolicyAssociationResult |
withConfigurationPolicyId(String configurationPolicyId)
The universally unique identifier (UUID) of a configuration policy.
|
GetConfigurationPolicyAssociationResult |
withTargetId(String targetId)
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
|
GetConfigurationPolicyAssociationResult |
withTargetType(String targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization root.
|
GetConfigurationPolicyAssociationResult |
withTargetType(TargetType targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization root.
|
GetConfigurationPolicyAssociationResult |
withUpdatedAt(Date updatedAt)
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public GetConfigurationPolicyAssociationResult()
public void setConfigurationPolicyId(String configurationPolicyId)
The universally unique identifier (UUID) of a configuration policy. For self-managed behavior, the value is
SELF_MANAGED_SECURITY_HUB
.
configurationPolicyId
- The universally unique identifier (UUID) of a configuration policy. For self-managed behavior, the value
is SELF_MANAGED_SECURITY_HUB
.public String getConfigurationPolicyId()
The universally unique identifier (UUID) of a configuration policy. For self-managed behavior, the value is
SELF_MANAGED_SECURITY_HUB
.
SELF_MANAGED_SECURITY_HUB
.public GetConfigurationPolicyAssociationResult withConfigurationPolicyId(String configurationPolicyId)
The universally unique identifier (UUID) of a configuration policy. For self-managed behavior, the value is
SELF_MANAGED_SECURITY_HUB
.
configurationPolicyId
- The universally unique identifier (UUID) of a configuration policy. For self-managed behavior, the value
is SELF_MANAGED_SECURITY_HUB
.public void setTargetId(String targetId)
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
targetId
- The target account ID, organizational unit ID, or the root ID for which the association is retrieved.public String getTargetId()
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
public GetConfigurationPolicyAssociationResult withTargetId(String targetId)
The target account ID, organizational unit ID, or the root ID for which the association is retrieved.
targetId
- The target account ID, organizational unit ID, or the root ID for which the association is retrieved.public void setTargetType(String targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization root.
targetType
- Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization
root.TargetType
public String getTargetType()
Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization root.
TargetType
public GetConfigurationPolicyAssociationResult withTargetType(String targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization root.
targetType
- Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization
root.TargetType
public GetConfigurationPolicyAssociationResult withTargetType(TargetType targetType)
Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization root.
targetType
- Specifies whether the target is an Amazon Web Services account, organizational unit, or the organization
root.TargetType
public 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.AssociationType
public 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.
AssociationType
public GetConfigurationPolicyAssociationResult 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.AssociationType
public GetConfigurationPolicyAssociationResult 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.AssociationType
public 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 GetConfigurationPolicyAssociationResult 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.ConfigurationPolicyAssociationStatus
public String getAssociationStatus()
The current status of the association between the specified target and the configuration.
ConfigurationPolicyAssociationStatus
public GetConfigurationPolicyAssociationResult 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.ConfigurationPolicyAssociationStatus
public GetConfigurationPolicyAssociationResult 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.ConfigurationPolicyAssociationStatus
public 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 GetConfigurationPolicyAssociationResult 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 Object
Object.toString()
public GetConfigurationPolicyAssociationResult clone()