@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateMetricAttributionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateMetricAttributionRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateMetricAttributionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<MetricAttribute> |
getAddMetrics()
Add new metric attributes to the metric attribution.
|
String |
getMetricAttributionArn()
The Amazon Resource Name (ARN) for the metric attribution to update.
|
MetricAttributionOutput |
getMetricsOutputConfig()
An output config for the metric attribution.
|
List<String> |
getRemoveMetrics()
Remove metric attributes from the metric attribution.
|
int |
hashCode() |
void |
setAddMetrics(Collection<MetricAttribute> addMetrics)
Add new metric attributes to the metric attribution.
|
void |
setMetricAttributionArn(String metricAttributionArn)
The Amazon Resource Name (ARN) for the metric attribution to update.
|
void |
setMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
An output config for the metric attribution.
|
void |
setRemoveMetrics(Collection<String> removeMetrics)
Remove metric attributes from the metric attribution.
|
String |
toString()
Returns a string representation of this object.
|
UpdateMetricAttributionRequest |
withAddMetrics(Collection<MetricAttribute> addMetrics)
Add new metric attributes to the metric attribution.
|
UpdateMetricAttributionRequest |
withAddMetrics(MetricAttribute... addMetrics)
Add new metric attributes to the metric attribution.
|
UpdateMetricAttributionRequest |
withMetricAttributionArn(String metricAttributionArn)
The Amazon Resource Name (ARN) for the metric attribution to update.
|
UpdateMetricAttributionRequest |
withMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
An output config for the metric attribution.
|
UpdateMetricAttributionRequest |
withRemoveMetrics(Collection<String> removeMetrics)
Remove metric attributes from the metric attribution.
|
UpdateMetricAttributionRequest |
withRemoveMetrics(String... removeMetrics)
Remove metric attributes from the metric attribution.
|
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, withSdkRequestTimeoutpublic List<MetricAttribute> getAddMetrics()
Add new metric attributes to the metric attribution.
public void setAddMetrics(Collection<MetricAttribute> addMetrics)
Add new metric attributes to the metric attribution.
addMetrics - Add new metric attributes to the metric attribution.public UpdateMetricAttributionRequest withAddMetrics(MetricAttribute... addMetrics)
Add new metric attributes to the metric attribution.
NOTE: This method appends the values to the existing list (if any). Use
setAddMetrics(java.util.Collection) or withAddMetrics(java.util.Collection) if you want to
override the existing values.
addMetrics - Add new metric attributes to the metric attribution.public UpdateMetricAttributionRequest withAddMetrics(Collection<MetricAttribute> addMetrics)
Add new metric attributes to the metric attribution.
addMetrics - Add new metric attributes to the metric attribution.public List<String> getRemoveMetrics()
Remove metric attributes from the metric attribution.
public void setRemoveMetrics(Collection<String> removeMetrics)
Remove metric attributes from the metric attribution.
removeMetrics - Remove metric attributes from the metric attribution.public UpdateMetricAttributionRequest withRemoveMetrics(String... removeMetrics)
Remove metric attributes from the metric attribution.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveMetrics(java.util.Collection) or withRemoveMetrics(java.util.Collection) if you want
to override the existing values.
removeMetrics - Remove metric attributes from the metric attribution.public UpdateMetricAttributionRequest withRemoveMetrics(Collection<String> removeMetrics)
Remove metric attributes from the metric attribution.
removeMetrics - Remove metric attributes from the metric attribution.public void setMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
An output config for the metric attribution.
metricsOutputConfig - An output config for the metric attribution.public MetricAttributionOutput getMetricsOutputConfig()
An output config for the metric attribution.
public UpdateMetricAttributionRequest withMetricsOutputConfig(MetricAttributionOutput metricsOutputConfig)
An output config for the metric attribution.
metricsOutputConfig - An output config for the metric attribution.public void setMetricAttributionArn(String metricAttributionArn)
The Amazon Resource Name (ARN) for the metric attribution to update.
metricAttributionArn - The Amazon Resource Name (ARN) for the metric attribution to update.public String getMetricAttributionArn()
The Amazon Resource Name (ARN) for the metric attribution to update.
public UpdateMetricAttributionRequest withMetricAttributionArn(String metricAttributionArn)
The Amazon Resource Name (ARN) for the metric attribution to update.
metricAttributionArn - The Amazon Resource Name (ARN) for the metric attribution to update.public String toString()
toString in class ObjectObject.toString()public UpdateMetricAttributionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()