Class CfnModel.ModelAccessConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModel.ModelAccessConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModel.ModelAccessConfigProperty>
- Enclosing interface:
CfnModel.ModelAccessConfigProperty
@Stability(Stable)
public static final class CfnModel.ModelAccessConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModel.ModelAccessConfigProperty>
A builder for
CfnModel.ModelAccessConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacceptEula
(Boolean acceptEula) Sets the value ofCfnModel.ModelAccessConfigProperty.getAcceptEula()
acceptEula
(IResolvable acceptEula) Sets the value ofCfnModel.ModelAccessConfigProperty.getAcceptEula()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptEula
Sets the value ofCfnModel.ModelAccessConfigProperty.getAcceptEula()
- Parameters:
acceptEula
- Specifies agreement to the model end-user license agreement (EULA). This parameter is required. TheAcceptEula
value must be explicitly defined asTrue
in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.- Returns:
this
-
acceptEula
@Stability(Stable) public CfnModel.ModelAccessConfigProperty.Builder acceptEula(IResolvable acceptEula) Sets the value ofCfnModel.ModelAccessConfigProperty.getAcceptEula()
- Parameters:
acceptEula
- Specifies agreement to the model end-user license agreement (EULA). This parameter is required. TheAcceptEula
value must be explicitly defined asTrue
in order to accept the EULA that this model requires. You are responsible for reviewing and complying with any applicable license terms and making sure they are acceptable for your use case before downloading or using a model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModel.ModelAccessConfigProperty>
- Returns:
- a new instance of
CfnModel.ModelAccessConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-