/* * 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.macie2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Provides information about an S3 object that Amazon Macie selected for analysis while performing automated sensitive * data discovery for an S3 bucket, and the status and results of the analysis. This information is available only if * automated sensitive data discovery is currently enabled for your account. *

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

* The Amazon Resource Name (ARN) of the object. *

*/ private String arn; /** *

* The status of the analysis. Possible values are: *

* */ private String classificationResultStatus; /** *

* Specifies whether Amazon Macie found sensitive data in the object. *

*/ private Boolean sensitive; /** *

* The Amazon Resource Name (ARN) of the object. *

* * @param arn * The Amazon Resource Name (ARN) of the object. */ public void setArn(String arn) { this.arn = arn; } /** *

* The Amazon Resource Name (ARN) of the object. *

* * @return The Amazon Resource Name (ARN) of the object. */ public String getArn() { return this.arn; } /** *

* The Amazon Resource Name (ARN) of the object. *

* * @param arn * The Amazon Resource Name (ARN) of the object. * @return Returns a reference to this object so that method calls can be chained together. */ public ResourceProfileArtifact withArn(String arn) { setArn(arn); return this; } /** *

* The status of the analysis. Possible values are: *

* * * @param classificationResultStatus * The status of the analysis. Possible values are:

*