Class CfnVolume.ClientConfigurationsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnVolume.ClientConfigurationsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVolume.ClientConfigurationsProperty>
- Enclosing interface:
CfnVolume.ClientConfigurationsProperty
@Stability(Stable)
public static final class CfnVolume.ClientConfigurationsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVolume.ClientConfigurationsProperty>
A builder for
CfnVolume.ClientConfigurationsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnVolume.ClientConfigurationsProperty.getClients()
Sets the value ofCfnVolume.ClientConfigurationsProperty.getOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clients
Sets the value ofCfnVolume.ClientConfigurationsProperty.getClients()
- Parameters:
clients
- A value that specifies who can mount the file system. This parameter is required. You can provide a wildcard character (*
), an IP address (0.0.0.0
), or a CIDR address (192.0.2.0/24
). By default, Amazon FSx uses the wildcard character when specifying the client.- Returns:
this
-
options
@Stability(Stable) public CfnVolume.ClientConfigurationsProperty.Builder options(List<String> options) Sets the value ofCfnVolume.ClientConfigurationsProperty.getOptions()
- Parameters:
options
- The options to use when mounting the file system. This parameter is required. For a list of options that you can use with Network File System (NFS), see the exports(5) - Linux man page . When choosing your options, consider the following:crossmnt
is used by default. If you don't specifycrossmnt
when changing the client configuration, you won't be able to see or access snapshots in your file system's snapshot directory.sync
is used by default. If you instead specifyasync
, the system acknowledges writes before writing to disk. If the system crashes before the writes are finished, you lose the unwritten data.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnVolume.ClientConfigurationsProperty>
- Returns:
- a new instance of
CfnVolume.ClientConfigurationsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-