Interface OrganizationConfigRuleStatus.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OrganizationConfigRuleStatus.Builder,OrganizationConfigRuleStatus>, SdkBuilder<OrganizationConfigRuleStatus.Builder,OrganizationConfigRuleStatus>, SdkPojo
Enclosing class:
OrganizationConfigRuleStatus

public static interface OrganizationConfigRuleStatus.Builder extends SdkPojo, CopyableBuilder<OrganizationConfigRuleStatus.Builder,OrganizationConfigRuleStatus>
  • Method Details

    • organizationConfigRuleName

      OrganizationConfigRuleStatus.Builder organizationConfigRuleName(String organizationConfigRuleName)

      The name that you assign to organization Config rule.

      Parameters:
      organizationConfigRuleName - The name that you assign to organization Config rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • organizationRuleStatus

      OrganizationConfigRuleStatus.Builder organizationRuleStatus(String organizationRuleStatus)

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

      Config sets the state of the rule to:

      • CREATE_SUCCESSFUL when an organization Config rule has been successfully created in all the member accounts.

      • CREATE_IN_PROGRESS when an organization Config rule creation is in progress.

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

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

      • DELETE_IN_PROGRESS when an organization Config rule deletion is in progress.

      • DELETE_SUCCESSFUL when an organization Config rule has been successfully deleted from all the member accounts.

      • UPDATE_SUCCESSFUL when an organization Config rule has been successfully updated in all the member accounts.

      • UPDATE_IN_PROGRESS when an organization Config rule update is in progress.

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

      Parameters:
      organizationRuleStatus - Indicates deployment status of an organization Config rule. When management account calls PutOrganizationConfigRule action for the first time, Config rule status is created in all the member accounts. When management account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in all the member accounts. Additionally, Config rule status is updated when one or more member accounts join or leave an organization. Config rule status is deleted when the management account deletes OrganizationConfigRule in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the rule to:

      • CREATE_SUCCESSFUL when an organization Config rule has been successfully created in all the member accounts.

      • CREATE_IN_PROGRESS when an organization Config rule creation is in progress.

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

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

      • DELETE_IN_PROGRESS when an organization Config rule deletion is in progress.

      • DELETE_SUCCESSFUL when an organization Config rule has been successfully deleted from all the member accounts.

      • UPDATE_SUCCESSFUL when an organization Config rule has been successfully updated in all the member accounts.

      • UPDATE_IN_PROGRESS when an organization Config rule update is in progress.

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

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

      OrganizationConfigRuleStatus.Builder organizationRuleStatus(OrganizationRuleStatus organizationRuleStatus)

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

      Config sets the state of the rule to:

      • CREATE_SUCCESSFUL when an organization Config rule has been successfully created in all the member accounts.

      • CREATE_IN_PROGRESS when an organization Config rule creation is in progress.

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

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

      • DELETE_IN_PROGRESS when an organization Config rule deletion is in progress.

      • DELETE_SUCCESSFUL when an organization Config rule has been successfully deleted from all the member accounts.

      • UPDATE_SUCCESSFUL when an organization Config rule has been successfully updated in all the member accounts.

      • UPDATE_IN_PROGRESS when an organization Config rule update is in progress.

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

      Parameters:
      organizationRuleStatus - Indicates deployment status of an organization Config rule. When management account calls PutOrganizationConfigRule action for the first time, Config rule status is created in all the member accounts. When management account calls PutOrganizationConfigRule action for the second time, Config rule status is updated in all the member accounts. Additionally, Config rule status is updated when one or more member accounts join or leave an organization. Config rule status is deleted when the management account deletes OrganizationConfigRule in all the member accounts and disables service access for config-multiaccountsetup.amazonaws.com.

      Config sets the state of the rule to:

      • CREATE_SUCCESSFUL when an organization Config rule has been successfully created in all the member accounts.

      • CREATE_IN_PROGRESS when an organization Config rule creation is in progress.

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

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

      • DELETE_IN_PROGRESS when an organization Config rule deletion is in progress.

      • DELETE_SUCCESSFUL when an organization Config rule has been successfully deleted from all the member accounts.

      • UPDATE_SUCCESSFUL when an organization Config rule has been successfully updated in all the member accounts.

      • UPDATE_IN_PROGRESS when an organization Config rule update is in progress.

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

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

      An error code that is returned when organization Config rule creation or deletion has failed.

      Parameters:
      errorCode - An error code that is returned when organization Config rule creation or deletion has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      OrganizationConfigRuleStatus.Builder errorMessage(String errorMessage)

      An error message indicating that organization Config rule creation or deletion failed due to an error.

      Parameters:
      errorMessage - An error message indicating that organization Config rule creation or deletion failed due to an error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdateTime

      OrganizationConfigRuleStatus.Builder lastUpdateTime(Instant lastUpdateTime)

      The timestamp of the last update.

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