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

com.amazonaws.services.auditmanager.model.AssessmentEvidenceFolder 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 2016-2021 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;

/**
 * 

* The folder in which AWS Audit Manager stores evidence for an assessment. *

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

* The name of the specified evidence folder. *

*/ private String name; /** *

* The date when the first evidence was added to the evidence folder. *

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

* The identifier for the specified assessment. *

*/ private String assessmentId; /** *

* The identifier for the control set. *

*/ private String controlSetId; /** *

* The unique identifier for the specified control. *

*/ private String controlId; /** *

* The identifier for the folder in which evidence is stored. *

*/ private String id; /** *

* The AWS service from which the evidence was collected. *

*/ private String dataSource; /** *

* The name of the user who created the evidence folder. *

*/ private String author; /** *

* The total amount of evidence in the evidence folder. *

*/ private Integer totalEvidence; /** *

* The total count of evidence included in the assessment report. *

*/ private Integer assessmentReportSelectionCount; /** *

* The name of the control. *

*/ private String controlName; /** *

* The amount of evidence included in the evidence folder. *

*/ private Integer evidenceResourcesIncludedCount; /** *

* The number of evidence that falls under the configuration data category. This evidence is collected from * configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM. *

*/ private Integer evidenceByTypeConfigurationDataCount; /** *

* The number of evidence that falls under the manual category. This evidence is imported manually. *

*/ private Integer evidenceByTypeManualCount; /** *

* The number of evidence that falls under the compliance check category. This evidence is collected from AWS Config * or AWS Security Hub. *

*/ private Integer evidenceByTypeComplianceCheckCount; /** *

* The total number of issues that were reported directly from AWS Security Hub, AWS Config, or both. *

*/ private Integer evidenceByTypeComplianceCheckIssuesCount; /** *

* The number of evidence that falls under the user activity category. This evidence is collected from AWS * CloudTrail logs. *

*/ private Integer evidenceByTypeUserActivityCount; /** *

* The total number of AWS resources assessed to generate the evidence. *

*/ private Integer evidenceAwsServiceSourceCount; /** *

* The name of the specified evidence folder. *

* * @param name * The name of the specified evidence folder. */ public void setName(String name) { this.name = name; } /** *

* The name of the specified evidence folder. *

* * @return The name of the specified evidence folder. */ public String getName() { return this.name; } /** *

* The name of the specified evidence folder. *

* * @param name * The name of the specified evidence folder. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withName(String name) { setName(name); return this; } /** *

* The date when the first evidence was added to the evidence folder. *

* * @param date * The date when the first evidence was added to the evidence folder. */ public void setDate(java.util.Date date) { this.date = date; } /** *

* The date when the first evidence was added to the evidence folder. *

* * @return The date when the first evidence was added to the evidence folder. */ public java.util.Date getDate() { return this.date; } /** *

* The date when the first evidence was added to the evidence folder. *

* * @param date * The date when the first evidence was added to the evidence folder. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withDate(java.util.Date date) { setDate(date); return this; } /** *

* The identifier for the specified assessment. *

* * @param assessmentId * The identifier for the specified assessment. */ public void setAssessmentId(String assessmentId) { this.assessmentId = assessmentId; } /** *

* The identifier for the specified assessment. *

* * @return The identifier for the specified assessment. */ public String getAssessmentId() { return this.assessmentId; } /** *

* The identifier for the specified assessment. *

* * @param assessmentId * The identifier for the specified assessment. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withAssessmentId(String assessmentId) { setAssessmentId(assessmentId); return this; } /** *

* The identifier for the control set. *

* * @param controlSetId * The identifier for the control set. */ public void setControlSetId(String controlSetId) { this.controlSetId = controlSetId; } /** *

* The identifier for the control set. *

* * @return The identifier for the control set. */ public String getControlSetId() { return this.controlSetId; } /** *

* The identifier for the control set. *

* * @param controlSetId * The identifier for the control set. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withControlSetId(String controlSetId) { setControlSetId(controlSetId); return this; } /** *

* The unique identifier for the specified control. *

* * @param controlId * The unique identifier for the specified control. */ public void setControlId(String controlId) { this.controlId = controlId; } /** *

* The unique identifier for the specified control. *

* * @return The unique identifier for the specified control. */ public String getControlId() { return this.controlId; } /** *

* The unique identifier for the specified control. *

* * @param controlId * The unique identifier for the specified control. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withControlId(String controlId) { setControlId(controlId); return this; } /** *

* The identifier for the folder in which evidence is stored. *

* * @param id * The identifier for the folder in which evidence is stored. */ public void setId(String id) { this.id = id; } /** *

* The identifier for the folder in which evidence is stored. *

* * @return The identifier for the folder in which evidence is stored. */ public String getId() { return this.id; } /** *

* The identifier for the folder in which evidence is stored. *

* * @param id * The identifier for the folder in which evidence is stored. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withId(String id) { setId(id); return this; } /** *

* The AWS service from which the evidence was collected. *

* * @param dataSource * The AWS service from which the evidence was collected. */ public void setDataSource(String dataSource) { this.dataSource = dataSource; } /** *

* The AWS service from which the evidence was collected. *

* * @return The AWS service from which the evidence was collected. */ public String getDataSource() { return this.dataSource; } /** *

* The AWS service from which the evidence was collected. *

* * @param dataSource * The AWS service from which the evidence was collected. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withDataSource(String dataSource) { setDataSource(dataSource); return this; } /** *

* The name of the user who created the evidence folder. *

* * @param author * The name of the user who created the evidence folder. */ public void setAuthor(String author) { this.author = author; } /** *

* The name of the user who created the evidence folder. *

* * @return The name of the user who created the evidence folder. */ public String getAuthor() { return this.author; } /** *

* The name of the user who created the evidence folder. *

* * @param author * The name of the user who created the evidence folder. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withAuthor(String author) { setAuthor(author); return this; } /** *

* The total amount of evidence in the evidence folder. *

* * @param totalEvidence * The total amount of evidence in the evidence folder. */ public void setTotalEvidence(Integer totalEvidence) { this.totalEvidence = totalEvidence; } /** *

* The total amount of evidence in the evidence folder. *

* * @return The total amount of evidence in the evidence folder. */ public Integer getTotalEvidence() { return this.totalEvidence; } /** *

* The total amount of evidence in the evidence folder. *

* * @param totalEvidence * The total amount of evidence in the evidence folder. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withTotalEvidence(Integer totalEvidence) { setTotalEvidence(totalEvidence); return this; } /** *

* The total count of evidence included in the assessment report. *

* * @param assessmentReportSelectionCount * The total count of evidence included in the assessment report. */ public void setAssessmentReportSelectionCount(Integer assessmentReportSelectionCount) { this.assessmentReportSelectionCount = assessmentReportSelectionCount; } /** *

* The total count of evidence included in the assessment report. *

* * @return The total count of evidence included in the assessment report. */ public Integer getAssessmentReportSelectionCount() { return this.assessmentReportSelectionCount; } /** *

* The total count of evidence included in the assessment report. *

* * @param assessmentReportSelectionCount * The total count of evidence included in the assessment report. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withAssessmentReportSelectionCount(Integer assessmentReportSelectionCount) { setAssessmentReportSelectionCount(assessmentReportSelectionCount); return this; } /** *

* The name of the control. *

* * @param controlName * The name of the control. */ public void setControlName(String controlName) { this.controlName = controlName; } /** *

* The name of the control. *

* * @return The name of the control. */ public String getControlName() { return this.controlName; } /** *

* The name of the control. *

* * @param controlName * The name of the control. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withControlName(String controlName) { setControlName(controlName); return this; } /** *

* The amount of evidence included in the evidence folder. *

* * @param evidenceResourcesIncludedCount * The amount of evidence included in the evidence folder. */ public void setEvidenceResourcesIncludedCount(Integer evidenceResourcesIncludedCount) { this.evidenceResourcesIncludedCount = evidenceResourcesIncludedCount; } /** *

* The amount of evidence included in the evidence folder. *

* * @return The amount of evidence included in the evidence folder. */ public Integer getEvidenceResourcesIncludedCount() { return this.evidenceResourcesIncludedCount; } /** *

* The amount of evidence included in the evidence folder. *

* * @param evidenceResourcesIncludedCount * The amount of evidence included in the evidence folder. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withEvidenceResourcesIncludedCount(Integer evidenceResourcesIncludedCount) { setEvidenceResourcesIncludedCount(evidenceResourcesIncludedCount); return this; } /** *

* The number of evidence that falls under the configuration data category. This evidence is collected from * configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM. *

* * @param evidenceByTypeConfigurationDataCount * The number of evidence that falls under the configuration data category. This evidence is collected from * configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM. */ public void setEvidenceByTypeConfigurationDataCount(Integer evidenceByTypeConfigurationDataCount) { this.evidenceByTypeConfigurationDataCount = evidenceByTypeConfigurationDataCount; } /** *

* The number of evidence that falls under the configuration data category. This evidence is collected from * configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM. *

* * @return The number of evidence that falls under the configuration data category. This evidence is collected from * configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM. */ public Integer getEvidenceByTypeConfigurationDataCount() { return this.evidenceByTypeConfigurationDataCount; } /** *

* The number of evidence that falls under the configuration data category. This evidence is collected from * configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM. *

* * @param evidenceByTypeConfigurationDataCount * The number of evidence that falls under the configuration data category. This evidence is collected from * configuration snapshots of other AWS services such as Amazon EC2, Amazon S3, or IAM. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withEvidenceByTypeConfigurationDataCount(Integer evidenceByTypeConfigurationDataCount) { setEvidenceByTypeConfigurationDataCount(evidenceByTypeConfigurationDataCount); return this; } /** *

* The number of evidence that falls under the manual category. This evidence is imported manually. *

* * @param evidenceByTypeManualCount * The number of evidence that falls under the manual category. This evidence is imported manually. */ public void setEvidenceByTypeManualCount(Integer evidenceByTypeManualCount) { this.evidenceByTypeManualCount = evidenceByTypeManualCount; } /** *

* The number of evidence that falls under the manual category. This evidence is imported manually. *

* * @return The number of evidence that falls under the manual category. This evidence is imported manually. */ public Integer getEvidenceByTypeManualCount() { return this.evidenceByTypeManualCount; } /** *

* The number of evidence that falls under the manual category. This evidence is imported manually. *

* * @param evidenceByTypeManualCount * The number of evidence that falls under the manual category. This evidence is imported manually. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withEvidenceByTypeManualCount(Integer evidenceByTypeManualCount) { setEvidenceByTypeManualCount(evidenceByTypeManualCount); return this; } /** *

* The number of evidence that falls under the compliance check category. This evidence is collected from AWS Config * or AWS Security Hub. *

* * @param evidenceByTypeComplianceCheckCount * The number of evidence that falls under the compliance check category. This evidence is collected from AWS * Config or AWS Security Hub. */ public void setEvidenceByTypeComplianceCheckCount(Integer evidenceByTypeComplianceCheckCount) { this.evidenceByTypeComplianceCheckCount = evidenceByTypeComplianceCheckCount; } /** *

* The number of evidence that falls under the compliance check category. This evidence is collected from AWS Config * or AWS Security Hub. *

* * @return The number of evidence that falls under the compliance check category. This evidence is collected from * AWS Config or AWS Security Hub. */ public Integer getEvidenceByTypeComplianceCheckCount() { return this.evidenceByTypeComplianceCheckCount; } /** *

* The number of evidence that falls under the compliance check category. This evidence is collected from AWS Config * or AWS Security Hub. *

* * @param evidenceByTypeComplianceCheckCount * The number of evidence that falls under the compliance check category. This evidence is collected from AWS * Config or AWS Security Hub. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withEvidenceByTypeComplianceCheckCount(Integer evidenceByTypeComplianceCheckCount) { setEvidenceByTypeComplianceCheckCount(evidenceByTypeComplianceCheckCount); return this; } /** *

* The total number of issues that were reported directly from AWS Security Hub, AWS Config, or both. *

* * @param evidenceByTypeComplianceCheckIssuesCount * The total number of issues that were reported directly from AWS Security Hub, AWS Config, or both. */ public void setEvidenceByTypeComplianceCheckIssuesCount(Integer evidenceByTypeComplianceCheckIssuesCount) { this.evidenceByTypeComplianceCheckIssuesCount = evidenceByTypeComplianceCheckIssuesCount; } /** *

* The total number of issues that were reported directly from AWS Security Hub, AWS Config, or both. *

* * @return The total number of issues that were reported directly from AWS Security Hub, AWS Config, or both. */ public Integer getEvidenceByTypeComplianceCheckIssuesCount() { return this.evidenceByTypeComplianceCheckIssuesCount; } /** *

* The total number of issues that were reported directly from AWS Security Hub, AWS Config, or both. *

* * @param evidenceByTypeComplianceCheckIssuesCount * The total number of issues that were reported directly from AWS Security Hub, AWS Config, or both. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withEvidenceByTypeComplianceCheckIssuesCount(Integer evidenceByTypeComplianceCheckIssuesCount) { setEvidenceByTypeComplianceCheckIssuesCount(evidenceByTypeComplianceCheckIssuesCount); return this; } /** *

* The number of evidence that falls under the user activity category. This evidence is collected from AWS * CloudTrail logs. *

* * @param evidenceByTypeUserActivityCount * The number of evidence that falls under the user activity category. This evidence is collected from AWS * CloudTrail logs. */ public void setEvidenceByTypeUserActivityCount(Integer evidenceByTypeUserActivityCount) { this.evidenceByTypeUserActivityCount = evidenceByTypeUserActivityCount; } /** *

* The number of evidence that falls under the user activity category. This evidence is collected from AWS * CloudTrail logs. *

* * @return The number of evidence that falls under the user activity category. This evidence is collected from AWS * CloudTrail logs. */ public Integer getEvidenceByTypeUserActivityCount() { return this.evidenceByTypeUserActivityCount; } /** *

* The number of evidence that falls under the user activity category. This evidence is collected from AWS * CloudTrail logs. *

* * @param evidenceByTypeUserActivityCount * The number of evidence that falls under the user activity category. This evidence is collected from AWS * CloudTrail logs. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withEvidenceByTypeUserActivityCount(Integer evidenceByTypeUserActivityCount) { setEvidenceByTypeUserActivityCount(evidenceByTypeUserActivityCount); return this; } /** *

* The total number of AWS resources assessed to generate the evidence. *

* * @param evidenceAwsServiceSourceCount * The total number of AWS resources assessed to generate the evidence. */ public void setEvidenceAwsServiceSourceCount(Integer evidenceAwsServiceSourceCount) { this.evidenceAwsServiceSourceCount = evidenceAwsServiceSourceCount; } /** *

* The total number of AWS resources assessed to generate the evidence. *

* * @return The total number of AWS resources assessed to generate the evidence. */ public Integer getEvidenceAwsServiceSourceCount() { return this.evidenceAwsServiceSourceCount; } /** *

* The total number of AWS resources assessed to generate the evidence. *

* * @param evidenceAwsServiceSourceCount * The total number of AWS resources assessed to generate the evidence. * @return Returns a reference to this object so that method calls can be chained together. */ public AssessmentEvidenceFolder withEvidenceAwsServiceSourceCount(Integer evidenceAwsServiceSourceCount) { setEvidenceAwsServiceSourceCount(evidenceAwsServiceSourceCount); 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 (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getDate() != null) sb.append("Date: ").append(getDate()).append(","); if (getAssessmentId() != null) sb.append("AssessmentId: ").append(getAssessmentId()).append(","); if (getControlSetId() != null) sb.append("ControlSetId: ").append(getControlSetId()).append(","); if (getControlId() != null) sb.append("ControlId: ").append(getControlId()).append(","); if (getId() != null) sb.append("Id: ").append(getId()).append(","); if (getDataSource() != null) sb.append("DataSource: ").append(getDataSource()).append(","); if (getAuthor() != null) sb.append("Author: ").append(getAuthor()).append(","); if (getTotalEvidence() != null) sb.append("TotalEvidence: ").append(getTotalEvidence()).append(","); if (getAssessmentReportSelectionCount() != null) sb.append("AssessmentReportSelectionCount: ").append(getAssessmentReportSelectionCount()).append(","); if (getControlName() != null) sb.append("ControlName: ").append(getControlName()).append(","); if (getEvidenceResourcesIncludedCount() != null) sb.append("EvidenceResourcesIncludedCount: ").append(getEvidenceResourcesIncludedCount()).append(","); if (getEvidenceByTypeConfigurationDataCount() != null) sb.append("EvidenceByTypeConfigurationDataCount: ").append(getEvidenceByTypeConfigurationDataCount()).append(","); if (getEvidenceByTypeManualCount() != null) sb.append("EvidenceByTypeManualCount: ").append(getEvidenceByTypeManualCount()).append(","); if (getEvidenceByTypeComplianceCheckCount() != null) sb.append("EvidenceByTypeComplianceCheckCount: ").append(getEvidenceByTypeComplianceCheckCount()).append(","); if (getEvidenceByTypeComplianceCheckIssuesCount() != null) sb.append("EvidenceByTypeComplianceCheckIssuesCount: ").append(getEvidenceByTypeComplianceCheckIssuesCount()).append(","); if (getEvidenceByTypeUserActivityCount() != null) sb.append("EvidenceByTypeUserActivityCount: ").append(getEvidenceByTypeUserActivityCount()).append(","); if (getEvidenceAwsServiceSourceCount() != null) sb.append("EvidenceAwsServiceSourceCount: ").append(getEvidenceAwsServiceSourceCount()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof AssessmentEvidenceFolder == false) return false; AssessmentEvidenceFolder other = (AssessmentEvidenceFolder) obj; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getDate() == null ^ this.getDate() == null) return false; if (other.getDate() != null && other.getDate().equals(this.getDate()) == false) return false; if (other.getAssessmentId() == null ^ this.getAssessmentId() == null) return false; if (other.getAssessmentId() != null && other.getAssessmentId().equals(this.getAssessmentId()) == false) return false; if (other.getControlSetId() == null ^ this.getControlSetId() == null) return false; if (other.getControlSetId() != null && other.getControlSetId().equals(this.getControlSetId()) == false) return false; if (other.getControlId() == null ^ this.getControlId() == null) return false; if (other.getControlId() != null && other.getControlId().equals(this.getControlId()) == false) return false; if (other.getId() == null ^ this.getId() == null) return false; if (other.getId() != null && other.getId().equals(this.getId()) == false) return false; if (other.getDataSource() == null ^ this.getDataSource() == null) return false; if (other.getDataSource() != null && other.getDataSource().equals(this.getDataSource()) == false) return false; if (other.getAuthor() == null ^ this.getAuthor() == null) return false; if (other.getAuthor() != null && other.getAuthor().equals(this.getAuthor()) == false) return false; if (other.getTotalEvidence() == null ^ this.getTotalEvidence() == null) return false; if (other.getTotalEvidence() != null && other.getTotalEvidence().equals(this.getTotalEvidence()) == false) return false; if (other.getAssessmentReportSelectionCount() == null ^ this.getAssessmentReportSelectionCount() == null) return false; if (other.getAssessmentReportSelectionCount() != null && other.getAssessmentReportSelectionCount().equals(this.getAssessmentReportSelectionCount()) == false) return false; if (other.getControlName() == null ^ this.getControlName() == null) return false; if (other.getControlName() != null && other.getControlName().equals(this.getControlName()) == false) return false; if (other.getEvidenceResourcesIncludedCount() == null ^ this.getEvidenceResourcesIncludedCount() == null) return false; if (other.getEvidenceResourcesIncludedCount() != null && other.getEvidenceResourcesIncludedCount().equals(this.getEvidenceResourcesIncludedCount()) == false) return false; if (other.getEvidenceByTypeConfigurationDataCount() == null ^ this.getEvidenceByTypeConfigurationDataCount() == null) return false; if (other.getEvidenceByTypeConfigurationDataCount() != null && other.getEvidenceByTypeConfigurationDataCount().equals(this.getEvidenceByTypeConfigurationDataCount()) == false) return false; if (other.getEvidenceByTypeManualCount() == null ^ this.getEvidenceByTypeManualCount() == null) return false; if (other.getEvidenceByTypeManualCount() != null && other.getEvidenceByTypeManualCount().equals(this.getEvidenceByTypeManualCount()) == false) return false; if (other.getEvidenceByTypeComplianceCheckCount() == null ^ this.getEvidenceByTypeComplianceCheckCount() == null) return false; if (other.getEvidenceByTypeComplianceCheckCount() != null && other.getEvidenceByTypeComplianceCheckCount().equals(this.getEvidenceByTypeComplianceCheckCount()) == false) return false; if (other.getEvidenceByTypeComplianceCheckIssuesCount() == null ^ this.getEvidenceByTypeComplianceCheckIssuesCount() == null) return false; if (other.getEvidenceByTypeComplianceCheckIssuesCount() != null && other.getEvidenceByTypeComplianceCheckIssuesCount().equals(this.getEvidenceByTypeComplianceCheckIssuesCount()) == false) return false; if (other.getEvidenceByTypeUserActivityCount() == null ^ this.getEvidenceByTypeUserActivityCount() == null) return false; if (other.getEvidenceByTypeUserActivityCount() != null && other.getEvidenceByTypeUserActivityCount().equals(this.getEvidenceByTypeUserActivityCount()) == false) return false; if (other.getEvidenceAwsServiceSourceCount() == null ^ this.getEvidenceAwsServiceSourceCount() == null) return false; if (other.getEvidenceAwsServiceSourceCount() != null && other.getEvidenceAwsServiceSourceCount().equals(this.getEvidenceAwsServiceSourceCount()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getDate() == null) ? 0 : getDate().hashCode()); hashCode = prime * hashCode + ((getAssessmentId() == null) ? 0 : getAssessmentId().hashCode()); hashCode = prime * hashCode + ((getControlSetId() == null) ? 0 : getControlSetId().hashCode()); hashCode = prime * hashCode + ((getControlId() == null) ? 0 : getControlId().hashCode()); hashCode = prime * hashCode + ((getId() == null) ? 0 : getId().hashCode()); hashCode = prime * hashCode + ((getDataSource() == null) ? 0 : getDataSource().hashCode()); hashCode = prime * hashCode + ((getAuthor() == null) ? 0 : getAuthor().hashCode()); hashCode = prime * hashCode + ((getTotalEvidence() == null) ? 0 : getTotalEvidence().hashCode()); hashCode = prime * hashCode + ((getAssessmentReportSelectionCount() == null) ? 0 : getAssessmentReportSelectionCount().hashCode()); hashCode = prime * hashCode + ((getControlName() == null) ? 0 : getControlName().hashCode()); hashCode = prime * hashCode + ((getEvidenceResourcesIncludedCount() == null) ? 0 : getEvidenceResourcesIncludedCount().hashCode()); hashCode = prime * hashCode + ((getEvidenceByTypeConfigurationDataCount() == null) ? 0 : getEvidenceByTypeConfigurationDataCount().hashCode()); hashCode = prime * hashCode + ((getEvidenceByTypeManualCount() == null) ? 0 : getEvidenceByTypeManualCount().hashCode()); hashCode = prime * hashCode + ((getEvidenceByTypeComplianceCheckCount() == null) ? 0 : getEvidenceByTypeComplianceCheckCount().hashCode()); hashCode = prime * hashCode + ((getEvidenceByTypeComplianceCheckIssuesCount() == null) ? 0 : getEvidenceByTypeComplianceCheckIssuesCount().hashCode()); hashCode = prime * hashCode + ((getEvidenceByTypeUserActivityCount() == null) ? 0 : getEvidenceByTypeUserActivityCount().hashCode()); hashCode = prime * hashCode + ((getEvidenceAwsServiceSourceCount() == null) ? 0 : getEvidenceAwsServiceSourceCount().hashCode()); return hashCode; } @Override public AssessmentEvidenceFolder clone() { try { return (AssessmentEvidenceFolder) 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.AssessmentEvidenceFolderMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy