Interface MetricsEndpoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricsEndpoint.Builder,,MetricsEndpoint> SdkBuilder<MetricsEndpoint.Builder,,MetricsEndpoint> SdkPojo
- Enclosing class:
MetricsEndpoint
@Mutable
@NotThreadSafe
public static interface MetricsEndpoint.Builder
extends SdkPojo, CopyableBuilder<MetricsEndpoint.Builder,MetricsEndpoint>
-
Method Summary
Modifier and TypeMethodDescriptionmetricPublishFrequencyInSeconds(Integer metricPublishFrequencyInSeconds) The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch.metricsEndpointPath(String metricsEndpointPath) The path to the metrics endpoint exposed by the container.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
metricsEndpointPath
The path to the metrics endpoint exposed by the container. For example,
/metricsor/server/metrics. The path must start with/and can contain alphanumeric characters, forward slashes, underscores, hyphens, and periods. Maximum length is 256 characters. If not specified, defaults to/metrics.- Parameters:
metricsEndpointPath- The path to the metrics endpoint exposed by the container. For example,/metricsor/server/metrics. The path must start with/and can contain alphanumeric characters, forward slashes, underscores, hyphens, and periods. Maximum length is 256 characters. If not specified, defaults to/metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricPublishFrequencyInSeconds
The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch. Valid values:
10,30,60,120,180,240,300. Defaults to60.- Parameters:
metricPublishFrequencyInSeconds- The interval, in seconds, at which container metrics scraped from the endpoint are published to Amazon CloudWatch. Valid values:10,30,60,120,180,240,300. Defaults to60.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-