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

* Status details of a conformance pack. *

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

* Name of the conformance pack. *

*/ private String conformancePackName; /** *

* ID of the conformance pack. *

*/ private String conformancePackId; /** *

* Amazon Resource Name (ARN) of comformance pack. *

*/ private String conformancePackArn; /** *

* Indicates deployment status of conformance pack. *

*

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

* */ private String conformancePackState; /** *

* Amazon Resource Name (ARN) of CloudFormation stack. *

*/ private String stackArn; /** *

* The reason of conformance pack creation failure. *

*/ private String conformancePackStatusReason; /** *

* Last time when conformation pack creation and update was requested. *

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

* Last time when conformation pack creation and update was successful. *

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

* Name of the conformance pack. *

* * @param conformancePackName * Name of the conformance pack. */ public void setConformancePackName(String conformancePackName) { this.conformancePackName = conformancePackName; } /** *

* Name of the conformance pack. *

* * @return Name of the conformance pack. */ public String getConformancePackName() { return this.conformancePackName; } /** *

* Name of the conformance pack. *

* * @param conformancePackName * Name of the conformance pack. * @return Returns a reference to this object so that method calls can be chained together. */ public ConformancePackStatusDetail withConformancePackName(String conformancePackName) { setConformancePackName(conformancePackName); return this; } /** *

* ID of the conformance pack. *

* * @param conformancePackId * ID of the conformance pack. */ public void setConformancePackId(String conformancePackId) { this.conformancePackId = conformancePackId; } /** *

* ID of the conformance pack. *

* * @return ID of the conformance pack. */ public String getConformancePackId() { return this.conformancePackId; } /** *

* ID of the conformance pack. *

* * @param conformancePackId * ID of the conformance pack. * @return Returns a reference to this object so that method calls can be chained together. */ public ConformancePackStatusDetail withConformancePackId(String conformancePackId) { setConformancePackId(conformancePackId); return this; } /** *

* Amazon Resource Name (ARN) of comformance pack. *

* * @param conformancePackArn * Amazon Resource Name (ARN) of comformance pack. */ public void setConformancePackArn(String conformancePackArn) { this.conformancePackArn = conformancePackArn; } /** *

* Amazon Resource Name (ARN) of comformance pack. *

* * @return Amazon Resource Name (ARN) of comformance pack. */ public String getConformancePackArn() { return this.conformancePackArn; } /** *

* Amazon Resource Name (ARN) of comformance pack. *

* * @param conformancePackArn * Amazon Resource Name (ARN) of comformance pack. * @return Returns a reference to this object so that method calls can be chained together. */ public ConformancePackStatusDetail withConformancePackArn(String conformancePackArn) { setConformancePackArn(conformancePackArn); return this; } /** *

* Indicates deployment status of conformance pack. *

*

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

* * * @param conformancePackState * Indicates deployment status of conformance pack.

*

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

*