Class BatchGetRumMetricDefinitionsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rum.model.RumRequest
-
- software.amazon.awssdk.services.rum.model.BatchGetRumMetricDefinitionsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<BatchGetRumMetricDefinitionsRequest.Builder,BatchGetRumMetricDefinitionsRequest>
@Generated("software.amazon.awssdk:codegen") public final class BatchGetRumMetricDefinitionsRequest extends RumRequest implements ToCopyableBuilder<BatchGetRumMetricDefinitionsRequest.Builder,BatchGetRumMetricDefinitionsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBatchGetRumMetricDefinitionsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringappMonitorName()The name of the CloudWatch RUM app monitor that is sending the metrics.static BatchGetRumMetricDefinitionsRequest.Builderbuilder()MetricDestinationdestination()The type of destination that you want to view metrics for.StringdestinationArn()This parameter is required ifDestinationisEvidently.StringdestinationAsString()The type of destination that you want to view metrics for.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegermaxResults()The maximum number of results to return in one operation.StringnextToken()Use the token returned by the previous operation to request the next page of results.List<SdkField<?>>sdkFields()static Class<? extends BatchGetRumMetricDefinitionsRequest.Builder>serializableBuilderClass()BatchGetRumMetricDefinitionsRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
appMonitorName
public final String appMonitorName()
The name of the CloudWatch RUM app monitor that is sending the metrics.
- Returns:
- The name of the CloudWatch RUM app monitor that is sending the metrics.
-
destination
public final MetricDestination destination()
The type of destination that you want to view metrics for. Valid values are
CloudWatchandEvidently.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:
- The type of destination that you want to view metrics for. Valid values are
CloudWatchandEvidently. - See Also:
MetricDestination
-
destinationAsString
public final String destinationAsString()
The type of destination that you want to view metrics for. Valid values are
CloudWatchandEvidently.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:
- The type of destination that you want to view metrics for. Valid values are
CloudWatchandEvidently. - See Also:
MetricDestination
-
destinationArn
public final String destinationArn()
This parameter is required if
DestinationisEvidently. IfDestinationisCloudWatch, do not use this parameter.This parameter specifies the ARN of the Evidently experiment that corresponds to the destination.
- Returns:
- This parameter is required if
DestinationisEvidently. IfDestinationisCloudWatch, do not use this parameter.This parameter specifies the ARN of the Evidently experiment that corresponds to the destination.
-
maxResults
public final Integer maxResults()
The maximum number of results to return in one operation. The default is 50. The maximum that you can specify is 100.
To retrieve the remaining results, make another call with the returned
NextTokenvalue.- Returns:
- The maximum number of results to return in one operation. The default is 50. The maximum that you can
specify is 100.
To retrieve the remaining results, make another call with the returned
NextTokenvalue.
-
nextToken
public final String nextToken()
Use the token returned by the previous operation to request the next page of results.
- Returns:
- Use the token returned by the previous operation to request the next page of results.
-
toBuilder
public BatchGetRumMetricDefinitionsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<BatchGetRumMetricDefinitionsRequest.Builder,BatchGetRumMetricDefinitionsRequest>- Specified by:
toBuilderin classRumRequest
-
builder
public static BatchGetRumMetricDefinitionsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends BatchGetRumMetricDefinitionsRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-