com.pulumi.aws.fsx.outputs.OpenZfsFileSystemRootVolumeConfigurationNfsExports 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.fsx.outputs;
import com.pulumi.aws.fsx.outputs.OpenZfsFileSystemRootVolumeConfigurationNfsExportsClientConfiguration;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class OpenZfsFileSystemRootVolumeConfigurationNfsExports {
/**
* @return A list of configuration objects that contain the client and options for mounting the OpenZFS file system. Maximum of 25 items. See `client_configurations` Block for details.
*
*/
private List clientConfigurations;
private OpenZfsFileSystemRootVolumeConfigurationNfsExports() {}
/**
* @return A list of configuration objects that contain the client and options for mounting the OpenZFS file system. Maximum of 25 items. See `client_configurations` Block for details.
*
*/
public List clientConfigurations() {
return this.clientConfigurations;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(OpenZfsFileSystemRootVolumeConfigurationNfsExports defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List clientConfigurations;
public Builder() {}
public Builder(OpenZfsFileSystemRootVolumeConfigurationNfsExports defaults) {
Objects.requireNonNull(defaults);
this.clientConfigurations = defaults.clientConfigurations;
}
@CustomType.Setter
public Builder clientConfigurations(List clientConfigurations) {
if (clientConfigurations == null) {
throw new MissingRequiredPropertyException("OpenZfsFileSystemRootVolumeConfigurationNfsExports", "clientConfigurations");
}
this.clientConfigurations = clientConfigurations;
return this;
}
public Builder clientConfigurations(OpenZfsFileSystemRootVolumeConfigurationNfsExportsClientConfiguration... clientConfigurations) {
return clientConfigurations(List.of(clientConfigurations));
}
public OpenZfsFileSystemRootVolumeConfigurationNfsExports build() {
final var _resultValue = new OpenZfsFileSystemRootVolumeConfigurationNfsExports();
_resultValue.clientConfigurations = clientConfigurations;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy