Class OrganizationConformancePackStatus

    • Method Detail

      • 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:
        OrganizationResourceStatus
      • 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:
        OrganizationResourceStatus
      • 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.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)