Struct aws_sdk_ec2::types::ClientLoginBannerOptions
source · #[non_exhaustive]pub struct ClientLoginBannerOptions {
pub enabled: Option<bool>,
pub banner_text: Option<String>,
}Expand description
Options for enabling a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
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.enabled: Option<bool>Enable or disable a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
Valid values: true | false
Default value: false
Customizable text that will be displayed in a banner on Amazon Web Services provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters.
Implementations§
source§impl ClientLoginBannerOptions
impl ClientLoginBannerOptions
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Enable or disable a customizable text banner that will be displayed on Amazon Web Services provided clients when a VPN session is established.
Valid values: true | false
Default value: false
Customizable text that will be displayed in a banner on Amazon Web Services provided clients when a VPN session is established. UTF-8 encoded characters only. Maximum of 1400 characters.
source§impl ClientLoginBannerOptions
impl ClientLoginBannerOptions
sourcepub fn builder() -> ClientLoginBannerOptionsBuilder
pub fn builder() -> ClientLoginBannerOptionsBuilder
Creates a new builder-style object to manufacture ClientLoginBannerOptions.
Trait Implementations§
source§impl Clone for ClientLoginBannerOptions
impl Clone for ClientLoginBannerOptions
source§fn clone(&self) -> ClientLoginBannerOptions
fn clone(&self) -> ClientLoginBannerOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ClientLoginBannerOptions
impl Debug for ClientLoginBannerOptions
source§impl PartialEq for ClientLoginBannerOptions
impl PartialEq for ClientLoginBannerOptions
source§fn eq(&self, other: &ClientLoginBannerOptions) -> bool
fn eq(&self, other: &ClientLoginBannerOptions) -> bool
self and other values to be equal, and is used
by ==.