@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LastRunErrorStatus extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
LastRunErrorStatus() |
| Modifier and Type | Method and Description |
|---|---|
LastRunErrorStatus |
clone() |
boolean |
equals(Object obj) |
String |
getCode()
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCode(String code)
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
String |
toString()
Returns a string representation of this object.
|
LastRunErrorStatus |
withCode(LastRunErrorStatusCode code)
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
LastRunErrorStatus |
withCode(String code)
Specifies whether any account- or bucket-level access errors occurred when the job ran.
|
public void setCode(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:
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.
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.
LastRunErrorStatusCodepublic String getCode()
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.
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 withCode(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:
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.
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.
LastRunErrorStatusCodepublic LastRunErrorStatus withCode(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.
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.
LastRunErrorStatusCodepublic String toString()
toString in class ObjectObject.toString()public LastRunErrorStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.