Class LastRunErrorStatus
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.LastRunErrorStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LastRunErrorStatus.Builder,LastRunErrorStatus>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLastRunErrorStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LastRunErrorStatus.Builderbuilder()LastRunErrorStatusCodecode()Specifies whether any account- or bucket-level access errors occurred when the job ran.StringcodeAsString()Specifies whether any account- or bucket-level access errors occurred when the job ran.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends LastRunErrorStatus.Builder>serializableBuilderClass()LastRunErrorStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
code
public 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,
codewill returnLastRunErrorStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- 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.
-
- See Also:
LastRunErrorStatusCode
-
-
codeAsString
public 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,
codewill returnLastRunErrorStatusCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcodeAsString().- Returns:
- 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.
-
- See Also:
LastRunErrorStatusCode
-
-
toBuilder
public LastRunErrorStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<LastRunErrorStatus.Builder,LastRunErrorStatus>
-
builder
public static LastRunErrorStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends LastRunErrorStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-