Class CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty>
- Enclosing interface:
CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty
@Stability(Stable)
public static final class CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerStartupHealthCheckTimeoutInSeconds(Number containerStartupHealthCheckTimeoutInSeconds) modelDataDownloadTimeoutInSeconds(Number modelDataDownloadTimeoutInSeconds)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerStartupHealthCheckTimeoutInSeconds
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty.Builder containerStartupHealthCheckTimeoutInSeconds(Number containerStartupHealthCheckTimeoutInSeconds) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty.getContainerStartupHealthCheckTimeoutInSeconds()- Parameters:
containerStartupHealthCheckTimeoutInSeconds- The timeout value, in seconds, for your inference container to pass health check by Amazon S3 Hosting. For more information about health check, see How Your Container Should Respond to Health Check (Ping) Requests .- Returns:
this
-
modelDataDownloadTimeoutInSeconds
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty.Builder modelDataDownloadTimeoutInSeconds(Number modelDataDownloadTimeoutInSeconds) Sets the value ofCfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty.getModelDataDownloadTimeoutInSeconds()- Parameters:
modelDataDownloadTimeoutInSeconds- The timeout value, in seconds, to download and extract the model that you want to host from Amazon S3 to the individual inference instance associated with this inference component.- Returns:
this
-
build
@Stability(Stable) public CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty>- Returns:
- a new instance of
CfnInferenceComponentPropsMixin.InferenceComponentStartupParametersProperty - Throws:
NullPointerException- if any required attribute was not provided
-