Struct aws_sdk_fsx::operation::associate_file_system_aliases::AssociateFileSystemAliasesInput
source · #[non_exhaustive]pub struct AssociateFileSystemAliasesInput {
pub client_request_token: Option<String>,
pub file_system_id: Option<String>,
pub aliases: Option<Vec<String>>,
}
Expand description
The request object specifying one or more DNS alias names to associate with an Amazon FSx for Windows File Server file system.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.client_request_token: Option<String>
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
file_system_id: Option<String>
Specifies the file system with which you want to associate one or more DNS aliases.
aliases: Option<Vec<String>>
An array of one or more DNS alias names to associate with the file system. The alias name has to comply with the following formatting requirements:
-
Formatted as a fully-qualified domain name (FQDN),
hostname.domain
, for example,accounting.corp.example.com
. -
Can contain alphanumeric characters and the hyphen (-).
-
Cannot start or end with a hyphen.
-
Can start with a numeric.
For DNS alias 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.
Implementations§
source§impl AssociateFileSystemAliasesInput
impl AssociateFileSystemAliasesInput
sourcepub fn client_request_token(&self) -> Option<&str>
pub fn client_request_token(&self) -> Option<&str>
(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
sourcepub fn file_system_id(&self) -> Option<&str>
pub fn file_system_id(&self) -> Option<&str>
Specifies the file system with which you want to associate one or more DNS aliases.
sourcepub fn aliases(&self) -> &[String]
pub fn aliases(&self) -> &[String]
An array of one or more DNS alias names to associate with the file system. The alias name has to comply with the following formatting requirements:
-
Formatted as a fully-qualified domain name (FQDN),
hostname.domain
, for example,accounting.corp.example.com
. -
Can contain alphanumeric characters and the hyphen (-).
-
Cannot start or end with a hyphen.
-
Can start with a numeric.
For DNS alias 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.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .aliases.is_none()
.
source§impl AssociateFileSystemAliasesInput
impl AssociateFileSystemAliasesInput
sourcepub fn builder() -> AssociateFileSystemAliasesInputBuilder
pub fn builder() -> AssociateFileSystemAliasesInputBuilder
Creates a new builder-style object to manufacture AssociateFileSystemAliasesInput
.
Trait Implementations§
source§impl Clone for AssociateFileSystemAliasesInput
impl Clone for AssociateFileSystemAliasesInput
source§fn clone(&self) -> AssociateFileSystemAliasesInput
fn clone(&self) -> AssociateFileSystemAliasesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AssociateFileSystemAliasesInput
impl PartialEq for AssociateFileSystemAliasesInput
source§fn eq(&self, other: &AssociateFileSystemAliasesInput) -> bool
fn eq(&self, other: &AssociateFileSystemAliasesInput) -> bool
self
and other
values to be equal, and is used
by ==
.