@Generated(value="software.amazon.awssdk:codegen") public final class LastRunErrorStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LastRunErrorStatus.Builder,LastRunErrorStatus>
Specifies whether any account- or bucket-level access errors occurred when a classification job ran. For example, the job is configured to analyze data for a member account that was suspended, or the job is configured to analyze an S3 bucket that Amazon Macie isn't allowed to access.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LastRunErrorStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
static LastRunErrorStatus.Builder |
builder() |
LastRunErrorStatusCode |
code()
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
String |
codeAsString()
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LastRunErrorStatus.Builder> |
serializableBuilderClass() |
LastRunErrorStatus.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic LastRunErrorStatusCode 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:
ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.
NONE - No errors occurred. Macie processed all the data specified for the job.
If the service returns an enum value that is not available in the current SDK version, code will return
LastRunErrorStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.
NONE - No errors occurred. Macie processed all the data specified for the job.
LastRunErrorStatusCodepublic String codeAsString()
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:
ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.
NONE - No errors occurred. Macie processed all the data specified for the job.
If the service returns an enum value that is not available in the current SDK version, code will return
LastRunErrorStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
ERROR - One or more errors occurred. Amazon Macie didn't process all the data specified for the job.
NONE - No errors occurred. Macie processed all the data specified for the job.
LastRunErrorStatusCodepublic LastRunErrorStatus.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LastRunErrorStatus.Builder,LastRunErrorStatus>public static LastRunErrorStatus.Builder builder()
public static Class<? extends LastRunErrorStatus.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.