#[non_exhaustive]pub struct DescribedSecurityPolicyBuilder { /* private fields */ }Expand description
A builder for DescribedSecurityPolicy.
Implementations§
source§impl DescribedSecurityPolicyBuilder
impl DescribedSecurityPolicyBuilder
sourcepub fn fips(self, input: bool) -> Self
pub fn fips(self, input: bool) -> Self
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
sourcepub fn set_fips(self, input: Option<bool>) -> Self
pub fn set_fips(self, input: Option<bool>) -> Self
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
sourcepub fn get_fips(&self) -> &Option<bool>
pub fn get_fips(&self) -> &Option<bool>
Specifies whether this policy enables Federal Information Processing Standards (FIPS).
sourcepub fn security_policy_name(self, input: impl Into<String>) -> Self
pub fn security_policy_name(self, input: impl Into<String>) -> Self
Specifies the name of the security policy that is attached to the server.
sourcepub fn set_security_policy_name(self, input: Option<String>) -> Self
pub fn set_security_policy_name(self, input: Option<String>) -> Self
Specifies the name of the security policy that is attached to the server.
sourcepub fn get_security_policy_name(&self) -> &Option<String>
pub fn get_security_policy_name(&self) -> &Option<String>
Specifies the name of the security policy that is attached to the server.
sourcepub fn ssh_ciphers(self, input: impl Into<String>) -> Self
pub fn ssh_ciphers(self, input: impl Into<String>) -> Self
Appends an item to ssh_ciphers.
To override the contents of this collection use set_ssh_ciphers.
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
sourcepub fn set_ssh_ciphers(self, input: Option<Vec<String>>) -> Self
pub fn set_ssh_ciphers(self, input: Option<Vec<String>>) -> Self
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
sourcepub fn get_ssh_ciphers(&self) -> &Option<Vec<String>>
pub fn get_ssh_ciphers(&self) -> &Option<Vec<String>>
Specifies the enabled Secure Shell (SSH) cipher encryption algorithms in the security policy that is attached to the server.
sourcepub fn ssh_kexs(self, input: impl Into<String>) -> Self
pub fn ssh_kexs(self, input: impl Into<String>) -> Self
Appends an item to ssh_kexs.
To override the contents of this collection use set_ssh_kexs.
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
sourcepub fn set_ssh_kexs(self, input: Option<Vec<String>>) -> Self
pub fn set_ssh_kexs(self, input: Option<Vec<String>>) -> Self
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
sourcepub fn get_ssh_kexs(&self) -> &Option<Vec<String>>
pub fn get_ssh_kexs(&self) -> &Option<Vec<String>>
Specifies the enabled SSH key exchange (KEX) encryption algorithms in the security policy that is attached to the server.
sourcepub fn ssh_macs(self, input: impl Into<String>) -> Self
pub fn ssh_macs(self, input: impl Into<String>) -> Self
Appends an item to ssh_macs.
To override the contents of this collection use set_ssh_macs.
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
sourcepub fn set_ssh_macs(self, input: Option<Vec<String>>) -> Self
pub fn set_ssh_macs(self, input: Option<Vec<String>>) -> Self
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
sourcepub fn get_ssh_macs(&self) -> &Option<Vec<String>>
pub fn get_ssh_macs(&self) -> &Option<Vec<String>>
Specifies the enabled SSH message authentication code (MAC) encryption algorithms in the security policy that is attached to the server.
sourcepub fn tls_ciphers(self, input: impl Into<String>) -> Self
pub fn tls_ciphers(self, input: impl Into<String>) -> Self
Appends an item to tls_ciphers.
To override the contents of this collection use set_tls_ciphers.
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
sourcepub fn set_tls_ciphers(self, input: Option<Vec<String>>) -> Self
pub fn set_tls_ciphers(self, input: Option<Vec<String>>) -> Self
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
sourcepub fn get_tls_ciphers(&self) -> &Option<Vec<String>>
pub fn get_tls_ciphers(&self) -> &Option<Vec<String>>
Specifies the enabled Transport Layer Security (TLS) cipher encryption algorithms in the security policy that is attached to the server.
sourcepub fn build(self) -> DescribedSecurityPolicy
pub fn build(self) -> DescribedSecurityPolicy
Consumes the builder and constructs a DescribedSecurityPolicy.
Trait Implementations§
source§impl Clone for DescribedSecurityPolicyBuilder
impl Clone for DescribedSecurityPolicyBuilder
source§fn clone(&self) -> DescribedSecurityPolicyBuilder
fn clone(&self) -> DescribedSecurityPolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for DescribedSecurityPolicyBuilder
impl Default for DescribedSecurityPolicyBuilder
source§fn default() -> DescribedSecurityPolicyBuilder
fn default() -> DescribedSecurityPolicyBuilder
source§impl PartialEq for DescribedSecurityPolicyBuilder
impl PartialEq for DescribedSecurityPolicyBuilder
source§fn eq(&self, other: &DescribedSecurityPolicyBuilder) -> bool
fn eq(&self, other: &DescribedSecurityPolicyBuilder) -> bool
self and other values to be equal, and is used
by ==.