Class CfnModelPackagePropsMixin.ModelAccessConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelPackagePropsMixin.ModelAccessConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelPackagePropsMixin.ModelAccessConfigProperty>
- Enclosing interface:
CfnModelPackagePropsMixin.ModelAccessConfigProperty
@Stability(Stable)
public static final class CfnModelPackagePropsMixin.ModelAccessConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelPackagePropsMixin.ModelAccessConfigProperty>
A builder for
CfnModelPackagePropsMixin.ModelAccessConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptEula(Boolean acceptEula) Sets the value ofCfnModelPackagePropsMixin.ModelAccessConfigProperty.getAcceptEula()acceptEula(IResolvable acceptEula) Sets the value ofCfnModelPackagePropsMixin.ModelAccessConfigProperty.getAcceptEula()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptEula
@Stability(Stable) public CfnModelPackagePropsMixin.ModelAccessConfigProperty.Builder acceptEula(Boolean acceptEula) Sets the value ofCfnModelPackagePropsMixin.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 CfnModelPackagePropsMixin.ModelAccessConfigProperty.Builder acceptEula(IResolvable acceptEula) Sets the value ofCfnModelPackagePropsMixin.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<CfnModelPackagePropsMixin.ModelAccessConfigProperty>- Returns:
- a new instance of
CfnModelPackagePropsMixin.ModelAccessConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-