com.pulumi.aws.sagemaker.outputs.DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings Maven / Gradle / Ivy
// *** 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.Integer;
import java.util.Objects;
@CustomType
public final class DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings {
/**
* @return The default size of the EBS storage volume for a private space.
*
*/
private Integer defaultEbsVolumeSizeInGb;
/**
* @return The maximum size of the EBS storage volume for a private space.
*
*/
private Integer maximumEbsVolumeSizeInGb;
private DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings() {}
/**
* @return The default size of the EBS storage volume for a private space.
*
*/
public Integer defaultEbsVolumeSizeInGb() {
return this.defaultEbsVolumeSizeInGb;
}
/**
* @return The maximum size of the EBS storage volume for a private space.
*
*/
public Integer maximumEbsVolumeSizeInGb() {
return this.maximumEbsVolumeSizeInGb;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private Integer defaultEbsVolumeSizeInGb;
private Integer maximumEbsVolumeSizeInGb;
public Builder() {}
public Builder(DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings defaults) {
Objects.requireNonNull(defaults);
this.defaultEbsVolumeSizeInGb = defaults.defaultEbsVolumeSizeInGb;
this.maximumEbsVolumeSizeInGb = defaults.maximumEbsVolumeSizeInGb;
}
@CustomType.Setter
public Builder defaultEbsVolumeSizeInGb(Integer defaultEbsVolumeSizeInGb) {
if (defaultEbsVolumeSizeInGb == null) {
throw new MissingRequiredPropertyException("DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings", "defaultEbsVolumeSizeInGb");
}
this.defaultEbsVolumeSizeInGb = defaultEbsVolumeSizeInGb;
return this;
}
@CustomType.Setter
public Builder maximumEbsVolumeSizeInGb(Integer maximumEbsVolumeSizeInGb) {
if (maximumEbsVolumeSizeInGb == null) {
throw new MissingRequiredPropertyException("DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings", "maximumEbsVolumeSizeInGb");
}
this.maximumEbsVolumeSizeInGb = maximumEbsVolumeSizeInGb;
return this;
}
public DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings build() {
final var _resultValue = new DomainDefaultSpaceSettingsSpaceStorageSettingsDefaultEbsStorageSettings();
_resultValue.defaultEbsVolumeSizeInGb = defaultEbsVolumeSizeInGb;
_resultValue.maximumEbsVolumeSizeInGb = maximumEbsVolumeSizeInGb;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy