@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LastReportGenerationExecutionError extends Object implements Serializable, Cloneable, StructuredPojo
Describes the error that is returned when a usage report can't be generated.
Constructor and Description |
---|
LastReportGenerationExecutionError() |
Modifier and Type | Method and Description |
---|---|
LastReportGenerationExecutionError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code for the error that is returned when a usage report can't be generated.
|
String |
getErrorMessage()
The error message for the error that is returned when a usage report can't be generated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code for the error that is returned when a usage report can't be generated.
|
void |
setErrorMessage(String errorMessage)
The error message for the error that is returned when a usage report can't be generated.
|
String |
toString()
Returns a string representation of this object.
|
LastReportGenerationExecutionError |
withErrorCode(String errorCode)
The error code for the error that is returned when a usage report can't be generated.
|
LastReportGenerationExecutionError |
withErrorCode(UsageReportExecutionErrorCode errorCode)
The error code for the error that is returned when a usage report can't be generated.
|
LastReportGenerationExecutionError |
withErrorMessage(String errorMessage)
The error message for the error that is returned when a usage report can't be generated.
|
public void setErrorCode(String errorCode)
The error code for the error that is returned when a usage report can't be generated.
errorCode
- The error code for the error that is returned when a usage report can't be generated.UsageReportExecutionErrorCode
public String getErrorCode()
The error code for the error that is returned when a usage report can't be generated.
UsageReportExecutionErrorCode
public LastReportGenerationExecutionError withErrorCode(String errorCode)
The error code for the error that is returned when a usage report can't be generated.
errorCode
- The error code for the error that is returned when a usage report can't be generated.UsageReportExecutionErrorCode
public LastReportGenerationExecutionError withErrorCode(UsageReportExecutionErrorCode errorCode)
The error code for the error that is returned when a usage report can't be generated.
errorCode
- The error code for the error that is returned when a usage report can't be generated.UsageReportExecutionErrorCode
public void setErrorMessage(String errorMessage)
The error message for the error that is returned when a usage report can't be generated.
errorMessage
- The error message for the error that is returned when a usage report can't be generated.public String getErrorMessage()
The error message for the error that is returned when a usage report can't be generated.
public LastReportGenerationExecutionError withErrorMessage(String errorMessage)
The error message for the error that is returned when a usage report can't be generated.
errorMessage
- The error message for the error that is returned when a usage report can't be generated.public String toString()
toString
in class Object
Object.toString()
public LastReportGenerationExecutionError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.