Class CfnInferenceComponent.InferenceComponentStartupParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnInferenceComponent.InferenceComponentStartupParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponent.InferenceComponentStartupParametersProperty>
- Enclosing interface:
CfnInferenceComponent.InferenceComponentStartupParametersProperty
@Stability(Stable)
public static final class CfnInferenceComponent.InferenceComponentStartupParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponent.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 CfnInferenceComponent.InferenceComponentStartupParametersProperty.Builder containerStartupHealthCheckTimeoutInSeconds(Number containerStartupHealthCheckTimeoutInSeconds) Sets the value ofCfnInferenceComponent.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 CfnInferenceComponent.InferenceComponentStartupParametersProperty.Builder modelDataDownloadTimeoutInSeconds(Number modelDataDownloadTimeoutInSeconds) Sets the value ofCfnInferenceComponent.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
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnInferenceComponent.InferenceComponentStartupParametersProperty>
- Returns:
- a new instance of
CfnInferenceComponent.InferenceComponentStartupParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-