Class CfnModelPropsMixin.ModelAccessConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelPropsMixin.ModelAccessConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPropsMixin.ModelAccessConfigProperty>
- Enclosing interface:
CfnModelPropsMixin.ModelAccessConfigProperty
@Stability(Stable)
public static final class CfnModelPropsMixin.ModelAccessConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPropsMixin.ModelAccessConfigProperty>
A builder for
CfnModelPropsMixin.ModelAccessConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptEula(Boolean acceptEula) Sets the value ofCfnModelPropsMixin.ModelAccessConfigProperty.getAcceptEula()acceptEula(IResolvable acceptEula) Sets the value ofCfnModelPropsMixin.ModelAccessConfigProperty.getAcceptEula()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptEula
@Stability(Stable) public CfnModelPropsMixin.ModelAccessConfigProperty.Builder acceptEula(Boolean acceptEula) Sets the value ofCfnModelPropsMixin.ModelAccessConfigProperty.getAcceptEula()- Parameters:
acceptEula- Specifies agreement to the model end-user license agreement (EULA). TheAcceptEulavalue must be explicitly defined asTruein 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 CfnModelPropsMixin.ModelAccessConfigProperty.Builder acceptEula(IResolvable acceptEula) Sets the value ofCfnModelPropsMixin.ModelAccessConfigProperty.getAcceptEula()- Parameters:
acceptEula- Specifies agreement to the model end-user license agreement (EULA). TheAcceptEulavalue must be explicitly defined asTruein 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelPropsMixin.ModelAccessConfigProperty>- Returns:
- a new instance of
CfnModelPropsMixin.ModelAccessConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-