Class CfnStorageVirtualMachine.Builder
java.lang.Object
software.amazon.awscdk.services.fsx.CfnStorageVirtualMachine.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStorageVirtualMachine>
- Enclosing class:
CfnStorageVirtualMachine
@Stability(Stable)
public static final class CfnStorageVirtualMachine.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStorageVirtualMachine>
A fluent builder for
CfnStorageVirtualMachine
.-
Method Summary
Modifier and TypeMethodDescriptionactiveDirectoryConfiguration
(IResolvable activeDirectoryConfiguration) Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.activeDirectoryConfiguration
(CfnStorageVirtualMachine.ActiveDirectoryConfigurationProperty activeDirectoryConfiguration) Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.build()
fileSystemId
(String fileSystemId) Specifies the FSx for ONTAP file system on which to create the SVM.The name of the SVM.rootVolumeSecurityStyle
(String rootVolumeSecurityStyle) The security style of the root volume of the SVM.svmAdminPassword
(String svmAdminPassword) Specifies the password to use when logging on to the SVM using a secure shell (SSH) connection to the SVM's management endpoint.A list ofTag
values, with a maximum of 50 elements.
-
Method Details
-
create
@Stability(Stable) public static CfnStorageVirtualMachine.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnStorageVirtualMachine.Builder
.
-
fileSystemId
Specifies the FSx for ONTAP file system on which to create the SVM.- Parameters:
fileSystemId
- Specifies the FSx for ONTAP file system on which to create the SVM. This parameter is required.- Returns:
this
- See Also:
-
name
The name of the SVM.- Parameters:
name
- The name of the SVM. This parameter is required.- Returns:
this
- See Also:
-
activeDirectoryConfiguration
@Stability(Stable) public CfnStorageVirtualMachine.Builder activeDirectoryConfiguration(IResolvable activeDirectoryConfiguration) Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.- Parameters:
activeDirectoryConfiguration
- Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. This parameter is required.- Returns:
this
- See Also:
-
activeDirectoryConfiguration
@Stability(Stable) public CfnStorageVirtualMachine.Builder activeDirectoryConfiguration(CfnStorageVirtualMachine.ActiveDirectoryConfigurationProperty activeDirectoryConfiguration) Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.- Parameters:
activeDirectoryConfiguration
- Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. This parameter is required.- Returns:
this
- See Also:
-
rootVolumeSecurityStyle
@Stability(Stable) public CfnStorageVirtualMachine.Builder rootVolumeSecurityStyle(String 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.
- Parameters:
rootVolumeSecurityStyle
- The security style of the root volume of the SVM. Specify one of the following values:. This parameter is required.- Returns:
this
- See Also:
-
svmAdminPassword
@Stability(Stable) public CfnStorageVirtualMachine.Builder svmAdminPassword(String 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's
fsxadmin
user to manage the SVM. For more information, see Managing SVMs using the NetApp ONTAP CLI in the FSx for ONTAP User Guide .- 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. This parameter is required.- Returns:
this
- See Also:
-
tags
A list ofTag
values, with a maximum of 50 elements.- Parameters:
tags
- A list ofTag
values, with a maximum of 50 elements. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStorageVirtualMachine>
- Returns:
- a newly built instance of
CfnStorageVirtualMachine
.
-