Class CfnStorageVirtualMachineMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.fsx.CfnStorageVirtualMachineMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageVirtualMachineMixinProps>
- Enclosing interface:
CfnStorageVirtualMachineMixinProps
@Stability(Stable)
public static final class CfnStorageVirtualMachineMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageVirtualMachineMixinProps>
A builder for
CfnStorageVirtualMachineMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveDirectoryConfiguration(CfnStorageVirtualMachinePropsMixin.ActiveDirectoryConfigurationProperty activeDirectoryConfiguration) Sets the value ofCfnStorageVirtualMachineMixinProps.getActiveDirectoryConfiguration()activeDirectoryConfiguration(IResolvable activeDirectoryConfiguration) Sets the value ofCfnStorageVirtualMachineMixinProps.getActiveDirectoryConfiguration()build()Builds the configured instance.fileSystemId(String fileSystemId) Sets the value ofCfnStorageVirtualMachineMixinProps.getFileSystemId()Sets the value ofCfnStorageVirtualMachineMixinProps.getName()rootVolumeSecurityStyle(String rootVolumeSecurityStyle) Sets the value ofCfnStorageVirtualMachineMixinProps.getRootVolumeSecurityStyle()svmAdminPassword(String svmAdminPassword) Sets the value ofCfnStorageVirtualMachineMixinProps.getSvmAdminPassword()Sets the value ofCfnStorageVirtualMachineMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
activeDirectoryConfiguration
@Stability(Stable) public CfnStorageVirtualMachineMixinProps.Builder activeDirectoryConfiguration(IResolvable activeDirectoryConfiguration) Sets the value ofCfnStorageVirtualMachineMixinProps.getActiveDirectoryConfiguration()- Parameters:
activeDirectoryConfiguration- Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.- Returns:
this
-
activeDirectoryConfiguration
@Stability(Stable) public CfnStorageVirtualMachineMixinProps.Builder activeDirectoryConfiguration(CfnStorageVirtualMachinePropsMixin.ActiveDirectoryConfigurationProperty activeDirectoryConfiguration) Sets the value ofCfnStorageVirtualMachineMixinProps.getActiveDirectoryConfiguration()- Parameters:
activeDirectoryConfiguration- Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.- Returns:
this
-
fileSystemId
@Stability(Stable) public CfnStorageVirtualMachineMixinProps.Builder fileSystemId(String fileSystemId) Sets the value ofCfnStorageVirtualMachineMixinProps.getFileSystemId()- Parameters:
fileSystemId- Specifies the FSx for ONTAP file system on which to create the SVM.- Returns:
this
-
name
Sets the value ofCfnStorageVirtualMachineMixinProps.getName()- Parameters:
name- The name of the SVM.- Returns:
this
-
rootVolumeSecurityStyle
@Stability(Stable) public CfnStorageVirtualMachineMixinProps.Builder rootVolumeSecurityStyle(String rootVolumeSecurityStyle) Sets the value ofCfnStorageVirtualMachineMixinProps.getRootVolumeSecurityStyle()- Parameters:
rootVolumeSecurityStyle- The security style of the root volume of the SVM. Specify one of the following values:.UNIXif 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.NTFSif 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.MIXEDThis 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 CfnStorageVirtualMachineMixinProps.Builder svmAdminPassword(String svmAdminPassword) Sets the value ofCfnStorageVirtualMachineMixinProps.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'sfsxadminuser 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
@Stability(Stable) public CfnStorageVirtualMachineMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnStorageVirtualMachineMixinProps.getTags()- Parameters:
tags- A list ofTagvalues, with a maximum of 50 elements.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStorageVirtualMachineMixinProps>- Returns:
- a new instance of
CfnStorageVirtualMachineMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-