Struct aws_sdk_workspaces::model::connection_alias::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for ConnectionAlias.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn connection_string(self, input: impl Into<String>) -> Self
pub fn connection_string(self, input: impl Into<String>) -> Self
The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com.
sourcepub fn set_connection_string(self, input: Option<String>) -> Self
pub fn set_connection_string(self, input: Option<String>) -> Self
The connection string specified for the connection alias. The connection string must be in the form of a fully qualified domain name (FQDN), such as www.example.com.
sourcepub fn alias_id(self, input: impl Into<String>) -> Self
pub fn alias_id(self, input: impl Into<String>) -> Self
The identifier of the connection alias.
sourcepub fn set_alias_id(self, input: Option<String>) -> Self
pub fn set_alias_id(self, input: Option<String>) -> Self
The identifier of the connection alias.
sourcepub fn state(self, input: ConnectionAliasState) -> Self
pub fn state(self, input: ConnectionAliasState) -> Self
The current state of the connection alias.
sourcepub fn set_state(self, input: Option<ConnectionAliasState>) -> Self
pub fn set_state(self, input: Option<ConnectionAliasState>) -> Self
The current state of the connection alias.
sourcepub fn owner_account_id(self, input: impl Into<String>) -> Self
pub fn owner_account_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Web Services account that owns the connection alias.
sourcepub fn set_owner_account_id(self, input: Option<String>) -> Self
pub fn set_owner_account_id(self, input: Option<String>) -> Self
The identifier of the Amazon Web Services account that owns the connection alias.
sourcepub fn associations(self, input: ConnectionAliasAssociation) -> Self
pub fn associations(self, input: ConnectionAliasAssociation) -> Self
Appends an item to associations.
To override the contents of this collection use set_associations.
The association status of the connection alias.
sourcepub fn set_associations(
self,
input: Option<Vec<ConnectionAliasAssociation>>
) -> Self
pub fn set_associations(
self,
input: Option<Vec<ConnectionAliasAssociation>>
) -> Self
The association status of the connection alias.
sourcepub fn build(self) -> ConnectionAlias
pub fn build(self) -> ConnectionAlias
Consumes the builder and constructs a ConnectionAlias.