Interface OrganizationConformancePackDetailedStatus.Builder

    • Method Detail

      • accountId

        OrganizationConformancePackDetailedStatus.Builder accountId​(String accountId)

        The 12-digit account ID of a member account.

        Parameters:
        accountId - The 12-digit account ID of a member account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • conformancePackName

        OrganizationConformancePackDetailedStatus.Builder conformancePackName​(String conformancePackName)

        The name of conformance pack deployed in the member account.

        Parameters:
        conformancePackName - The name of conformance pack deployed in the member account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        OrganizationConformancePackDetailedStatus.Builder status​(String 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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OrganizationResourceDetailedStatus, OrganizationResourceDetailedStatus
      • status

        OrganizationConformancePackDetailedStatus.Builder status​(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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        OrganizationResourceDetailedStatus, OrganizationResourceDetailedStatus
      • errorCode

        OrganizationConformancePackDetailedStatus.Builder errorCode​(String errorCode)

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

        Parameters:
        errorCode - An error code that is returned when conformance pack creation or deletion failed in the member account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • errorMessage

        OrganizationConformancePackDetailedStatus.Builder errorMessage​(String errorMessage)

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

        Parameters:
        errorMessage - An error message indicating that conformance pack account creation or deletion has failed due to an error in the member account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastUpdateTime

        OrganizationConformancePackDetailedStatus.Builder lastUpdateTime​(Instant lastUpdateTime)

        The timestamp of the last status update.

        Parameters:
        lastUpdateTime - The timestamp of the last status update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.