Struct aws_sdk_fsx::types::builders::AliasBuilder
source · #[non_exhaustive]pub struct AliasBuilder { /* private fields */ }Expand description
A builder for Alias.
Implementations§
source§impl AliasBuilder
impl AliasBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the DNS alias. The alias name has to meet the following requirements:
-
Formatted as a fully-qualified domain name (FQDN),
hostname.domain, for example,accounting.example.com. -
Can contain alphanumeric characters, the underscore (_), and the hyphen (-).
-
Cannot start or end with a hyphen.
-
Can start with a numeric.
For DNS names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the DNS alias. The alias name has to meet the following requirements:
-
Formatted as a fully-qualified domain name (FQDN),
hostname.domain, for example,accounting.example.com. -
Can contain alphanumeric characters, the underscore (_), and the hyphen (-).
-
Cannot start or end with a hyphen.
-
Can start with a numeric.
For DNS names, Amazon FSx stores alphabetic characters as lowercase letters (a-z), regardless of how you specify them: as uppercase letters, lowercase letters, or the corresponding letters in escape codes.
sourcepub fn lifecycle(self, input: AliasLifecycle) -> Self
pub fn lifecycle(self, input: AliasLifecycle) -> Self
Describes the state of the DNS alias.
-
AVAILABLE - The DNS alias is associated with an Amazon FSx file system.
-
CREATING - Amazon FSx is creating the DNS alias and associating it with the file system.
-
CREATE_FAILED - Amazon FSx was unable to associate the DNS alias with the file system.
-
DELETING - Amazon FSx is disassociating the DNS alias from the file system and deleting it.
-
DELETE_FAILED - Amazon FSx was unable to disassociate the DNS alias from the file system.
sourcepub fn set_lifecycle(self, input: Option<AliasLifecycle>) -> Self
pub fn set_lifecycle(self, input: Option<AliasLifecycle>) -> Self
Describes the state of the DNS alias.
-
AVAILABLE - The DNS alias is associated with an Amazon FSx file system.
-
CREATING - Amazon FSx is creating the DNS alias and associating it with the file system.
-
CREATE_FAILED - Amazon FSx was unable to associate the DNS alias with the file system.
-
DELETING - Amazon FSx is disassociating the DNS alias from the file system and deleting it.
-
DELETE_FAILED - Amazon FSx was unable to disassociate the DNS alias from the file system.
Trait Implementations§
source§impl Clone for AliasBuilder
impl Clone for AliasBuilder
source§fn clone(&self) -> AliasBuilder
fn clone(&self) -> AliasBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AliasBuilder
impl Debug for AliasBuilder
source§impl Default for AliasBuilder
impl Default for AliasBuilder
source§fn default() -> AliasBuilder
fn default() -> AliasBuilder
source§impl PartialEq<AliasBuilder> for AliasBuilder
impl PartialEq<AliasBuilder> for AliasBuilder
source§fn eq(&self, other: &AliasBuilder) -> bool
fn eq(&self, other: &AliasBuilder) -> bool
self and other values to be equal, and is used
by ==.