Class StartConfigurationPolicyAssociationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.securityhub.model.SecurityHubResponse
-
- software.amazon.awssdk.services.securityhub.model.StartConfigurationPolicyAssociationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartConfigurationPolicyAssociationResponse.Builder,StartConfigurationPolicyAssociationResponse>
@Generated("software.amazon.awssdk:codegen") public final class StartConfigurationPolicyAssociationResponse extends SecurityHubResponse implements ToCopyableBuilder<StartConfigurationPolicyAssociationResponse.Builder,StartConfigurationPolicyAssociationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartConfigurationPolicyAssociationResponse.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()An 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 StartConfigurationPolicyAssociationResponse.Builderbuilder()StringconfigurationPolicyId()The 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 StartConfigurationPolicyAssociationResponse.Builder>serializableBuilderClass()StringtargetId()The identifier of the target account, organizational unit, or the organization root with which the configuration is associated.TargetTypetargetType()Indicates whether the target is an Amazon Web Services account, organizational unit, or the organization root.StringtargetTypeAsString()Indicates whether the target is an Amazon Web Services account, organizational unit, or the organization root.StartConfigurationPolicyAssociationResponse.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 software.amazon.awssdk.services.securityhub.model.SecurityHubResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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 UUID of the configuration policy.
- Returns:
- The UUID of the configuration policy.
-
targetId
public final String targetId()
The identifier of the target account, organizational unit, or the organization root with which the configuration is associated.
- Returns:
- The identifier of the target account, organizational unit, or the organization root with which the configuration is associated.
-
targetType
public final TargetType targetType()
Indicates whether the target is an Amazon Web Services account, organizational unit, or the organization 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:
- Indicates whether the target is an Amazon Web Services account, organizational unit, or the organization root.
- See Also:
TargetType
-
targetTypeAsString
public final String targetTypeAsString()
Indicates whether the target is an Amazon Web Services account, organizational unit, or the organization 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:
- Indicates whether the target is an Amazon Web Services account, organizational unit, or the organization 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()
An explanation for a
FAILEDvalue forAssociationStatus.- Returns:
- An explanation for a
FAILEDvalue forAssociationStatus.
-
toBuilder
public StartConfigurationPolicyAssociationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartConfigurationPolicyAssociationResponse.Builder,StartConfigurationPolicyAssociationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static StartConfigurationPolicyAssociationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartConfigurationPolicyAssociationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-