Class CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty>
- Enclosing interface:
CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty
@Stability(Stable)
public static final class CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.metricsEndpoints(List<? extends Object> metricsEndpoints) metricsEndpoints(IResolvable metricsEndpoints)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
metricsEndpoints
@Stability(Stable) public CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty.Builder metricsEndpoints(IResolvable metricsEndpoints) Sets the value ofCfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty.getMetricsEndpoints()- Parameters:
metricsEndpoints- the value to be set.- Returns:
this
-
metricsEndpoints
@Stability(Stable) public CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty.Builder metricsEndpoints(List<? extends Object> metricsEndpoints) Sets the value ofCfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty.getMetricsEndpoints()- Parameters:
metricsEndpoints- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty>- Returns:
- a new instance of
CfnInferenceComponentPropsMixin.ContainerMetricsConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-