Struct aws_sdk_ec2::model::client_vpn_connection_status::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ClientVpnConnectionStatus
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn code(self, input: ClientVpnConnectionStatusCode) -> Self
pub fn code(self, input: ClientVpnConnectionStatusCode) -> Self
The state of the client connection.
sourcepub fn set_code(self, input: Option<ClientVpnConnectionStatusCode>) -> Self
pub fn set_code(self, input: Option<ClientVpnConnectionStatusCode>) -> Self
The state of the client connection.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message about the status of the client connection, if applicable.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message about the status of the client connection, if applicable.
sourcepub fn build(self) -> ClientVpnConnectionStatus
pub fn build(self) -> ClientVpnConnectionStatus
Consumes the builder and constructs a ClientVpnConnectionStatus
.