@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 information about using logging data to investigate these errors, see Monitoring sensitive data discovery jobs in the Amazon Macie User Guide.
| 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 final 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 final 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 final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.