Interface EnhancedMetricsConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EnhancedMetricsConfig.Builder,EnhancedMetricsConfig>,SdkBuilder<EnhancedMetricsConfig.Builder,EnhancedMetricsConfig>,SdkPojo
- Enclosing class:
- EnhancedMetricsConfig
public static interface EnhancedMetricsConfig.Builder extends SdkPojo, CopyableBuilder<EnhancedMetricsConfig.Builder,EnhancedMetricsConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnhancedMetricsConfig.BuilderdataSourceLevelMetricsBehavior(String dataSourceLevelMetricsBehavior)Controls how data source metrics will be emitted to CloudWatch.EnhancedMetricsConfig.BuilderdataSourceLevelMetricsBehavior(DataSourceLevelMetricsBehavior dataSourceLevelMetricsBehavior)Controls how data source metrics will be emitted to CloudWatch.EnhancedMetricsConfig.BuilderoperationLevelMetricsConfig(String operationLevelMetricsConfig)Controls how operation metrics will be emitted to CloudWatch.EnhancedMetricsConfig.BuilderoperationLevelMetricsConfig(OperationLevelMetricsConfig operationLevelMetricsConfig)Controls how operation metrics will be emitted to CloudWatch.EnhancedMetricsConfig.BuilderresolverLevelMetricsBehavior(String resolverLevelMetricsBehavior)Controls how resolver metrics will be emitted to CloudWatch.EnhancedMetricsConfig.BuilderresolverLevelMetricsBehavior(ResolverLevelMetricsBehavior resolverLevelMetricsBehavior)Controls how resolver metrics will be emitted to CloudWatch.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
resolverLevelMetricsBehavior
EnhancedMetricsConfig.Builder resolverLevelMetricsBehavior(String resolverLevelMetricsBehavior)
Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:
-
GraphQL errors: The number of GraphQL errors that occurred.
-
Requests: The number of invocations that occurred during a request.
-
Latency: The time to complete a resolver invocation.
-
Cache hits: The number of cache hits during a request.
-
Cache misses: The number of cache misses during a request.
These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be recorded by API ID and resolver name.
resolverLevelMetricsBehavioraccepts one of these values at a time:-
FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers in the request. -
PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have themetricsConfigvalue set toENABLED.
- Parameters:
resolverLevelMetricsBehavior- Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:-
GraphQL errors: The number of GraphQL errors that occurred.
-
Requests: The number of invocations that occurred during a request.
-
Latency: The time to complete a resolver invocation.
-
Cache hits: The number of cache hits during a request.
-
Cache misses: The number of cache misses during a request.
These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be recorded by API ID and resolver name.
resolverLevelMetricsBehavioraccepts one of these values at a time:-
FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers in the request. -
PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have themetricsConfigvalue set toENABLED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverLevelMetricsBehavior,ResolverLevelMetricsBehavior
-
-
resolverLevelMetricsBehavior
EnhancedMetricsConfig.Builder resolverLevelMetricsBehavior(ResolverLevelMetricsBehavior resolverLevelMetricsBehavior)
Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:
-
GraphQL errors: The number of GraphQL errors that occurred.
-
Requests: The number of invocations that occurred during a request.
-
Latency: The time to complete a resolver invocation.
-
Cache hits: The number of cache hits during a request.
-
Cache misses: The number of cache misses during a request.
These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be recorded by API ID and resolver name.
resolverLevelMetricsBehavioraccepts one of these values at a time:-
FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers in the request. -
PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have themetricsConfigvalue set toENABLED.
- Parameters:
resolverLevelMetricsBehavior- Controls how resolver metrics will be emitted to CloudWatch. Resolver metrics include:-
GraphQL errors: The number of GraphQL errors that occurred.
-
Requests: The number of invocations that occurred during a request.
-
Latency: The time to complete a resolver invocation.
-
Cache hits: The number of cache hits during a request.
-
Cache misses: The number of cache misses during a request.
These metrics can be emitted to CloudWatch per resolver or for all resolvers in the request. Metrics will be recorded by API ID and resolver name.
resolverLevelMetricsBehavioraccepts one of these values at a time:-
FULL_REQUEST_RESOLVER_METRICS: Records and emits metric data for all resolvers in the request. -
PER_RESOLVER_METRICS: Records and emits metric data for resolvers that have themetricsConfigvalue set toENABLED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResolverLevelMetricsBehavior,ResolverLevelMetricsBehavior
-
-
dataSourceLevelMetricsBehavior
EnhancedMetricsConfig.Builder dataSourceLevelMetricsBehavior(String dataSourceLevelMetricsBehavior)
Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:
-
Requests: The number of invocations that occured during a request.
-
Latency: The time to complete a data source invocation.
-
Errors: The number of errors that occurred during a data source invocation.
These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics will be recorded by API ID and data source name.
dataSourceLevelMetricsBehavioraccepts one of these values at a time:-
FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data sources in the request. -
PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have themetricsConfigvalue set toENABLED.
- Parameters:
dataSourceLevelMetricsBehavior- Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:-
Requests: The number of invocations that occured during a request.
-
Latency: The time to complete a data source invocation.
-
Errors: The number of errors that occurred during a data source invocation.
These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics will be recorded by API ID and data source name.
dataSourceLevelMetricsBehavioraccepts one of these values at a time:-
FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data sources in the request. -
PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have themetricsConfigvalue set toENABLED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceLevelMetricsBehavior,DataSourceLevelMetricsBehavior
-
-
dataSourceLevelMetricsBehavior
EnhancedMetricsConfig.Builder dataSourceLevelMetricsBehavior(DataSourceLevelMetricsBehavior dataSourceLevelMetricsBehavior)
Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:
-
Requests: The number of invocations that occured during a request.
-
Latency: The time to complete a data source invocation.
-
Errors: The number of errors that occurred during a data source invocation.
These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics will be recorded by API ID and data source name.
dataSourceLevelMetricsBehavioraccepts one of these values at a time:-
FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data sources in the request. -
PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have themetricsConfigvalue set toENABLED.
- Parameters:
dataSourceLevelMetricsBehavior- Controls how data source metrics will be emitted to CloudWatch. Data source metrics include:-
Requests: The number of invocations that occured during a request.
-
Latency: The time to complete a data source invocation.
-
Errors: The number of errors that occurred during a data source invocation.
These metrics can be emitted to CloudWatch per data source or for all data sources in the request. Metrics will be recorded by API ID and data source name.
dataSourceLevelMetricsBehavioraccepts one of these values at a time:-
FULL_REQUEST_DATA_SOURCE_METRICS: Records and emits metric data for all data sources in the request. -
PER_DATA_SOURCE_METRICS: Records and emits metric data for data sources that have themetricsConfigvalue set toENABLED.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DataSourceLevelMetricsBehavior,DataSourceLevelMetricsBehavior
-
-
operationLevelMetricsConfig
EnhancedMetricsConfig.Builder operationLevelMetricsConfig(String operationLevelMetricsConfig)
Controls how operation metrics will be emitted to CloudWatch. Operation metrics include:
-
Requests: The number of times a specified GraphQL operation was called.
-
GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL operation.
Metrics will be recorded by API ID and operation name. You can set the value to
ENABLEDorDISABLED.- Parameters:
operationLevelMetricsConfig- Controls how operation metrics will be emitted to CloudWatch. Operation metrics include:-
Requests: The number of times a specified GraphQL operation was called.
-
GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL operation.
Metrics will be recorded by API ID and operation name. You can set the value to
ENABLEDorDISABLED.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperationLevelMetricsConfig,OperationLevelMetricsConfig
-
-
operationLevelMetricsConfig
EnhancedMetricsConfig.Builder operationLevelMetricsConfig(OperationLevelMetricsConfig operationLevelMetricsConfig)
Controls how operation metrics will be emitted to CloudWatch. Operation metrics include:
-
Requests: The number of times a specified GraphQL operation was called.
-
GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL operation.
Metrics will be recorded by API ID and operation name. You can set the value to
ENABLEDorDISABLED.- Parameters:
operationLevelMetricsConfig- Controls how operation metrics will be emitted to CloudWatch. Operation metrics include:-
Requests: The number of times a specified GraphQL operation was called.
-
GraphQL errors: The number of GraphQL errors that occurred during a specified GraphQL operation.
Metrics will be recorded by API ID and operation name. You can set the value to
ENABLEDorDISABLED.-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OperationLevelMetricsConfig,OperationLevelMetricsConfig
-
-
-