All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.auditmanager.model.EvidenceInsights Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Audit Manager module holds the client classes that are used for communicating with AWS Audit Manager Service

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2019-2024 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.auditmanager.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* A breakdown of the latest compliance check status for the evidence in your Audit Manager assessments. *

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

* The number of compliance check evidence that Audit Manager classified as non-compliant. This includes evidence * that was collected from Security Hub with a Fail ruling, or collected from Config with a * Non-compliant ruling. *

*/ private Integer noncompliantEvidenceCount; /** *

* The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence that * was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant * ruling. *

*/ private Integer compliantEvidenceCount; /** *

* The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when the * associated control uses Security Hub or Config as a data source but you didn't enable those services. This is * also the case when a control uses a data source that doesn’t support compliance checks (for example, manual * evidence, API calls, or CloudTrail). *

* *

* If evidence has a compliance check status of not applicable in the console, it's classified as * inconclusive in EvidenceInsights data. *

*
*/ private Integer inconclusiveEvidenceCount; /** *

* The number of compliance check evidence that Audit Manager classified as non-compliant. This includes evidence * that was collected from Security Hub with a Fail ruling, or collected from Config with a * Non-compliant ruling. *

* * @param noncompliantEvidenceCount * The number of compliance check evidence that Audit Manager classified as non-compliant. This includes * evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a * Non-compliant ruling. */ public void setNoncompliantEvidenceCount(Integer noncompliantEvidenceCount) { this.noncompliantEvidenceCount = noncompliantEvidenceCount; } /** *

* The number of compliance check evidence that Audit Manager classified as non-compliant. This includes evidence * that was collected from Security Hub with a Fail ruling, or collected from Config with a * Non-compliant ruling. *

* * @return The number of compliance check evidence that Audit Manager classified as non-compliant. This includes * evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a * Non-compliant ruling. */ public Integer getNoncompliantEvidenceCount() { return this.noncompliantEvidenceCount; } /** *

* The number of compliance check evidence that Audit Manager classified as non-compliant. This includes evidence * that was collected from Security Hub with a Fail ruling, or collected from Config with a * Non-compliant ruling. *

* * @param noncompliantEvidenceCount * The number of compliance check evidence that Audit Manager classified as non-compliant. This includes * evidence that was collected from Security Hub with a Fail ruling, or collected from Config with a * Non-compliant ruling. * @return Returns a reference to this object so that method calls can be chained together. */ public EvidenceInsights withNoncompliantEvidenceCount(Integer noncompliantEvidenceCount) { setNoncompliantEvidenceCount(noncompliantEvidenceCount); return this; } /** *

* The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence that * was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant * ruling. *

* * @param compliantEvidenceCount * The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence * that was collected from Security Hub with a Pass ruling, or collected from Config with a * Compliant ruling. */ public void setCompliantEvidenceCount(Integer compliantEvidenceCount) { this.compliantEvidenceCount = compliantEvidenceCount; } /** *

* The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence that * was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant * ruling. *

* * @return The number of compliance check evidence that Audit Manager classified as compliant. This includes * evidence that was collected from Security Hub with a Pass ruling, or collected from Config with a * Compliant ruling. */ public Integer getCompliantEvidenceCount() { return this.compliantEvidenceCount; } /** *

* The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence that * was collected from Security Hub with a Pass ruling, or collected from Config with a Compliant * ruling. *

* * @param compliantEvidenceCount * The number of compliance check evidence that Audit Manager classified as compliant. This includes evidence * that was collected from Security Hub with a Pass ruling, or collected from Config with a * Compliant ruling. * @return Returns a reference to this object so that method calls can be chained together. */ public EvidenceInsights withCompliantEvidenceCount(Integer compliantEvidenceCount) { setCompliantEvidenceCount(compliantEvidenceCount); return this; } /** *

* The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when the * associated control uses Security Hub or Config as a data source but you didn't enable those services. This is * also the case when a control uses a data source that doesn’t support compliance checks (for example, manual * evidence, API calls, or CloudTrail). *

* *

* If evidence has a compliance check status of not applicable in the console, it's classified as * inconclusive in EvidenceInsights data. *

*
* * @param inconclusiveEvidenceCount * The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when * the associated control uses Security Hub or Config as a data source but you didn't enable those services. * This is also the case when a control uses a data source that doesn’t support compliance checks (for * example, manual evidence, API calls, or CloudTrail).

*

* If evidence has a compliance check status of not applicable in the console, it's classified as * inconclusive in EvidenceInsights data. *

*/ public void setInconclusiveEvidenceCount(Integer inconclusiveEvidenceCount) { this.inconclusiveEvidenceCount = inconclusiveEvidenceCount; } /** *

* The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when the * associated control uses Security Hub or Config as a data source but you didn't enable those services. This is * also the case when a control uses a data source that doesn’t support compliance checks (for example, manual * evidence, API calls, or CloudTrail). *

* *

* If evidence has a compliance check status of not applicable in the console, it's classified as * inconclusive in EvidenceInsights data. *

*
* * @return The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when * the associated control uses Security Hub or Config as a data source but you didn't enable those services. * This is also the case when a control uses a data source that doesn’t support compliance checks (for * example, manual evidence, API calls, or CloudTrail).

*

* If evidence has a compliance check status of not applicable in the console, it's classified as * inconclusive in EvidenceInsights data. *

*/ public Integer getInconclusiveEvidenceCount() { return this.inconclusiveEvidenceCount; } /** *

* The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when the * associated control uses Security Hub or Config as a data source but you didn't enable those services. This is * also the case when a control uses a data source that doesn’t support compliance checks (for example, manual * evidence, API calls, or CloudTrail). *

* *

* If evidence has a compliance check status of not applicable in the console, it's classified as * inconclusive in EvidenceInsights data. *

*
* * @param inconclusiveEvidenceCount * The number of evidence that a compliance check ruling isn't available for. Evidence is inconclusive when * the associated control uses Security Hub or Config as a data source but you didn't enable those services. * This is also the case when a control uses a data source that doesn’t support compliance checks (for * example, manual evidence, API calls, or CloudTrail).

*

* If evidence has a compliance check status of not applicable in the console, it's classified as * inconclusive in EvidenceInsights data. *

* @return Returns a reference to this object so that method calls can be chained together. */ public EvidenceInsights withInconclusiveEvidenceCount(Integer inconclusiveEvidenceCount) { setInconclusiveEvidenceCount(inconclusiveEvidenceCount); return this; } /** * 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. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getNoncompliantEvidenceCount() != null) sb.append("NoncompliantEvidenceCount: ").append(getNoncompliantEvidenceCount()).append(","); if (getCompliantEvidenceCount() != null) sb.append("CompliantEvidenceCount: ").append(getCompliantEvidenceCount()).append(","); if (getInconclusiveEvidenceCount() != null) sb.append("InconclusiveEvidenceCount: ").append(getInconclusiveEvidenceCount()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof EvidenceInsights == false) return false; EvidenceInsights other = (EvidenceInsights) obj; if (other.getNoncompliantEvidenceCount() == null ^ this.getNoncompliantEvidenceCount() == null) return false; if (other.getNoncompliantEvidenceCount() != null && other.getNoncompliantEvidenceCount().equals(this.getNoncompliantEvidenceCount()) == false) return false; if (other.getCompliantEvidenceCount() == null ^ this.getCompliantEvidenceCount() == null) return false; if (other.getCompliantEvidenceCount() != null && other.getCompliantEvidenceCount().equals(this.getCompliantEvidenceCount()) == false) return false; if (other.getInconclusiveEvidenceCount() == null ^ this.getInconclusiveEvidenceCount() == null) return false; if (other.getInconclusiveEvidenceCount() != null && other.getInconclusiveEvidenceCount().equals(this.getInconclusiveEvidenceCount()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getNoncompliantEvidenceCount() == null) ? 0 : getNoncompliantEvidenceCount().hashCode()); hashCode = prime * hashCode + ((getCompliantEvidenceCount() == null) ? 0 : getCompliantEvidenceCount().hashCode()); hashCode = prime * hashCode + ((getInconclusiveEvidenceCount() == null) ? 0 : getInconclusiveEvidenceCount().hashCode()); return hashCode; } @Override public EvidenceInsights clone() { try { return (EvidenceInsights) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.auditmanager.model.transform.EvidenceInsightsMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy