/* * 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.auditmanager.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* An entity that defines the scope of audit evidence collected by Audit Manager. An Audit Manager assessment is an * implementation of an Audit Manager framework. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Assessment implements Serializable, Cloneable, StructuredPojo { /** ** The Amazon Resource Name (ARN) of the assessment. *
*/ private String arn; /** ** The Amazon Web Services account that's associated with the assessment. *
*/ private AWSAccount awsAccount; /** ** The metadata for the assessment. *
*/ private AssessmentMetadata metadata; /** ** The framework that the assessment was created from. *
*/ private AssessmentFramework framework; /** ** The tags that are associated with the assessment. *
*/ private java.util.Map* The Amazon Resource Name (ARN) of the assessment. *
* * @param arn * The Amazon Resource Name (ARN) of the assessment. */ public void setArn(String arn) { this.arn = arn; } /** ** The Amazon Resource Name (ARN) of the assessment. *
* * @return The Amazon Resource Name (ARN) of the assessment. */ public String getArn() { return this.arn; } /** ** The Amazon Resource Name (ARN) of the assessment. *
* * @param arn * The Amazon Resource Name (ARN) of the assessment. * @return Returns a reference to this object so that method calls can be chained together. */ public Assessment withArn(String arn) { setArn(arn); return this; } /** ** The Amazon Web Services account that's associated with the assessment. *
* * @param awsAccount * The Amazon Web Services account that's associated with the assessment. */ public void setAwsAccount(AWSAccount awsAccount) { this.awsAccount = awsAccount; } /** ** The Amazon Web Services account that's associated with the assessment. *
* * @return The Amazon Web Services account that's associated with the assessment. */ public AWSAccount getAwsAccount() { return this.awsAccount; } /** ** The Amazon Web Services account that's associated with the assessment. *
* * @param awsAccount * The Amazon Web Services account that's associated with the assessment. * @return Returns a reference to this object so that method calls can be chained together. */ public Assessment withAwsAccount(AWSAccount awsAccount) { setAwsAccount(awsAccount); return this; } /** ** The metadata for the assessment. *
* * @param metadata * The metadata for the assessment. */ public void setMetadata(AssessmentMetadata metadata) { this.metadata = metadata; } /** ** The metadata for the assessment. *
* * @return The metadata for the assessment. */ public AssessmentMetadata getMetadata() { return this.metadata; } /** ** The metadata for the assessment. *
* * @param metadata * The metadata for the assessment. * @return Returns a reference to this object so that method calls can be chained together. */ public Assessment withMetadata(AssessmentMetadata metadata) { setMetadata(metadata); return this; } /** ** The framework that the assessment was created from. *
* * @param framework * The framework that the assessment was created from. */ public void setFramework(AssessmentFramework framework) { this.framework = framework; } /** ** The framework that the assessment was created from. *
* * @return The framework that the assessment was created from. */ public AssessmentFramework getFramework() { return this.framework; } /** ** The framework that the assessment was created from. *
* * @param framework * The framework that the assessment was created from. * @return Returns a reference to this object so that method calls can be chained together. */ public Assessment withFramework(AssessmentFramework framework) { setFramework(framework); return this; } /** ** The tags that are associated with the assessment. *
* * @return The tags that are associated with the assessment. */ public java.util.Map* The tags that are associated with the assessment. *
* * @param tags * The tags that are associated with the assessment. */ public void setTags(java.util.Map* The tags that are associated with the assessment. *
* * @param tags * The tags that are associated with the assessment. * @return Returns a reference to this object so that method calls can be chained together. */ public Assessment withTags(java.util.Map