@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchPutMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
BatchPutMetricsRequest() |
Modifier and Type | Method and Description |
---|---|
BatchPutMetricsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<RawMetricData> |
getMetricData()
A list of raw metric values to put.
|
String |
getTrialComponentName()
The name of the Trial Component to associate with the metrics.
|
int |
hashCode() |
void |
setMetricData(Collection<RawMetricData> metricData)
A list of raw metric values to put.
|
void |
setTrialComponentName(String trialComponentName)
The name of the Trial Component to associate with the metrics.
|
String |
toString()
Returns a string representation of this object.
|
BatchPutMetricsRequest |
withMetricData(Collection<RawMetricData> metricData)
A list of raw metric values to put.
|
BatchPutMetricsRequest |
withMetricData(RawMetricData... metricData)
A list of raw metric values to put.
|
BatchPutMetricsRequest |
withTrialComponentName(String trialComponentName)
The name of the Trial Component to associate with the metrics.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setTrialComponentName(String trialComponentName)
The name of the Trial Component to associate with the metrics.
trialComponentName
- The name of the Trial Component to associate with the metrics.public String getTrialComponentName()
The name of the Trial Component to associate with the metrics.
public BatchPutMetricsRequest withTrialComponentName(String trialComponentName)
The name of the Trial Component to associate with the metrics.
trialComponentName
- The name of the Trial Component to associate with the metrics.public List<RawMetricData> getMetricData()
A list of raw metric values to put.
public void setMetricData(Collection<RawMetricData> metricData)
A list of raw metric values to put.
metricData
- A list of raw metric values to put.public BatchPutMetricsRequest withMetricData(RawMetricData... metricData)
A list of raw metric values to put.
NOTE: This method appends the values to the existing list (if any). Use
setMetricData(java.util.Collection)
or withMetricData(java.util.Collection)
if you want to
override the existing values.
metricData
- A list of raw metric values to put.public BatchPutMetricsRequest withMetricData(Collection<RawMetricData> metricData)
A list of raw metric values to put.
metricData
- A list of raw metric values to put.public String toString()
toString
in class Object
Object.toString()
public BatchPutMetricsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()