@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateRumMetricDefinitionsError extends Object implements Serializable, Cloneable, StructuredPojo
A structure that defines one error caused by a BatchCreateRumMetricsDefinitions operation.
Constructor and Description |
---|
BatchCreateRumMetricDefinitionsError() |
Modifier and Type | Method and Description |
---|---|
BatchCreateRumMetricDefinitionsError |
clone() |
boolean |
equals(Object obj) |
String |
getErrorCode()
The error code.
|
String |
getErrorMessage()
The error message for this metric definition.
|
MetricDefinitionRequest |
getMetricDefinition()
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 |
setMetricDefinition(MetricDefinitionRequest metricDefinition)
The metric definition that caused this error.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreateRumMetricDefinitionsError |
withErrorCode(String errorCode)
The error code.
|
BatchCreateRumMetricDefinitionsError |
withErrorMessage(String errorMessage)
The error message for this metric definition.
|
BatchCreateRumMetricDefinitionsError |
withMetricDefinition(MetricDefinitionRequest metricDefinition)
The metric definition that caused this error.
|
public BatchCreateRumMetricDefinitionsError()
public void setErrorCode(String errorCode)
The error code.
errorCode
- The error code.public String getErrorCode()
The error code.
public BatchCreateRumMetricDefinitionsError 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 BatchCreateRumMetricDefinitionsError withErrorMessage(String errorMessage)
The error message for this metric definition.
errorMessage
- The error message for this metric definition.public void setMetricDefinition(MetricDefinitionRequest metricDefinition)
The metric definition that caused this error.
metricDefinition
- The metric definition that caused this error.public MetricDefinitionRequest getMetricDefinition()
The metric definition that caused this error.
public BatchCreateRumMetricDefinitionsError withMetricDefinition(MetricDefinitionRequest metricDefinition)
The metric definition that caused this error.
metricDefinition
- The metric definition that caused this error.public String toString()
toString
in class Object
Object.toString()
public BatchCreateRumMetricDefinitionsError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.