Interface BatchGetRumMetricDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetRumMetricDefinitionsResponse.Builder,
,BatchGetRumMetricDefinitionsResponse> RumResponse.Builder
,SdkBuilder<BatchGetRumMetricDefinitionsResponse.Builder,
,BatchGetRumMetricDefinitionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetRumMetricDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface BatchGetRumMetricDefinitionsResponse.Builder
extends RumResponse.Builder, SdkPojo, CopyableBuilder<BatchGetRumMetricDefinitionsResponse.Builder,BatchGetRumMetricDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmetricDefinitions
(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.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.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.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.Builder
avoiding the need to create one manually viaMetricDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometricDefinitions(List<MetricDefinition>)
.- 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:
-
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.
-