Class MemberAccountStatus
- java.lang.Object
-
- software.amazon.awssdk.services.config.model.MemberAccountStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MemberAccountStatus.Builder,MemberAccountStatus>
@Generated("software.amazon.awssdk:codegen") public final class MemberAccountStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MemberAccountStatus.Builder,MemberAccountStatus>
Organization Config rule creation or deletion status in each member account. This includes the name of the rule, the status, error code and error message when the rule creation or deletion failed.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMemberAccountStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The 12-digit account ID of a member account.static MemberAccountStatus.Builderbuilder()StringconfigRuleName()The name of Config rule deployed in the member account.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringerrorCode()An error code that is returned when Config rule creation or deletion failed in the member account.StringerrorMessage()An error message indicating that Config rule account creation or deletion has failed due to an error in the member account.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdateTime()The timestamp of the last status update.MemberAccountRuleStatusmemberAccountRuleStatus()Indicates deployment status for Config rule in the member account.StringmemberAccountRuleStatusAsString()Indicates deployment status for Config rule in the member account.List<SdkField<?>>sdkFields()static Class<? extends MemberAccountStatus.Builder>serializableBuilderClass()MemberAccountStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountId
public final String accountId()
The 12-digit account ID of a member account.
- Returns:
- The 12-digit account ID of a member account.
-
configRuleName
public final String configRuleName()
The name of Config rule deployed in the member account.
- Returns:
- The name of Config rule deployed in the member account.
-
memberAccountRuleStatus
public final MemberAccountRuleStatus memberAccountRuleStatus()
Indicates deployment status for Config rule in the member account. When management account calls
PutOrganizationConfigRuleaction for the first time, Config rule status is created in the member account. When management account callsPutOrganizationConfigRuleaction for the second time, Config rule status is updated in the member account. Config rule status is deleted when the management account deletesOrganizationConfigRuleand disables service access forconfig-multiaccountsetup.amazonaws.com.Config sets the state of the rule to:
-
CREATE_SUCCESSFULwhen Config rule has been created in the member account. -
CREATE_IN_PROGRESSwhen Config rule is being created in the member account. -
CREATE_FAILEDwhen Config rule creation has failed in the member account. -
DELETE_FAILEDwhen Config rule deletion has failed in the member account. -
DELETE_IN_PROGRESSwhen Config rule is being deleted in the member account. -
DELETE_SUCCESSFULwhen Config rule has been deleted in the member account. -
UPDATE_SUCCESSFULwhen Config rule has been updated in the member account. -
UPDATE_IN_PROGRESSwhen Config rule is being updated in the member account. -
UPDATE_FAILEDwhen Config rule deletion has failed in the member account.
If the service returns an enum value that is not available in the current SDK version,
memberAccountRuleStatuswill returnMemberAccountRuleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommemberAccountRuleStatusAsString().- Returns:
- Indicates deployment status for Config rule in the member account. When management account calls
PutOrganizationConfigRuleaction for the first time, Config rule status is created in the member account. When management account callsPutOrganizationConfigRuleaction for the second time, Config rule status is updated in the member account. Config rule status is deleted when the management account deletesOrganizationConfigRuleand disables service access forconfig-multiaccountsetup.amazonaws.com.Config sets the state of the rule to:
-
CREATE_SUCCESSFULwhen Config rule has been created in the member account. -
CREATE_IN_PROGRESSwhen Config rule is being created in the member account. -
CREATE_FAILEDwhen Config rule creation has failed in the member account. -
DELETE_FAILEDwhen Config rule deletion has failed in the member account. -
DELETE_IN_PROGRESSwhen Config rule is being deleted in the member account. -
DELETE_SUCCESSFULwhen Config rule has been deleted in the member account. -
UPDATE_SUCCESSFULwhen Config rule has been updated in the member account. -
UPDATE_IN_PROGRESSwhen Config rule is being updated in the member account. -
UPDATE_FAILEDwhen Config rule deletion has failed in the member account.
-
- See Also:
MemberAccountRuleStatus
-
-
memberAccountRuleStatusAsString
public final String memberAccountRuleStatusAsString()
Indicates deployment status for Config rule in the member account. When management account calls
PutOrganizationConfigRuleaction for the first time, Config rule status is created in the member account. When management account callsPutOrganizationConfigRuleaction for the second time, Config rule status is updated in the member account. Config rule status is deleted when the management account deletesOrganizationConfigRuleand disables service access forconfig-multiaccountsetup.amazonaws.com.Config sets the state of the rule to:
-
CREATE_SUCCESSFULwhen Config rule has been created in the member account. -
CREATE_IN_PROGRESSwhen Config rule is being created in the member account. -
CREATE_FAILEDwhen Config rule creation has failed in the member account. -
DELETE_FAILEDwhen Config rule deletion has failed in the member account. -
DELETE_IN_PROGRESSwhen Config rule is being deleted in the member account. -
DELETE_SUCCESSFULwhen Config rule has been deleted in the member account. -
UPDATE_SUCCESSFULwhen Config rule has been updated in the member account. -
UPDATE_IN_PROGRESSwhen Config rule is being updated in the member account. -
UPDATE_FAILEDwhen Config rule deletion has failed in the member account.
If the service returns an enum value that is not available in the current SDK version,
memberAccountRuleStatuswill returnMemberAccountRuleStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommemberAccountRuleStatusAsString().- Returns:
- Indicates deployment status for Config rule in the member account. When management account calls
PutOrganizationConfigRuleaction for the first time, Config rule status is created in the member account. When management account callsPutOrganizationConfigRuleaction for the second time, Config rule status is updated in the member account. Config rule status is deleted when the management account deletesOrganizationConfigRuleand disables service access forconfig-multiaccountsetup.amazonaws.com.Config sets the state of the rule to:
-
CREATE_SUCCESSFULwhen Config rule has been created in the member account. -
CREATE_IN_PROGRESSwhen Config rule is being created in the member account. -
CREATE_FAILEDwhen Config rule creation has failed in the member account. -
DELETE_FAILEDwhen Config rule deletion has failed in the member account. -
DELETE_IN_PROGRESSwhen Config rule is being deleted in the member account. -
DELETE_SUCCESSFULwhen Config rule has been deleted in the member account. -
UPDATE_SUCCESSFULwhen Config rule has been updated in the member account. -
UPDATE_IN_PROGRESSwhen Config rule is being updated in the member account. -
UPDATE_FAILEDwhen Config rule deletion has failed in the member account.
-
- See Also:
MemberAccountRuleStatus
-
-
errorCode
public final String errorCode()
An error code that is returned when Config rule creation or deletion failed in the member account.
- Returns:
- An error code that is returned when Config rule creation or deletion failed in the member account.
-
errorMessage
public final String errorMessage()
An error message indicating that Config rule account creation or deletion has failed due to an error in the member account.
- Returns:
- An error message indicating that Config rule 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
public MemberAccountStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MemberAccountStatus.Builder,MemberAccountStatus>
-
builder
public static MemberAccountStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends MemberAccountStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
-