@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRumMetricsDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutRumMetricsDestinationRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutRumMetricsDestinationRequest |
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 will send the metrics.
|
String |
getDestination()
Defines the destination to send the metrics to.
|
String |
getDestinationArn()
Use this parameter only if
Destination is Evidently. |
String |
getIamRoleArn()
This parameter is required if
Destination is Evidently. |
int |
hashCode() |
void |
setAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that will send the metrics.
|
void |
setDestination(String destination)
Defines the destination to send the metrics to.
|
void |
setDestinationArn(String destinationArn)
Use this parameter only if
Destination is Evidently. |
void |
setIamRoleArn(String iamRoleArn)
This parameter is required if
Destination is Evidently. |
String |
toString()
Returns a string representation of this object.
|
PutRumMetricsDestinationRequest |
withAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that will send the metrics.
|
PutRumMetricsDestinationRequest |
withDestination(MetricDestination destination)
Defines the destination to send the metrics to.
|
PutRumMetricsDestinationRequest |
withDestination(String destination)
Defines the destination to send the metrics to.
|
PutRumMetricsDestinationRequest |
withDestinationArn(String destinationArn)
Use this parameter only if
Destination is Evidently. |
PutRumMetricsDestinationRequest |
withIamRoleArn(String iamRoleArn)
This parameter is required if
Destination is Evidently. |
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 void setAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that will send the metrics.
appMonitorName - The name of the CloudWatch RUM app monitor that will send the metrics.public String getAppMonitorName()
The name of the CloudWatch RUM app monitor that will send the metrics.
public PutRumMetricsDestinationRequest withAppMonitorName(String appMonitorName)
The name of the CloudWatch RUM app monitor that will send the metrics.
appMonitorName - The name of the CloudWatch RUM app monitor that will send the metrics.public void setDestination(String destination)
Defines 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 is to be the destination and an IAM role that has permission to write to the
experiment.
destination - Defines 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 is to be the destination and an IAM role that has permission to write
to the experiment.MetricDestinationpublic String getDestination()
Defines 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 is to be the destination 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 is to be the destination and an IAM role that has permission to write
to the experiment.MetricDestinationpublic PutRumMetricsDestinationRequest withDestination(String destination)
Defines 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 is to be the destination and an IAM role that has permission to write to the
experiment.
destination - Defines 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 is to be the destination and an IAM role that has permission to write
to the experiment.MetricDestinationpublic PutRumMetricsDestinationRequest withDestination(MetricDestination destination)
Defines 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 is to be the destination and an IAM role that has permission to write to the
experiment.
destination - Defines 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 is to be the destination and an IAM role that has permission to write
to the experiment.MetricDestinationpublic void setDestinationArn(String destinationArn)
Use this parameter only if Destination is Evidently. This parameter specifies the ARN
of the Evidently experiment that will receive the extended metrics.
destinationArn - Use this parameter only if Destination is Evidently. This parameter specifies
the ARN of the Evidently experiment that will receive the extended metrics.public String getDestinationArn()
Use this parameter only if Destination is Evidently. This parameter specifies the ARN
of the Evidently experiment that will receive the extended metrics.
Destination is Evidently. This parameter specifies
the ARN of the Evidently experiment that will receive the extended metrics.public PutRumMetricsDestinationRequest withDestinationArn(String destinationArn)
Use this parameter only if Destination is Evidently. This parameter specifies the ARN
of the Evidently experiment that will receive the extended metrics.
destinationArn - Use this parameter only if Destination is Evidently. This parameter specifies
the ARN of the Evidently experiment that will receive the extended metrics.public void setIamRoleArn(String iamRoleArn)
This parameter is required if Destination is Evidently. If Destination is
CloudWatch, don't use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
If you specify this parameter, you must be signed on to a role that has PassRole permissions
attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include PassRole permissions.
iamRoleArn - This parameter is required if Destination is Evidently. If
Destination is CloudWatch, don't use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
If you specify this parameter, you must be signed on to a role that has PassRole
permissions attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include PassRole permissions.
public String getIamRoleArn()
This parameter is required if Destination is Evidently. If Destination is
CloudWatch, don't use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
If you specify this parameter, you must be signed on to a role that has PassRole permissions
attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include PassRole permissions.
Destination is Evidently. If
Destination is CloudWatch, don't use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
If you specify this parameter, you must be signed on to a role that has PassRole
permissions attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include PassRole permissions.
public PutRumMetricsDestinationRequest withIamRoleArn(String iamRoleArn)
This parameter is required if Destination is Evidently. If Destination is
CloudWatch, don't use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
If you specify this parameter, you must be signed on to a role that has PassRole permissions
attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include PassRole permissions.
iamRoleArn - This parameter is required if Destination is Evidently. If
Destination is CloudWatch, don't use this parameter.
This parameter specifies the ARN of an IAM role that RUM will assume to write to the Evidently experiment that you are sending metrics to. This role must have permission to write to that experiment.
If you specify this parameter, you must be signed on to a role that has PassRole
permissions attached to it, to allow the role to be passed. The CloudWatchAmazonCloudWatchRUMFullAccess policy doesn't include PassRole permissions.
public String toString()
toString in class ObjectObject.toString()public PutRumMetricsDestinationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()