/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.fsx.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateStorageVirtualMachineRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an Active * Directory provides user authentication and access control for SMB clients, including Microsoft Windows and macOS * client accessing the file system. *
*/ private CreateSvmActiveDirectoryConfiguration activeDirectoryConfiguration; private String clientRequestToken; private String fileSystemId; /** ** The name of the SVM. *
*/ private String name; /** *
* The password to use when managing 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.
*
* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users consist of
* both NFS and SMB clients.
*
* Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an Active * Directory provides user authentication and access control for SMB clients, including Microsoft Windows and macOS * client accessing the file system. *
* * @param activeDirectoryConfiguration * Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an Active * Directory provides user authentication and access control for SMB clients, including Microsoft Windows and * macOS client accessing the file system. */ public void setActiveDirectoryConfiguration(CreateSvmActiveDirectoryConfiguration activeDirectoryConfiguration) { this.activeDirectoryConfiguration = activeDirectoryConfiguration; } /** ** Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an Active * Directory provides user authentication and access control for SMB clients, including Microsoft Windows and macOS * client accessing the file system. *
* * @return Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an * Active Directory provides user authentication and access control for SMB clients, including Microsoft * Windows and macOS client accessing the file system. */ public CreateSvmActiveDirectoryConfiguration getActiveDirectoryConfiguration() { return this.activeDirectoryConfiguration; } /** ** Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an Active * Directory provides user authentication and access control for SMB clients, including Microsoft Windows and macOS * client accessing the file system. *
* * @param activeDirectoryConfiguration * Describes the self-managed Microsoft Active Directory to which you want to join the SVM. Joining an Active * Directory provides user authentication and access control for SMB clients, including Microsoft Windows and * macOS client accessing the file system. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStorageVirtualMachineRequest withActiveDirectoryConfiguration(CreateSvmActiveDirectoryConfiguration activeDirectoryConfiguration) { setActiveDirectoryConfiguration(activeDirectoryConfiguration); return this; } /** * @param clientRequestToken */ public void setClientRequestToken(String clientRequestToken) { this.clientRequestToken = clientRequestToken; } /** * @return */ public String getClientRequestToken() { return this.clientRequestToken; } /** * @param clientRequestToken * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStorageVirtualMachineRequest withClientRequestToken(String clientRequestToken) { setClientRequestToken(clientRequestToken); return this; } /** * @param fileSystemId */ public void setFileSystemId(String fileSystemId) { this.fileSystemId = fileSystemId; } /** * @return */ public String getFileSystemId() { return this.fileSystemId; } /** * @param fileSystemId * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStorageVirtualMachineRequest withFileSystemId(String fileSystemId) { setFileSystemId(fileSystemId); return this; } /** ** The name of the SVM. *
* * @param name * The name of the SVM. */ public void setName(String name) { this.name = name; } /** ** The name of the SVM. *
* * @return The name of the SVM. */ public String getName() { return this.name; } /** ** The name of the SVM. *
* * @param name * The name of the SVM. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStorageVirtualMachineRequest withName(String name) { setName(name); return this; } /** *
* The password to use when managing 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.
*
fsxadmin
user to manage the SVM.
*/
public void setSvmAdminPassword(String svmAdminPassword) {
this.svmAdminPassword = svmAdminPassword;
}
/**
*
* The password to use when managing 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.
*
fsxadmin
user to manage the SVM.
*/
public String getSvmAdminPassword() {
return this.svmAdminPassword;
}
/**
*
* The password to use when managing 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.
*
fsxadmin
user to manage the SVM.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public CreateStorageVirtualMachineRequest withSvmAdminPassword(String svmAdminPassword) {
setSvmAdminPassword(svmAdminPassword);
return this;
}
/**
* @return
*/
public java.util.List* NOTE: This method appends the values to the existing list (if any). Use * {@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the * existing values. *
* * @param tags * @return Returns a reference to this object so that method calls can be chained together. */ public CreateStorageVirtualMachineRequest withTags(Tag... tags) { if (this.tags == null) { setTags(new java.util.ArrayList* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users consist of
* both NFS and SMB clients.
*
* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users consist
* of both NFS and SMB clients.
*
* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users consist of
* both NFS and SMB clients.
*
* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users
* consist of both NFS and SMB clients.
*
* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users consist of
* both NFS and SMB clients.
*
* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users consist
* of both NFS and SMB clients.
*
* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users consist of
* both NFS and SMB clients.
*
* 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 Windows administrator, the majority of users are SMB
* clients, and an application accessing the data uses a Windows user as the service account.
*
* MIXED
if the file system is managed by both UNIX and Windows administrators and users consist
* of both NFS and SMB clients.
*