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

* Specifies whether any account- or bucket-level access errors occurred when a classification job ran. For information * about using logging data to investigate these errors, see Monitoring sensitive data * discovery jobs in the Amazon Macie User Guide. *

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

* Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this * value indicates the error status of the job's most recent run. Possible values are: *

* */ private String code; /** *

* Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring job, this * value indicates the error status of the job's most recent run. Possible values are: *

* * * @param code * Specifies whether any account- or bucket-level access errors occurred when the job ran. For a recurring * job, this value indicates the error status of the job's most recent run. Possible values are:

*