/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.config.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Organization conformance pack creation or deletion status in each member account. This includes the name of the * conformance pack, the status, error code and error message when the conformance pack creation or deletion failed. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class OrganizationConformancePackDetailedStatus implements Serializable, Cloneable, StructuredPojo { /** *

* The 12-digit account ID of a member account. *

*/ private String accountId; /** *

* The name of conformance pack deployed in the member account. *

*/ private String conformancePackName; /** *

* 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: *

* */ private String status; /** *

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

*/ private String errorCode; /** *

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

*/ private String errorMessage; /** *

* The timestamp of the last status update. *

*/ private java.util.Date lastUpdateTime; /** *

* The 12-digit account ID of a member account. *

* * @param accountId * The 12-digit account ID of a member account. */ public void setAccountId(String accountId) { this.accountId = accountId; } /** *

* The 12-digit account ID of a member account. *

* * @return The 12-digit account ID of a member account. */ public String getAccountId() { return this.accountId; } /** *

* The 12-digit account ID of a member account. *

* * @param accountId * The 12-digit account ID of a member account. * @return Returns a reference to this object so that method calls can be chained together. */ public OrganizationConformancePackDetailedStatus withAccountId(String accountId) { setAccountId(accountId); return this; } /** *

* The name of conformance pack deployed in the member account. *

* * @param conformancePackName * The name of conformance pack deployed in the member account. */ public void setConformancePackName(String conformancePackName) { this.conformancePackName = conformancePackName; } /** *

* The name of conformance pack deployed in the member account. *

* * @return The name of conformance pack deployed in the member account. */ public String getConformancePackName() { return this.conformancePackName; } /** *

* The name of conformance pack deployed in the member account. *

* * @param conformancePackName * The name of conformance pack deployed in the member account. * @return Returns a reference to this object so that method calls can be chained together. */ public OrganizationConformancePackDetailedStatus withConformancePackName(String conformancePackName) { setConformancePackName(conformancePackName); return this; } /** *

* 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: *

* * * @param 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: *

*