Class MetricDestinationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.rum.model.MetricDestinationSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricDestinationSummary.Builder,MetricDestinationSummary>
@Generated("software.amazon.awssdk:codegen") public final class MetricDestinationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDestinationSummary.Builder,MetricDestinationSummary>
A structure that displays information about one destination that CloudWatch RUM sends extended metrics to.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricDestinationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricDestinationSummary.Builderbuilder()MetricDestinationdestination()Specifies whether the destination isCloudWatchorEvidently.StringdestinationArn()If the destination isEvidently, this specifies the ARN of the Evidently experiment that receives the metrics.StringdestinationAsString()Specifies whether the destination isCloudWatchorEvidently.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRoleArn()This field appears only when the destination isEvidently.List<SdkField<?>>sdkFields()static Class<? extends MetricDestinationSummary.Builder>serializableBuilderClass()MetricDestinationSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
destination
public final MetricDestination destination()
Specifies whether the destination is
CloudWatchorEvidently.If the service returns an enum value that is not available in the current SDK version,
destinationwill returnMetricDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationAsString().- Returns:
- Specifies whether the destination is
CloudWatchorEvidently. - See Also:
MetricDestination
-
destinationAsString
public final String destinationAsString()
Specifies whether the destination is
CloudWatchorEvidently.If the service returns an enum value that is not available in the current SDK version,
destinationwill returnMetricDestination.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationAsString().- Returns:
- Specifies whether the destination is
CloudWatchorEvidently. - See Also:
MetricDestination
-
destinationArn
public final String destinationArn()
If the destination is
Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.- Returns:
- If the destination is
Evidently, this specifies the ARN of the Evidently experiment that receives the metrics.
-
iamRoleArn
public final String iamRoleArn()
This field appears only when the destination is
Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.- Returns:
- This field appears only when the destination is
Evidently. It specifies the ARN of the IAM role that is used to write to the Evidently experiment that receives the metrics.
-
toBuilder
public MetricDestinationSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricDestinationSummary.Builder,MetricDestinationSummary>
-
builder
public static MetricDestinationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricDestinationSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-