Class ConfigurationPolicyAssociationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.ConfigurationPolicyAssociationSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfigurationPolicyAssociationSummary.Builder,ConfigurationPolicyAssociationSummary>
@Generated("software.amazon.awssdk:codegen") public final class ConfigurationPolicyAssociationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfigurationPolicyAssociationSummary.Builder,ConfigurationPolicyAssociationSummary>
An object that contains the details of a configuration policy association that’s returned in a
ListConfigurationPolicyAssociationsrequest.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfigurationPolicyAssociationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigurationPolicyAssociationStatusassociationStatus()The current status of the association between the specified target and the configuration.StringassociationStatusAsString()The current status of the association between the specified target and the configuration.StringassociationStatusMessage()The explanation for aFAILEDvalue forAssociationStatus.AssociationTypeassociationType()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.StringassociationTypeAsString()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.static ConfigurationPolicyAssociationSummary.Builderbuilder()StringconfigurationPolicyId()The universally unique identifier (UUID) of the configuration policy.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ConfigurationPolicyAssociationSummary.Builder>serializableBuilderClass()StringtargetId()The identifier of the target account, organizational unit, or the root.TargetTypetargetType()Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.StringtargetTypeAsString()Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.ConfigurationPolicyAssociationSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
configurationPolicyId
public final String configurationPolicyId()
The universally unique identifier (UUID) of the configuration policy.
- Returns:
- The universally unique identifier (UUID) of the configuration policy.
-
targetId
public final String targetId()
The identifier of the target account, organizational unit, or the root.
- Returns:
- The identifier of the target account, organizational unit, or the root.
-
targetType
public final TargetType targetType()
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
- See Also:
TargetType
-
targetTypeAsString
public final String targetTypeAsString()
Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
If the service returns an enum value that is not available in the current SDK version,
targetTypewill returnTargetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtargetTypeAsString().- Returns:
- Specifies whether the target is an Amazon Web Services account, organizational unit, or the root.
- See Also:
TargetType
-
associationType
public final 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.
If the service returns an enum value that is not available in the current SDK version,
associationTypewill returnAssociationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationTypeAsString().- Returns:
- 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.
- See Also:
AssociationType
-
associationTypeAsString
public final String associationTypeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
associationTypewill returnAssociationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationTypeAsString().- Returns:
- 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.
- See Also:
AssociationType
-
updatedAt
public final Instant updatedAt()
The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
- Returns:
- The date and time, in UTC and ISO 8601 format, that the configuration policy association was last updated.
-
associationStatus
public final ConfigurationPolicyAssociationStatus associationStatus()
The current status of the association between the specified target and the configuration.
If the service returns an enum value that is not available in the current SDK version,
associationStatuswill returnConfigurationPolicyAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationStatusAsString().- Returns:
- The current status of the association between the specified target and the configuration.
- See Also:
ConfigurationPolicyAssociationStatus
-
associationStatusAsString
public final String associationStatusAsString()
The current status of the association between the specified target and the configuration.
If the service returns an enum value that is not available in the current SDK version,
associationStatuswill returnConfigurationPolicyAssociationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromassociationStatusAsString().- Returns:
- The current status of the association between the specified target and the configuration.
- See Also:
ConfigurationPolicyAssociationStatus
-
associationStatusMessage
public final String associationStatusMessage()
The explanation for a
FAILEDvalue forAssociationStatus.- Returns:
- The explanation for a
FAILEDvalue forAssociationStatus.
-
toBuilder
public ConfigurationPolicyAssociationSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfigurationPolicyAssociationSummary.Builder,ConfigurationPolicyAssociationSummary>
-
builder
public static ConfigurationPolicyAssociationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfigurationPolicyAssociationSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-