@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeleteRumMetricDefinitionsError extends Object implements Serializable, Cloneable, StructuredPojo
A structure that defines one error caused by a BatchCreateRumMetricsDefinitions operation.
Constructor and Description |
---|
BatchDeleteRumMetricDefinitionsError() |
Modifier and Type | Method and Description |
---|---|
BatchDeleteRumMetricDefinitionsError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The error message for this metric definition.
|
String |
getMetricDefinitionId()
The ID of the metric definition that caused this error.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorCode(String errorCode)
The error code.
|
void |
setErrorMessage(String errorMessage)
The error message for this metric definition.
|
void |
setMetricDefinitionId(String metricDefinitionId)
The ID of the metric definition that caused this error.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeleteRumMetricDefinitionsError |
withErrorCode(String errorCode)
The error code.
|
BatchDeleteRumMetricDefinitionsError |
withErrorMessage(String errorMessage)
The error message for this metric definition.
|
BatchDeleteRumMetricDefinitionsError |
withMetricDefinitionId(String metricDefinitionId)
The ID of the metric definition that caused this error.
|
public BatchDeleteRumMetricDefinitionsError()
public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.public String getErrorCode()
The error code.
public BatchDeleteRumMetricDefinitionsError withErrorCode(String errorCode)
The error code.
errorCode
- The error code.public void setErrorMessage(String errorMessage)
The error message for this metric definition.
errorMessage
- The error message for this metric definition.public String getErrorMessage()
The error message for this metric definition.
public BatchDeleteRumMetricDefinitionsError withErrorMessage(String errorMessage)
The error message for this metric definition.
errorMessage
- The error message for this metric definition.public void setMetricDefinitionId(String metricDefinitionId)
The ID of the metric definition that caused this error.
metricDefinitionId
- The ID of the metric definition that caused this error.public String getMetricDefinitionId()
The ID of the metric definition that caused this error.
public BatchDeleteRumMetricDefinitionsError withMetricDefinitionId(String metricDefinitionId)
The ID of the metric definition that caused this error.
metricDefinitionId
- The ID of the metric definition that caused this error.public String toString()
toString
in class Object
Object.toString()
public BatchDeleteRumMetricDefinitionsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.