com.pulumi.aws.fsx.outputs.LustreFileSystemRootSquashConfiguration 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.fsx.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class LustreFileSystemRootSquashConfiguration {
/**
* @return When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp).
*
*/
private @Nullable List noSquashNids;
/**
* @return You enable root squash by setting a user ID (UID) and group ID (GID) for the file system in the format UID:GID (for example, 365534:65534). The UID and GID values can range from 0 to 4294967294.
*
*/
private @Nullable String rootSquash;
private LustreFileSystemRootSquashConfiguration() {}
/**
* @return When root squash is enabled, you can optionally specify an array of NIDs of clients for which root squash does not apply. A client NID is a Lustre Network Identifier used to uniquely identify a client. You can specify the NID as either a single address or a range of addresses: 1. A single address is described in standard Lustre NID format by specifying the client’s IP address followed by the Lustre network ID (for example, 10.0.1.6{@literal @}tcp). 2. An address range is described using a dash to separate the range (for example, 10.0.[2-10].[1-255]{@literal @}tcp).
*
*/
public List noSquashNids() {
return this.noSquashNids == null ? List.of() : this.noSquashNids;
}
/**
* @return You enable root squash by setting a user ID (UID) and group ID (GID) for the file system in the format UID:GID (for example, 365534:65534). The UID and GID values can range from 0 to 4294967294.
*
*/
public Optional rootSquash() {
return Optional.ofNullable(this.rootSquash);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(LustreFileSystemRootSquashConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List noSquashNids;
private @Nullable String rootSquash;
public Builder() {}
public Builder(LustreFileSystemRootSquashConfiguration defaults) {
Objects.requireNonNull(defaults);
this.noSquashNids = defaults.noSquashNids;
this.rootSquash = defaults.rootSquash;
}
@CustomType.Setter
public Builder noSquashNids(@Nullable List noSquashNids) {
this.noSquashNids = noSquashNids;
return this;
}
public Builder noSquashNids(String... noSquashNids) {
return noSquashNids(List.of(noSquashNids));
}
@CustomType.Setter
public Builder rootSquash(@Nullable String rootSquash) {
this.rootSquash = rootSquash;
return this;
}
public LustreFileSystemRootSquashConfiguration build() {
final var _resultValue = new LustreFileSystemRootSquashConfiguration();
_resultValue.noSquashNids = noSquashNids;
_resultValue.rootSquash = rootSquash;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy