Class OrganizationConformancePackDetailedStatus

java.lang.Object
software.amazon.awssdk.services.config.model.OrganizationConformancePackDetailedStatus
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<OrganizationConformancePackDetailedStatus.Builder,OrganizationConformancePackDetailedStatus>

@Generated("software.amazon.awssdk:codegen") public final class OrganizationConformancePackDetailedStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OrganizationConformancePackDetailedStatus.Builder,OrganizationConformancePackDetailedStatus>

Organization conformance pack creation or deletion status in each member account. This includes the name of the conformance pack, the status, error code and error message when the conformance pack creation or deletion failed.

See Also:
  • Method Details

    • accountId

      public final String accountId()

      The 12-digit account ID of a member account.

      Returns:
      The 12-digit account ID of a member account.
    • conformancePackName

      public final String conformancePackName()

      The name of conformance pack deployed in the member account.

      Returns:
      The name of conformance pack deployed in the member account.
    • status

      public final OrganizationResourceDetailedStatus status()

      Indicates deployment status for conformance pack in a member account. When management account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When management account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the management account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the conformance pack to:

      • CREATE_SUCCESSFUL when conformance pack has been created in the member account.

      • CREATE_IN_PROGRESS when conformance pack is being created in the member account.

      • CREATE_FAILED when conformance pack creation has failed in the member account.

      • DELETE_FAILED when conformance pack deletion has failed in the member account.

      • DELETE_IN_PROGRESS when conformance pack is being deleted in the member account.

      • DELETE_SUCCESSFUL when conformance pack has been deleted in the member account.

      • UPDATE_SUCCESSFUL when conformance pack has been updated in the member account.

      • UPDATE_IN_PROGRESS when conformance pack is being updated in the member account.

      • UPDATE_FAILED when conformance pack deletion has failed in the member account.

      If the service returns an enum value that is not available in the current SDK version, status will return OrganizationResourceDetailedStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      Indicates deployment status for conformance pack in a member account. When management account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When management account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the management account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the conformance pack to:

      • CREATE_SUCCESSFUL when conformance pack has been created in the member account.

      • CREATE_IN_PROGRESS when conformance pack is being created in the member account.

      • CREATE_FAILED when conformance pack creation has failed in the member account.

      • DELETE_FAILED when conformance pack deletion has failed in the member account.

      • DELETE_IN_PROGRESS when conformance pack is being deleted in the member account.

      • DELETE_SUCCESSFUL when conformance pack has been deleted in the member account.

      • UPDATE_SUCCESSFUL when conformance pack has been updated in the member account.

      • UPDATE_IN_PROGRESS when conformance pack is being updated in the member account.

      • UPDATE_FAILED when conformance pack deletion has failed in the member account.

      See Also:
    • statusAsString

      public final String statusAsString()

      Indicates deployment status for conformance pack in a member account. When management account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When management account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the management account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the conformance pack to:

      • CREATE_SUCCESSFUL when conformance pack has been created in the member account.

      • CREATE_IN_PROGRESS when conformance pack is being created in the member account.

      • CREATE_FAILED when conformance pack creation has failed in the member account.

      • DELETE_FAILED when conformance pack deletion has failed in the member account.

      • DELETE_IN_PROGRESS when conformance pack is being deleted in the member account.

      • DELETE_SUCCESSFUL when conformance pack has been deleted in the member account.

      • UPDATE_SUCCESSFUL when conformance pack has been updated in the member account.

      • UPDATE_IN_PROGRESS when conformance pack is being updated in the member account.

      • UPDATE_FAILED when conformance pack deletion has failed in the member account.

      If the service returns an enum value that is not available in the current SDK version, status will return OrganizationResourceDetailedStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      Indicates deployment status for conformance pack in a member account. When management account calls PutOrganizationConformancePack action for the first time, conformance pack status is created in the member account. When management account calls PutOrganizationConformancePack action for the second time, conformance pack status is updated in the member account. Conformance pack status is deleted when the management account deletes OrganizationConformancePack and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the conformance pack to:

      • CREATE_SUCCESSFUL when conformance pack has been created in the member account.

      • CREATE_IN_PROGRESS when conformance pack is being created in the member account.

      • CREATE_FAILED when conformance pack creation has failed in the member account.

      • DELETE_FAILED when conformance pack deletion has failed in the member account.

      • DELETE_IN_PROGRESS when conformance pack is being deleted in the member account.

      • DELETE_SUCCESSFUL when conformance pack has been deleted in the member account.

      • UPDATE_SUCCESSFUL when conformance pack has been updated in the member account.

      • UPDATE_IN_PROGRESS when conformance pack is being updated in the member account.

      • UPDATE_FAILED when conformance pack deletion has failed in the member account.

      See Also:
    • errorCode

      public final String errorCode()

      An error code that is returned when conformance pack creation or deletion failed in the member account.

      Returns:
      An error code that is returned when conformance pack creation or deletion failed in the member account.
    • errorMessage

      public final String errorMessage()

      An error message indicating that conformance pack account creation or deletion has failed due to an error in the member account.

      Returns:
      An error message indicating that conformance pack account creation or deletion has failed due to an error in the member account.
    • lastUpdateTime

      public final Instant lastUpdateTime()

      The timestamp of the last status update.

      Returns:
      The timestamp of the last status update.
    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<OrganizationConformancePackDetailedStatus.Builder,OrganizationConformancePackDetailedStatus>
      Returns:
      a builder for type T
    • builder

    • serializableBuilderClass

      public static Class<? extends OrganizationConformancePackDetailedStatus.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.