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