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