Class MemberAccountStatus
- All Implemented Interfaces:
Serializable,SdkPojo,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe 12-digit account ID of a member account.static MemberAccountStatus.Builderbuilder()final StringThe name of Config rule deployed in the member account.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringAn error code that is returned when Config rule creation or deletion failed in the member account.final StringAn error message indicating that Config rule account creation or deletion has failed due to an error in the member account.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstantThe timestamp of the last status update.final MemberAccountRuleStatusIndicates deployment status for Config rule in the member account.final StringIndicates deployment status for Config rule in the member account.static Class<? extends MemberAccountStatus.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accountId
The 12-digit account ID of a member account.
- Returns:
- The 12-digit account ID of a member account.
-
configRuleName
The name of Config rule deployed in the member account.
- Returns:
- The name of Config rule deployed in the member account.
-
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:
-
-
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:
-
-
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
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
The timestamp of the last status update.
- Returns:
- The timestamp of the last status update.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MemberAccountStatus.Builder,MemberAccountStatus> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-