Class OrganizationConformancePackStatus

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

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

Returns the status for an organization conformance pack in an organization.

See Also:
  • Method Details

    • organizationConformancePackName

      public final String organizationConformancePackName()

      The name that you assign to organization conformance pack.

      Returns:
      The name that you assign to organization conformance pack.
    • status

      public final OrganizationResourceStatus status()

      Indicates deployment status of an organization conformance pack. When management account calls PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. When management account calls PutOrganizationConformancePack for the second time, conformance pack status is updated in all the member accounts. Additionally, conformance pack status is updated when one or more member accounts join or leave an organization. Conformance pack status is deleted when the management account deletes OrganizationConformancePack in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the conformance pack to:

      • CREATE_SUCCESSFUL when an organization conformance pack has been successfully created in all the member accounts.

      • CREATE_IN_PROGRESS when an organization conformance pack creation is in progress.

      • CREATE_FAILED when an organization conformance pack creation failed in one or more member accounts within that organization.

      • DELETE_FAILED when an organization conformance pack deletion failed in one or more member accounts within that organization.

      • DELETE_IN_PROGRESS when an organization conformance pack deletion is in progress.

      • DELETE_SUCCESSFUL when an organization conformance pack has been successfully deleted from all the member accounts.

      • UPDATE_SUCCESSFUL when an organization conformance pack has been successfully updated in all the member accounts.

      • UPDATE_IN_PROGRESS when an organization conformance pack update is in progress.

      • UPDATE_FAILED when an organization conformance pack update failed in one or more member accounts within that organization.

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

      Returns:
      Indicates deployment status of an organization conformance pack. When management account calls PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. When management account calls PutOrganizationConformancePack for the second time, conformance pack status is updated in all the member accounts. Additionally, conformance pack status is updated when one or more member accounts join or leave an organization. Conformance pack status is deleted when the management account deletes OrganizationConformancePack in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the conformance pack to:

      • CREATE_SUCCESSFUL when an organization conformance pack has been successfully created in all the member accounts.

      • CREATE_IN_PROGRESS when an organization conformance pack creation is in progress.

      • CREATE_FAILED when an organization conformance pack creation failed in one or more member accounts within that organization.

      • DELETE_FAILED when an organization conformance pack deletion failed in one or more member accounts within that organization.

      • DELETE_IN_PROGRESS when an organization conformance pack deletion is in progress.

      • DELETE_SUCCESSFUL when an organization conformance pack has been successfully deleted from all the member accounts.

      • UPDATE_SUCCESSFUL when an organization conformance pack has been successfully updated in all the member accounts.

      • UPDATE_IN_PROGRESS when an organization conformance pack update is in progress.

      • UPDATE_FAILED when an organization conformance pack update failed in one or more member accounts within that organization.

      See Also:
    • statusAsString

      public final String statusAsString()

      Indicates deployment status of an organization conformance pack. When management account calls PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. When management account calls PutOrganizationConformancePack for the second time, conformance pack status is updated in all the member accounts. Additionally, conformance pack status is updated when one or more member accounts join or leave an organization. Conformance pack status is deleted when the management account deletes OrganizationConformancePack in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the conformance pack to:

      • CREATE_SUCCESSFUL when an organization conformance pack has been successfully created in all the member accounts.

      • CREATE_IN_PROGRESS when an organization conformance pack creation is in progress.

      • CREATE_FAILED when an organization conformance pack creation failed in one or more member accounts within that organization.

      • DELETE_FAILED when an organization conformance pack deletion failed in one or more member accounts within that organization.

      • DELETE_IN_PROGRESS when an organization conformance pack deletion is in progress.

      • DELETE_SUCCESSFUL when an organization conformance pack has been successfully deleted from all the member accounts.

      • UPDATE_SUCCESSFUL when an organization conformance pack has been successfully updated in all the member accounts.

      • UPDATE_IN_PROGRESS when an organization conformance pack update is in progress.

      • UPDATE_FAILED when an organization conformance pack update failed in one or more member accounts within that organization.

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

      Returns:
      Indicates deployment status of an organization conformance pack. When management account calls PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. When management account calls PutOrganizationConformancePack for the second time, conformance pack status is updated in all the member accounts. Additionally, conformance pack status is updated when one or more member accounts join or leave an organization. Conformance pack status is deleted when the management account deletes OrganizationConformancePack in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the conformance pack to:

      • CREATE_SUCCESSFUL when an organization conformance pack has been successfully created in all the member accounts.

      • CREATE_IN_PROGRESS when an organization conformance pack creation is in progress.

      • CREATE_FAILED when an organization conformance pack creation failed in one or more member accounts within that organization.

      • DELETE_FAILED when an organization conformance pack deletion failed in one or more member accounts within that organization.

      • DELETE_IN_PROGRESS when an organization conformance pack deletion is in progress.

      • DELETE_SUCCESSFUL when an organization conformance pack has been successfully deleted from all the member accounts.

      • UPDATE_SUCCESSFUL when an organization conformance pack has been successfully updated in all the member accounts.

      • UPDATE_IN_PROGRESS when an organization conformance pack update is in progress.

      • UPDATE_FAILED when an organization conformance pack update failed in one or more member accounts within that organization.

      See Also:
    • errorCode

      public final String errorCode()

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

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

      public final String errorMessage()

      An error message indicating that organization conformance pack creation or deletion failed due to an error.

      Returns:
      An error message indicating that organization conformance pack creation or deletion failed due to an error.
    • lastUpdateTime

      public final Instant lastUpdateTime()

      The timestamp of the last update.

      Returns:
      The timestamp of the last 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<OrganizationConformancePackStatus.Builder,OrganizationConformancePackStatus>
      Returns:
      a builder for type T
    • builder

    • serializableBuilderClass

      public static Class<? extends OrganizationConformancePackStatus.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.