Struct aws_sdk_fsx::model::storage_virtual_machine::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for StorageVirtualMachine
Implementations
sourceimpl Builder
impl Builder
sourcepub fn active_directory_configuration(
self,
input: SvmActiveDirectoryConfiguration
) -> Self
pub fn active_directory_configuration(
self,
input: SvmActiveDirectoryConfiguration
) -> Self
Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.
sourcepub fn set_active_directory_configuration(
self,
input: Option<SvmActiveDirectoryConfiguration>
) -> Self
pub fn set_active_directory_configuration(
self,
input: Option<SvmActiveDirectoryConfiguration>
) -> Self
Describes the Microsoft Active Directory configuration to which the SVM is joined, if applicable.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the resource was created, in seconds (since 1970-01-01T00:00:00Z), also known as Unix time.
sourcepub fn endpoints(self, input: SvmEndpoints) -> Self
pub fn endpoints(self, input: SvmEndpoints) -> Self
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.
sourcepub fn set_endpoints(self, input: Option<SvmEndpoints>) -> Self
pub fn set_endpoints(self, input: Option<SvmEndpoints>) -> Self
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.
sourcepub fn file_system_id(self, input: impl Into<String>) -> Self
pub fn file_system_id(self, input: impl Into<String>) -> Self
The globally unique ID of the file system, assigned by Amazon FSx.
sourcepub fn set_file_system_id(self, input: Option<String>) -> Self
pub fn set_file_system_id(self, input: Option<String>) -> Self
The globally unique ID of the file system, assigned by Amazon FSx.
sourcepub fn lifecycle(self, input: StorageVirtualMachineLifecycle) -> Self
pub fn lifecycle(self, input: StorageVirtualMachineLifecycle) -> Self
Describes the SVM's lifecycle status.
-
CREATED
- The SVM is fully available for use. -
CREATING
- Amazon FSx is creating the new SVM. -
DELETING
- Amazon FSx is deleting an existing SVM. -
FAILED
- Amazon FSx was unable to create the SVM. -
MISCONFIGURED
- The SVM is in a failed but recoverable state. -
PENDING
- Amazon FSx has not started creating the SVM.
sourcepub fn set_lifecycle(
self,
input: Option<StorageVirtualMachineLifecycle>
) -> Self
pub fn set_lifecycle(
self,
input: Option<StorageVirtualMachineLifecycle>
) -> Self
Describes the SVM's lifecycle status.
-
CREATED
- The SVM is fully available for use. -
CREATING
- Amazon FSx is creating the new SVM. -
DELETING
- Amazon FSx is deleting an existing SVM. -
FAILED
- Amazon FSx was unable to create the SVM. -
MISCONFIGURED
- The SVM is in a failed but recoverable state. -
PENDING
- Amazon FSx has not started creating the SVM.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for a given resource. ARNs uniquely identify Amazon Web Services resources. We require an ARN when you need to specify a resource unambiguously across all of Amazon Web Services. For more information, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn storage_virtual_machine_id(self, input: impl Into<String>) -> Self
pub fn storage_virtual_machine_id(self, input: impl Into<String>) -> Self
The SVM's system generated unique ID.
sourcepub fn set_storage_virtual_machine_id(self, input: Option<String>) -> Self
pub fn set_storage_virtual_machine_id(self, input: Option<String>) -> Self
The SVM's system generated unique ID.
sourcepub fn subtype(self, input: StorageVirtualMachineSubtype) -> Self
pub fn subtype(self, input: StorageVirtualMachineSubtype) -> Self
Describes the SVM's subtype.
sourcepub fn set_subtype(self, input: Option<StorageVirtualMachineSubtype>) -> Self
pub fn set_subtype(self, input: Option<StorageVirtualMachineSubtype>) -> Self
Describes the SVM's subtype.
sourcepub fn uuid(self, input: impl Into<String>) -> Self
pub fn uuid(self, input: impl Into<String>) -> Self
The SVM's UUID (universally unique identifier).
sourcepub fn set_uuid(self, input: Option<String>) -> Self
pub fn set_uuid(self, input: Option<String>) -> Self
The SVM's UUID (universally unique identifier).
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of Tag
values, with a maximum of 50 elements.
A list of Tag
values, with a maximum of 50 elements.
sourcepub fn lifecycle_transition_reason(
self,
input: LifecycleTransitionReason
) -> Self
pub fn lifecycle_transition_reason(
self,
input: LifecycleTransitionReason
) -> Self
Describes why the SVM lifecycle state changed.
sourcepub fn set_lifecycle_transition_reason(
self,
input: Option<LifecycleTransitionReason>
) -> Self
pub fn set_lifecycle_transition_reason(
self,
input: Option<LifecycleTransitionReason>
) -> Self
Describes why the SVM lifecycle state changed.
sourcepub fn root_volume_security_style(
self,
input: StorageVirtualMachineRootVolumeSecurityStyle
) -> Self
pub fn root_volume_security_style(
self,
input: StorageVirtualMachineRootVolumeSecurityStyle
) -> Self
The security style of the root volume of the SVM.
sourcepub fn set_root_volume_security_style(
self,
input: Option<StorageVirtualMachineRootVolumeSecurityStyle>
) -> Self
pub fn set_root_volume_security_style(
self,
input: Option<StorageVirtualMachineRootVolumeSecurityStyle>
) -> Self
The security style of the root volume of the SVM.
sourcepub fn build(self) -> StorageVirtualMachine
pub fn build(self) -> StorageVirtualMachine
Consumes the builder and constructs a StorageVirtualMachine
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more