com.pulumi.aws.sagemaker.outputs.ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.sagemaker.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.util.Objects;
@CustomType
public final class ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig {
/**
* @return Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as `true` 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.
*
*/
private Boolean acceptEula;
private ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig() {}
/**
* @return Specifies agreement to the model end-user license agreement (EULA). The AcceptEula value must be explicitly defined as `true` 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.
*
*/
public Boolean acceptEula() {
return this.acceptEula;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Boolean acceptEula;
public Builder() {}
public Builder(ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig defaults) {
Objects.requireNonNull(defaults);
this.acceptEula = defaults.acceptEula;
}
@CustomType.Setter
public Builder acceptEula(Boolean acceptEula) {
if (acceptEula == null) {
throw new MissingRequiredPropertyException("ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig", "acceptEula");
}
this.acceptEula = acceptEula;
return this;
}
public ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig build() {
final var _resultValue = new ModelPrimaryContainerModelDataSourceS3DataSourceModelAccessConfig();
_resultValue.acceptEula = acceptEula;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy