@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateRumMetricDefinitionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchCreateRumMetricDefinitionsResult() |
Modifier and Type | Method and Description |
---|---|
BatchCreateRumMetricDefinitionsResult |
clone() |
boolean |
equals(Object obj) |
List<BatchCreateRumMetricDefinitionsError> |
getErrors()
An array of error objects, if the operation caused any errors.
|
List<MetricDefinition> |
getMetricDefinitions()
An array of structures that define the extended metrics.
|
int |
hashCode() |
void |
setErrors(Collection<BatchCreateRumMetricDefinitionsError> errors)
An array of error objects, if the operation caused any errors.
|
void |
setMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of structures that define the extended metrics.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreateRumMetricDefinitionsResult |
withErrors(BatchCreateRumMetricDefinitionsError... errors)
An array of error objects, if the operation caused any errors.
|
BatchCreateRumMetricDefinitionsResult |
withErrors(Collection<BatchCreateRumMetricDefinitionsError> errors)
An array of error objects, if the operation caused any errors.
|
BatchCreateRumMetricDefinitionsResult |
withMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of structures that define the extended metrics.
|
BatchCreateRumMetricDefinitionsResult |
withMetricDefinitions(MetricDefinition... metricDefinitions)
An array of structures that define the extended metrics.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public BatchCreateRumMetricDefinitionsResult()
public List<BatchCreateRumMetricDefinitionsError> getErrors()
An array of error objects, if the operation caused any errors.
public void setErrors(Collection<BatchCreateRumMetricDefinitionsError> errors)
An array of error objects, if the operation caused any errors.
errors
- An array of error objects, if the operation caused any errors.public BatchCreateRumMetricDefinitionsResult withErrors(BatchCreateRumMetricDefinitionsError... errors)
An array of error objects, if the operation caused any errors.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- An array of error objects, if the operation caused any errors.public BatchCreateRumMetricDefinitionsResult withErrors(Collection<BatchCreateRumMetricDefinitionsError> errors)
An array of error objects, if the operation caused any errors.
errors
- An array of error objects, if the operation caused any errors.public List<MetricDefinition> getMetricDefinitions()
An array of structures that define the extended metrics.
public void setMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of structures that define the extended metrics.
metricDefinitions
- An array of structures that define the extended metrics.public BatchCreateRumMetricDefinitionsResult withMetricDefinitions(MetricDefinition... metricDefinitions)
An array of structures that define the extended metrics.
NOTE: This method appends the values to the existing list (if any). Use
setMetricDefinitions(java.util.Collection)
or withMetricDefinitions(java.util.Collection)
if
you want to override the existing values.
metricDefinitions
- An array of structures that define the extended metrics.public BatchCreateRumMetricDefinitionsResult withMetricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of structures that define the extended metrics.
metricDefinitions
- An array of structures that define the extended metrics.public String toString()
toString
in class Object
Object.toString()
public BatchCreateRumMetricDefinitionsResult clone()