@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateRumMetricDefinitionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateRumMetricDefinitionRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateRumMetricDefinitionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppMonitorName()
The name of the CloudWatch RUM app monitor that sends these metrics.
|
String |
getDestination()
The destination to send the metrics to.
|
String |
getDestinationArn()
This parameter is required if
Destination is Evidently . |
MetricDefinitionRequest |
getMetricDefinition()
A structure that contains the new definition that you want to use for this metric.
|
String |
getMetricDefinitionId()
The ID of the metric definition to update.
|
int |
hashCode() |
void |
setAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that sends these metrics.
|
void |
setDestination(String destination)
The destination to send the metrics to.
|
void |
setDestinationArn(String destinationArn)
This parameter is required if
Destination is Evidently . |
void |
setMetricDefinition(MetricDefinitionRequest metricDefinition)
A structure that contains the new definition that you want to use for this metric.
|
void |
setMetricDefinitionId(String metricDefinitionId)
The ID of the metric definition to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateRumMetricDefinitionRequest |
withAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that sends these metrics.
|
UpdateRumMetricDefinitionRequest |
withDestination(MetricDestination destination)
The destination to send the metrics to.
|
UpdateRumMetricDefinitionRequest |
withDestination(String destination)
The destination to send the metrics to.
|
UpdateRumMetricDefinitionRequest |
withDestinationArn(String destinationArn)
This parameter is required if
Destination is Evidently . |
UpdateRumMetricDefinitionRequest |
withMetricDefinition(MetricDefinitionRequest metricDefinition)
A structure that contains the new definition that you want to use for this metric.
|
UpdateRumMetricDefinitionRequest |
withMetricDefinitionId(String metricDefinitionId)
The ID of the metric definition to update.
|
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 setAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that sends these metrics.
appMonitorName
- The name of the CloudWatch RUM app monitor that sends these metrics.public String getAppMonitorName()
The name of the CloudWatch RUM app monitor that sends these metrics.
public UpdateRumMetricDefinitionRequest withAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that sends these metrics.
appMonitorName
- The name of the CloudWatch RUM app monitor that sends these metrics.public void setDestination(String destination)
The destination to send the metrics to. Valid values are CloudWatch
and Evidently
. If
you specify Evidently
, you must also specify the ARN of the CloudWatchEvidently experiment that will
receive the metrics and an IAM role that has permission to write to the experiment.
destination
- The destination to send the metrics to. Valid values are CloudWatch
and
Evidently
. If you specify Evidently
, you must also specify the ARN of the
CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write
to the experiment.MetricDestination
public String getDestination()
The destination to send the metrics to. Valid values are CloudWatch
and Evidently
. If
you specify Evidently
, you must also specify the ARN of the CloudWatchEvidently experiment that will
receive the metrics and an IAM role that has permission to write to the experiment.
CloudWatch
and
Evidently
. If you specify Evidently
, you must also specify the ARN of the
CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write
to the experiment.MetricDestination
public UpdateRumMetricDefinitionRequest withDestination(String destination)
The destination to send the metrics to. Valid values are CloudWatch
and Evidently
. If
you specify Evidently
, you must also specify the ARN of the CloudWatchEvidently experiment that will
receive the metrics and an IAM role that has permission to write to the experiment.
destination
- The destination to send the metrics to. Valid values are CloudWatch
and
Evidently
. If you specify Evidently
, you must also specify the ARN of the
CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write
to the experiment.MetricDestination
public UpdateRumMetricDefinitionRequest withDestination(MetricDestination destination)
The destination to send the metrics to. Valid values are CloudWatch
and Evidently
. If
you specify Evidently
, you must also specify the ARN of the CloudWatchEvidently experiment that will
receive the metrics and an IAM role that has permission to write to the experiment.
destination
- The destination to send the metrics to. Valid values are CloudWatch
and
Evidently
. If you specify Evidently
, you must also specify the ARN of the
CloudWatchEvidently experiment that will receive the metrics and an IAM role that has permission to write
to the experiment.MetricDestination
public void setDestinationArn(String destinationArn)
This parameter is required if Destination
is Evidently
. If Destination
is
CloudWatch
, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
destinationArn
- This parameter is required if Destination
is Evidently
. If
Destination
is CloudWatch
, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
public String getDestinationArn()
This parameter is required if Destination
is Evidently
. If Destination
is
CloudWatch
, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
Destination
is Evidently
. If
Destination
is CloudWatch
, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
public UpdateRumMetricDefinitionRequest withDestinationArn(String destinationArn)
This parameter is required if Destination
is Evidently
. If Destination
is
CloudWatch
, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
destinationArn
- This parameter is required if Destination
is Evidently
. If
Destination
is CloudWatch
, do not use this parameter.
This parameter specifies the ARN of the Evidently experiment that is to receive the metrics. You must have already defined this experiment as a valid destination. For more information, see PutRumMetricsDestination.
public void setMetricDefinition(MetricDefinitionRequest metricDefinition)
A structure that contains the new definition that you want to use for this metric.
metricDefinition
- A structure that contains the new definition that you want to use for this metric.public MetricDefinitionRequest getMetricDefinition()
A structure that contains the new definition that you want to use for this metric.
public UpdateRumMetricDefinitionRequest withMetricDefinition(MetricDefinitionRequest metricDefinition)
A structure that contains the new definition that you want to use for this metric.
metricDefinition
- A structure that contains the new definition that you want to use for this metric.public void setMetricDefinitionId(String metricDefinitionId)
The ID of the metric definition to update.
metricDefinitionId
- The ID of the metric definition to update.public String getMetricDefinitionId()
The ID of the metric definition to update.
public UpdateRumMetricDefinitionRequest withMetricDefinitionId(String metricDefinitionId)
The ID of the metric definition to update.
metricDefinitionId
- The ID of the metric definition to update.public String toString()
toString
in class Object
Object.toString()
public UpdateRumMetricDefinitionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()