/* * 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.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Describes the Amazon FSx for NetApp ONTAP storage virtual machine (SVM) configuration. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StorageVirtualMachine implements Serializable, Cloneable, StructuredPojo { /** *

* Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. *

*/ private SvmActiveDirectoryConfiguration activeDirectoryConfiguration; private java.util.Date creationTime; /** *

* The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp * CloudManager. They are the Iscsi, Management, Nfs, and Smb * endpoints. *

*/ private SvmEndpoints endpoints; private String fileSystemId; /** *

* Describes the SVM's lifecycle status. *

* */ private String lifecycle; /** *

* The name of the SVM, if provisioned. *

*/ private String name; private String resourceARN; /** *

* The SVM's system generated unique ID. *

*/ private String storageVirtualMachineId; /** *

* Describes the SVM's subtype. *

*/ private String subtype; /** *

* The SVM's UUID (universally unique identifier). *

*/ private String uUID; private java.util.List tags; /** *

* Describes why the SVM lifecycle state changed. *

*/ private LifecycleTransitionReason lifecycleTransitionReason; /** *

* The security style of the root volume of the SVM. *

*/ private String rootVolumeSecurityStyle; /** *

* Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. *

* * @param activeDirectoryConfiguration * Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. */ public void setActiveDirectoryConfiguration(SvmActiveDirectoryConfiguration activeDirectoryConfiguration) { this.activeDirectoryConfiguration = activeDirectoryConfiguration; } /** *

* Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. *

* * @return Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. */ public SvmActiveDirectoryConfiguration getActiveDirectoryConfiguration() { return this.activeDirectoryConfiguration; } /** *

* Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. *

* * @param activeDirectoryConfiguration * Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable. * @return Returns a reference to this object so that method calls can be chained together. */ public StorageVirtualMachine withActiveDirectoryConfiguration(SvmActiveDirectoryConfiguration activeDirectoryConfiguration) { setActiveDirectoryConfiguration(activeDirectoryConfiguration); return this; } /** * @param creationTime */ public void setCreationTime(java.util.Date creationTime) { this.creationTime = creationTime; } /** * @return */ public java.util.Date getCreationTime() { return this.creationTime; } /** * @param creationTime * @return Returns a reference to this object so that method calls can be chained together. */ public StorageVirtualMachine withCreationTime(java.util.Date creationTime) { setCreationTime(creationTime); return this; } /** *

* The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp * CloudManager. They are the Iscsi, Management, Nfs, and Smb * endpoints. *

* * @param endpoints * The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or * NetApp CloudManager. They are the Iscsi, Management, Nfs, and * Smb endpoints. */ public void setEndpoints(SvmEndpoints endpoints) { this.endpoints = endpoints; } /** *

* The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp * CloudManager. They are the Iscsi, Management, Nfs, and Smb * endpoints. *

* * @return The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or * NetApp CloudManager. They are the Iscsi, Management, Nfs, and * Smb endpoints. */ public SvmEndpoints getEndpoints() { return this.endpoints; } /** *

* The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or NetApp * CloudManager. They are the Iscsi, Management, Nfs, and Smb * endpoints. *

* * @param endpoints * The endpoints that are used to access data or to manage the SVM using the NetApp ONTAP CLI, REST API, or * NetApp CloudManager. They are the Iscsi, Management, Nfs, and * Smb endpoints. * @return Returns a reference to this object so that method calls can be chained together. */ public StorageVirtualMachine withEndpoints(SvmEndpoints endpoints) { setEndpoints(endpoints); 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 StorageVirtualMachine withFileSystemId(String fileSystemId) { setFileSystemId(fileSystemId); return this; } /** *

* Describes the SVM's lifecycle status. *

* * * @param lifecycle * Describes the SVM's lifecycle status.

*