@Generated(value="software.amazon.awssdk:codegen") public final class PutRumMetricsDestinationRequest extends RumRequest implements ToCopyableBuilder<PutRumMetricsDestinationRequest.Builder,PutRumMetricsDestinationRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PutRumMetricsDestinationRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
appMonitorName()
The name of the CloudWatch RUM app monitor that will send the metrics.
|
static PutRumMetricsDestinationRequest.Builder |
builder() |
MetricDestination |
destination()
Defines the destination to send the metrics to.
|
String |
destinationArn()
Use this parameter only if
Destination is Evidently. |
String |
destinationAsString()
Defines the destination to send the metrics to.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRoleArn()
This parameter is required if
Destination is Evidently. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PutRumMetricsDestinationRequest.Builder> |
serializableBuilderClass() |
PutRumMetricsDestinationRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String appMonitorName()
The name of the CloudWatch RUM app monitor that will send the metrics.
public final 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.
If the service returns an enum value that is not available in the current SDK version, destination will
return MetricDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
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 final String destinationAsString()
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.
If the service returns an enum value that is not available in the current SDK version, destination will
return MetricDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
destinationAsString().
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 final 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.
Destination is Evidently. This parameter specifies
the ARN of the Evidently experiment that will receive the extended metrics.public final String iamRoleArn()
This parameter is required if Destination is Evidently. If Destination is
CloudWatch, do not 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.
Destination is Evidently. If
Destination is CloudWatch, do not 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.
public PutRumMetricsDestinationRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PutRumMetricsDestinationRequest.Builder,PutRumMetricsDestinationRequest>toBuilder in class RumRequestpublic static PutRumMetricsDestinationRequest.Builder builder()
public static Class<? extends PutRumMetricsDestinationRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.