@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchCreateRumMetricDefinitionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
BatchCreateRumMetricDefinitionsRequest() |
| Modifier and Type | Method and Description |
|---|---|
BatchCreateRumMetricDefinitionsRequest |
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 is to send the metrics.
|
String |
getDestination()
The destination to send the metrics to.
|
String |
getDestinationArn()
This parameter is required if
Destination is Evidently. |
List<MetricDefinitionRequest> |
getMetricDefinitions()
An array of structures which define the metrics that you want to send.
|
int |
hashCode() |
void |
setAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that is to send the 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 |
setMetricDefinitions(Collection<MetricDefinitionRequest> metricDefinitions)
An array of structures which define the metrics that you want to send.
|
String |
toString()
Returns a string representation of this object.
|
BatchCreateRumMetricDefinitionsRequest |
withAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that is to send the metrics.
|
BatchCreateRumMetricDefinitionsRequest |
withDestination(MetricDestination destination)
The destination to send the metrics to.
|
BatchCreateRumMetricDefinitionsRequest |
withDestination(String destination)
The destination to send the metrics to.
|
BatchCreateRumMetricDefinitionsRequest |
withDestinationArn(String destinationArn)
This parameter is required if
Destination is Evidently. |
BatchCreateRumMetricDefinitionsRequest |
withMetricDefinitions(Collection<MetricDefinitionRequest> metricDefinitions)
An array of structures which define the metrics that you want to send.
|
BatchCreateRumMetricDefinitionsRequest |
withMetricDefinitions(MetricDefinitionRequest... metricDefinitions)
An array of structures which define the metrics that you want to send.
|
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 BatchCreateRumMetricDefinitionsRequest()
public void setAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that is to send the metrics.
appMonitorName - The name of the CloudWatch RUM app monitor that is to send the metrics.public String getAppMonitorName()
The name of the CloudWatch RUM app monitor that is to send the metrics.
public BatchCreateRumMetricDefinitionsRequest withAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that is to send the metrics.
appMonitorName - The name of the CloudWatch RUM app monitor that is to send the 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 Amazon Resource Name (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 Amazon Resource
Name (ARN) of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has
permission to write to the experiment.MetricDestinationpublic String getDestination()
The destination to send the metrics to. Valid values are CloudWatch and Evidently. If
you specify Evidently, you must also specify the Amazon Resource Name (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 Amazon Resource
Name (ARN) of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has
permission to write to the experiment.MetricDestinationpublic BatchCreateRumMetricDefinitionsRequest 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 Amazon Resource Name (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 Amazon Resource
Name (ARN) of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has
permission to write to the experiment.MetricDestinationpublic BatchCreateRumMetricDefinitionsRequest 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 Amazon Resource Name (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 Amazon Resource
Name (ARN) of the CloudWatchEvidently experiment that will receive the metrics and an IAM role that has
permission to write to the experiment.MetricDestinationpublic 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 BatchCreateRumMetricDefinitionsRequest 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 List<MetricDefinitionRequest> getMetricDefinitions()
An array of structures which define the metrics that you want to send.
public void setMetricDefinitions(Collection<MetricDefinitionRequest> metricDefinitions)
An array of structures which define the metrics that you want to send.
metricDefinitions - An array of structures which define the metrics that you want to send.public BatchCreateRumMetricDefinitionsRequest withMetricDefinitions(MetricDefinitionRequest... metricDefinitions)
An array of structures which define the metrics that you want to send.
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 which define the metrics that you want to send.public BatchCreateRumMetricDefinitionsRequest withMetricDefinitions(Collection<MetricDefinitionRequest> metricDefinitions)
An array of structures which define the metrics that you want to send.
metricDefinitions - An array of structures which define the metrics that you want to send.public String toString()
toString in class ObjectObject.toString()public BatchCreateRumMetricDefinitionsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()