Interface BatchGetRumMetricDefinitionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetRumMetricDefinitionsResponse.Builder,BatchGetRumMetricDefinitionsResponse>,RumResponse.Builder,SdkBuilder<BatchGetRumMetricDefinitionsResponse.Builder,BatchGetRumMetricDefinitionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetRumMetricDefinitionsResponse
public static interface BatchGetRumMetricDefinitionsResponse.Builder extends RumResponse.Builder, SdkPojo, CopyableBuilder<BatchGetRumMetricDefinitionsResponse.Builder,BatchGetRumMetricDefinitionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetRumMetricDefinitionsResponse.BuildermetricDefinitions(Collection<MetricDefinition> metricDefinitions)An array of structures that display information about the metrics that are sent by the specified app monitor to the specified destination.BatchGetRumMetricDefinitionsResponse.BuildermetricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions)An array of structures that display information about the metrics that are sent by the specified app monitor to the specified destination.BatchGetRumMetricDefinitionsResponse.BuildermetricDefinitions(MetricDefinition... metricDefinitions)An array of structures that display information about the metrics that are sent by the specified app monitor to the specified destination.BatchGetRumMetricDefinitionsResponse.BuildernextToken(String nextToken)A token that you can use in a subsequent operation to retrieve the next set of results.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rum.model.RumResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
metricDefinitions
BatchGetRumMetricDefinitionsResponse.Builder metricDefinitions(Collection<MetricDefinition> metricDefinitions)
An array of structures that display information about the metrics that are sent by the specified app monitor to the specified destination.
- Parameters:
metricDefinitions- An array of structures that display information about the metrics that are sent by the specified app monitor to the specified destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinitions
BatchGetRumMetricDefinitionsResponse.Builder metricDefinitions(MetricDefinition... metricDefinitions)
An array of structures that display information about the metrics that are sent by the specified app monitor to the specified destination.
- Parameters:
metricDefinitions- An array of structures that display information about the metrics that are sent by the specified app monitor to the specified destination.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricDefinitions
BatchGetRumMetricDefinitionsResponse.Builder metricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions)
An array of structures that display information about the metrics that are sent by the specified app monitor to the specified destination.
This is a convenience method that creates an instance of theMetricDefinition.Builderavoiding the need to create one manually viaMetricDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricDefinitions(List.) - Parameters:
metricDefinitions- a consumer that will call methods onMetricDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricDefinitions(java.util.Collection)
-
nextToken
BatchGetRumMetricDefinitionsResponse.Builder nextToken(String nextToken)
A token that you can use in a subsequent operation to retrieve the next set of results.
- Parameters:
nextToken- A token that you can use in a subsequent operation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-