com.pulumi.aws.m2.outputs.EnvironmentStorageConfiguration 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.
// *** 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.m2.outputs;
import com.pulumi.aws.m2.outputs.EnvironmentStorageConfigurationEfs;
import com.pulumi.aws.m2.outputs.EnvironmentStorageConfigurationFsx;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EnvironmentStorageConfiguration {
private @Nullable EnvironmentStorageConfigurationEfs efs;
private @Nullable EnvironmentStorageConfigurationFsx fsx;
private EnvironmentStorageConfiguration() {}
public Optional efs() {
return Optional.ofNullable(this.efs);
}
public Optional fsx() {
return Optional.ofNullable(this.fsx);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EnvironmentStorageConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable EnvironmentStorageConfigurationEfs efs;
private @Nullable EnvironmentStorageConfigurationFsx fsx;
public Builder() {}
public Builder(EnvironmentStorageConfiguration defaults) {
Objects.requireNonNull(defaults);
this.efs = defaults.efs;
this.fsx = defaults.fsx;
}
@CustomType.Setter
public Builder efs(@Nullable EnvironmentStorageConfigurationEfs efs) {
this.efs = efs;
return this;
}
@CustomType.Setter
public Builder fsx(@Nullable EnvironmentStorageConfigurationFsx fsx) {
this.fsx = fsx;
return this;
}
public EnvironmentStorageConfiguration build() {
final var _resultValue = new EnvironmentStorageConfiguration();
_resultValue.efs = efs;
_resultValue.fsx = fsx;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy