/* * 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; /** *

* Returns the status for an organization conformance pack in an organization. *

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

* The name that you assign to organization conformance pack. *

*/ private String organizationConformancePackName; /** *

* Indicates deployment status of an organization conformance pack. When management account calls * PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. * When management account calls PutOrganizationConformancePack for the second time, conformance pack status is * updated in all the member accounts. Additionally, conformance pack status is updated when one or more member * accounts join or leave an organization. Conformance pack status is deleted when the management account deletes * OrganizationConformancePack in all the member accounts 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 organization conformance pack creation or deletion has failed in a member * account. *

*/ private String errorCode; /** *

* An error message indicating that organization conformance pack creation or deletion failed due to an error. *

*/ private String errorMessage; /** *

* The timestamp of the last update. *

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

* The name that you assign to organization conformance pack. *

* * @param organizationConformancePackName * The name that you assign to organization conformance pack. */ public void setOrganizationConformancePackName(String organizationConformancePackName) { this.organizationConformancePackName = organizationConformancePackName; } /** *

* The name that you assign to organization conformance pack. *

* * @return The name that you assign to organization conformance pack. */ public String getOrganizationConformancePackName() { return this.organizationConformancePackName; } /** *

* The name that you assign to organization conformance pack. *

* * @param organizationConformancePackName * The name that you assign to organization conformance pack. * @return Returns a reference to this object so that method calls can be chained together. */ public OrganizationConformancePackStatus withOrganizationConformancePackName(String organizationConformancePackName) { setOrganizationConformancePackName(organizationConformancePackName); return this; } /** *

* Indicates deployment status of an organization conformance pack. When management account calls * PutOrganizationConformancePack for the first time, conformance pack status is created in all the member accounts. * When management account calls PutOrganizationConformancePack for the second time, conformance pack status is * updated in all the member accounts. Additionally, conformance pack status is updated when one or more member * accounts join or leave an organization. Conformance pack status is deleted when the management account deletes * OrganizationConformancePack in all the member accounts and disables service access for * config-multiaccountsetup.amazonaws.com. *

*

* Config sets the state of the conformance pack to: *

* * * @param status * Indicates deployment status of an organization conformance pack. When management account calls * PutOrganizationConformancePack for the first time, conformance pack status is created in all the member * accounts. When management account calls PutOrganizationConformancePack for the second time, conformance * pack status is updated in all the member accounts. Additionally, conformance pack status is updated when * one or more member accounts join or leave an organization. Conformance pack status is deleted when the * management account deletes OrganizationConformancePack in all the member accounts and disables service * access for config-multiaccountsetup.amazonaws.com.

*

* Config sets the state of the conformance pack to: *

*