Class CfnStorageVirtualMachineProps.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnStorageVirtualMachineProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageVirtualMachineProps>
- Enclosing interface:
CfnStorageVirtualMachineProps
@Stability(Stable)
public static final class CfnStorageVirtualMachineProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageVirtualMachineProps>
A builder for
CfnStorageVirtualMachineProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactiveDirectoryConfiguration
(IResolvable activeDirectoryConfiguration) Sets the value ofCfnStorageVirtualMachineProps.getActiveDirectoryConfiguration()
activeDirectoryConfiguration
(CfnStorageVirtualMachine.ActiveDirectoryConfigurationProperty activeDirectoryConfiguration) Sets the value ofCfnStorageVirtualMachineProps.getActiveDirectoryConfiguration()
build()
Builds the configured instance.fileSystemId
(String fileSystemId) Sets the value ofCfnStorageVirtualMachineProps.getFileSystemId()
Sets the value ofCfnStorageVirtualMachineProps.getName()
rootVolumeSecurityStyle
(String rootVolumeSecurityStyle) Sets the value ofCfnStorageVirtualMachineProps.getRootVolumeSecurityStyle()
svmAdminPassword
(String svmAdminPassword) Sets the value ofCfnStorageVirtualMachineProps.getSvmAdminPassword()
Sets the value ofCfnStorageVirtualMachineProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileSystemId
Sets the value ofCfnStorageVirtualMachineProps.getFileSystemId()
- Parameters:
fileSystemId
- Specifies the FSx for ONTAP file system on which to create the SVM. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnStorageVirtualMachineProps.getName()
- Parameters:
name
- The name of the SVM. This parameter is required.- Returns:
this
-
activeDirectoryConfiguration
@Stability(Stable) public CfnStorageVirtualMachineProps.Builder activeDirectoryConfiguration(IResolvable activeDirectoryConfiguration) Sets the value ofCfnStorageVirtualMachineProps.getActiveDirectoryConfiguration()
- Parameters:
activeDirectoryConfiguration
- Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.- Returns:
this
-
activeDirectoryConfiguration
@Stability(Stable) public CfnStorageVirtualMachineProps.Builder activeDirectoryConfiguration(CfnStorageVirtualMachine.ActiveDirectoryConfigurationProperty activeDirectoryConfiguration) Sets the value ofCfnStorageVirtualMachineProps.getActiveDirectoryConfiguration()
- Parameters:
activeDirectoryConfiguration
- Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.- Returns:
this
-
rootVolumeSecurityStyle
@Stability(Stable) public CfnStorageVirtualMachineProps.Builder rootVolumeSecurityStyle(String rootVolumeSecurityStyle) Sets the value ofCfnStorageVirtualMachineProps.getRootVolumeSecurityStyle()
- Parameters:
rootVolumeSecurityStyle
- The security style of the root volume of the SVM. Specify one of the following values:.UNIX
if the file system is managed by a UNIX administrator, the majority of users are NFS clients, and an application accessing the data uses a UNIX user as the service account.NTFS
if the file system is managed by a Microsoft Windows administrator, the majority of users are SMB clients, and an application accessing the data uses a Microsoft Windows user as the service account.MIXED
This is an advanced setting. For more information, see Volume security style in the Amazon FSx for NetApp ONTAP User Guide.
- Returns:
this
-
svmAdminPassword
@Stability(Stable) public CfnStorageVirtualMachineProps.Builder svmAdminPassword(String svmAdminPassword) Sets the value ofCfnStorageVirtualMachineProps.getSvmAdminPassword()
- Parameters:
svmAdminPassword
- Specifies the password to use when logging on to the SVM using a secure shell (SSH) connection to the SVM's management endpoint. Doing so enables you to manage the SVM using the NetApp ONTAP CLI or REST API. If you do not specify a password, you can still use the file system'sfsxadmin
user to manage the SVM. For more information, see Managing SVMs using the NetApp ONTAP CLI in the FSx for ONTAP User Guide .- Returns:
this
-
tags
Sets the value ofCfnStorageVirtualMachineProps.getTags()
- Parameters:
tags
- A list ofTag
values, with a maximum of 50 elements.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageVirtualMachineProps>
- Returns:
- a new instance of
CfnStorageVirtualMachineProps
- Throws:
NullPointerException
- if any required attribute was not provided
-