Class CfnEndpointPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointPropsMixin>
- Enclosing class:
CfnEndpointPropsMixin
CfnEndpointPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) deploymentConfig(CfnEndpointPropsMixin.DeploymentConfigProperty deploymentConfig) The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.deploymentConfig(IResolvable deploymentConfig) The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.endpointConfigName(String endpointConfigName) The name of the AWS::SageMaker::EndpointConfig resource that specifies the configuration for the endpoint.endpointName(String endpointName) The name of the endpoint.excludeRetainedVariantProperties(List<? extends Object> excludeRetainedVariantProperties) When you are updating endpoint resources with RetainAllVariantProperties whose value is set totrue,ExcludeRetainedVariantPropertiesspecifies the list of type VariantProperty to override with the values provided byEndpointConfig.excludeRetainedVariantProperties(IResolvable excludeRetainedVariantProperties) When you are updating endpoint resources with RetainAllVariantProperties whose value is set totrue,ExcludeRetainedVariantPropertiesspecifies the list of type VariantProperty to override with the values provided byEndpointConfig.retainAllVariantProperties(Boolean retainAllVariantProperties) When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.retainAllVariantProperties(IResolvable retainAllVariantProperties) When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.retainDeploymentConfig(Boolean retainDeploymentConfig) Specifies whether to reuse the last deployment configuration.retainDeploymentConfig(IResolvable retainDeploymentConfig) Specifies whether to reuse the last deployment configuration.A list of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnEndpointPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnEndpointPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnEndpointPropsMixin.Builder.
-
deploymentConfig
@Stability(Stable) public CfnEndpointPropsMixin.Builder deploymentConfig(IResolvable deploymentConfig) The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.- Parameters:
deploymentConfig- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. This parameter is required.- Returns:
this- See Also:
-
deploymentConfig
@Stability(Stable) public CfnEndpointPropsMixin.Builder deploymentConfig(CfnEndpointPropsMixin.DeploymentConfigProperty deploymentConfig) The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.- Parameters:
deploymentConfig- The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. This parameter is required.- Returns:
this- See Also:
-
endpointConfigName
@Stability(Stable) public CfnEndpointPropsMixin.Builder endpointConfigName(String endpointConfigName) The name of the AWS::SageMaker::EndpointConfig resource that specifies the configuration for the endpoint. For more information, see CreateEndpointConfig .- Parameters:
endpointConfigName- The name of the AWS::SageMaker::EndpointConfig resource that specifies the configuration for the endpoint. For more information, see CreateEndpointConfig . This parameter is required.- Returns:
this- See Also:
-
endpointName
The name of the endpoint.The name must be unique within an AWS Region in your AWS account. The name is case-insensitive in
CreateEndpoint, but the case is preserved and must be matched in .- Parameters:
endpointName- The name of the endpoint. This parameter is required.- Returns:
this- See Also:
-
excludeRetainedVariantProperties
@Stability(Stable) public CfnEndpointPropsMixin.Builder excludeRetainedVariantProperties(IResolvable excludeRetainedVariantProperties) When you are updating endpoint resources with RetainAllVariantProperties whose value is set totrue,ExcludeRetainedVariantPropertiesspecifies the list of type VariantProperty to override with the values provided byEndpointConfig. If you don't specify a value forExcludeAllVariantProperties, no variant properties are overridden. Don't use this property when creating new endpoint resources or whenRetainAllVariantPropertiesis set tofalse.- Parameters:
excludeRetainedVariantProperties- When you are updating endpoint resources with RetainAllVariantProperties whose value is set totrue,ExcludeRetainedVariantPropertiesspecifies the list of type VariantProperty to override with the values provided byEndpointConfig. If you don't specify a value forExcludeAllVariantProperties, no variant properties are overridden. Don't use this property when creating new endpoint resources or whenRetainAllVariantPropertiesis set tofalse. This parameter is required.- Returns:
this- See Also:
-
excludeRetainedVariantProperties
@Stability(Stable) public CfnEndpointPropsMixin.Builder excludeRetainedVariantProperties(List<? extends Object> excludeRetainedVariantProperties) When you are updating endpoint resources with RetainAllVariantProperties whose value is set totrue,ExcludeRetainedVariantPropertiesspecifies the list of type VariantProperty to override with the values provided byEndpointConfig. If you don't specify a value forExcludeAllVariantProperties, no variant properties are overridden. Don't use this property when creating new endpoint resources or whenRetainAllVariantPropertiesis set tofalse.- Parameters:
excludeRetainedVariantProperties- When you are updating endpoint resources with RetainAllVariantProperties whose value is set totrue,ExcludeRetainedVariantPropertiesspecifies the list of type VariantProperty to override with the values provided byEndpointConfig. If you don't specify a value forExcludeAllVariantProperties, no variant properties are overridden. Don't use this property when creating new endpoint resources or whenRetainAllVariantPropertiesis set tofalse. This parameter is required.- Returns:
this- See Also:
-
retainAllVariantProperties
@Stability(Stable) public CfnEndpointPropsMixin.Builder retainAllVariantProperties(Boolean retainAllVariantProperties) When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.To retain the variant properties of an endpoint when updating it, set
RetainAllVariantPropertiestotrue. To use the variant properties specified in a newEndpointConfigcall when updating an endpoint, setRetainAllVariantPropertiestofalse. Use this property only when updating endpoint resources, not when creating new endpoint resources.- Parameters:
retainAllVariantProperties- When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. This parameter is required.- Returns:
this- See Also:
-
retainAllVariantProperties
@Stability(Stable) public CfnEndpointPropsMixin.Builder retainAllVariantProperties(IResolvable retainAllVariantProperties) When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight.To retain the variant properties of an endpoint when updating it, set
RetainAllVariantPropertiestotrue. To use the variant properties specified in a newEndpointConfigcall when updating an endpoint, setRetainAllVariantPropertiestofalse. Use this property only when updating endpoint resources, not when creating new endpoint resources.- Parameters:
retainAllVariantProperties- When updating endpoint resources, enables or disables the retention of variant properties, such as the instance count or the variant weight. This parameter is required.- Returns:
this- See Also:
-
retainDeploymentConfig
@Stability(Stable) public CfnEndpointPropsMixin.Builder retainDeploymentConfig(Boolean retainDeploymentConfig) Specifies whether to reuse the last deployment configuration.The default value is false (the configuration is not reused).
- Parameters:
retainDeploymentConfig- Specifies whether to reuse the last deployment configuration. This parameter is required.- Returns:
this- See Also:
-
retainDeploymentConfig
@Stability(Stable) public CfnEndpointPropsMixin.Builder retainDeploymentConfig(IResolvable retainDeploymentConfig) Specifies whether to reuse the last deployment configuration.The default value is false (the configuration is not reused).
- Parameters:
retainDeploymentConfig- Specifies whether to reuse the last deployment configuration. This parameter is required.- Returns:
this- See Also:
-
tags
A list of key-value pairs to apply to this resource.For more information, see Resource Tag and Using Cost Allocation Tags in the AWS Billing and Cost Management User Guide .
- Parameters:
tags- A list of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointPropsMixin>- Returns:
- a newly built instance of
CfnEndpointPropsMixin.
-