#[non_exhaustive]pub struct AnalysisSecurityGroupRuleBuilder { /* private fields */ }
Expand description
A builder for AnalysisSecurityGroupRule
.
Implementations§
source§impl AnalysisSecurityGroupRuleBuilder
impl AnalysisSecurityGroupRuleBuilder
sourcepub fn direction(self, input: impl Into<String>) -> Self
pub fn direction(self, input: impl Into<String>) -> Self
The direction. The following are the possible values:
-
egress
-
ingress
sourcepub fn set_direction(self, input: Option<String>) -> Self
pub fn set_direction(self, input: Option<String>) -> Self
The direction. The following are the possible values:
-
egress
-
ingress
sourcepub fn get_direction(&self) -> &Option<String>
pub fn get_direction(&self) -> &Option<String>
The direction. The following are the possible values:
-
egress
-
ingress
sourcepub fn security_group_id(self, input: impl Into<String>) -> Self
pub fn security_group_id(self, input: impl Into<String>) -> Self
The security group ID.
sourcepub fn set_security_group_id(self, input: Option<String>) -> Self
pub fn set_security_group_id(self, input: Option<String>) -> Self
The security group ID.
sourcepub fn get_security_group_id(&self) -> &Option<String>
pub fn get_security_group_id(&self) -> &Option<String>
The security group ID.
sourcepub fn port_range(self, input: PortRange) -> Self
pub fn port_range(self, input: PortRange) -> Self
The port range.
sourcepub fn set_port_range(self, input: Option<PortRange>) -> Self
pub fn set_port_range(self, input: Option<PortRange>) -> Self
The port range.
sourcepub fn get_port_range(&self) -> &Option<PortRange>
pub fn get_port_range(&self) -> &Option<PortRange>
The port range.
sourcepub fn prefix_list_id(self, input: impl Into<String>) -> Self
pub fn prefix_list_id(self, input: impl Into<String>) -> Self
The prefix list ID.
sourcepub fn set_prefix_list_id(self, input: Option<String>) -> Self
pub fn set_prefix_list_id(self, input: Option<String>) -> Self
The prefix list ID.
sourcepub fn get_prefix_list_id(&self) -> &Option<String>
pub fn get_prefix_list_id(&self) -> &Option<String>
The prefix list ID.
sourcepub fn set_protocol(self, input: Option<String>) -> Self
pub fn set_protocol(self, input: Option<String>) -> Self
The protocol name.
sourcepub fn get_protocol(&self) -> &Option<String>
pub fn get_protocol(&self) -> &Option<String>
The protocol name.
sourcepub fn build(self) -> AnalysisSecurityGroupRule
pub fn build(self) -> AnalysisSecurityGroupRule
Consumes the builder and constructs a AnalysisSecurityGroupRule
.
Trait Implementations§
source§impl Clone for AnalysisSecurityGroupRuleBuilder
impl Clone for AnalysisSecurityGroupRuleBuilder
source§fn clone(&self) -> AnalysisSecurityGroupRuleBuilder
fn clone(&self) -> AnalysisSecurityGroupRuleBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for AnalysisSecurityGroupRuleBuilder
impl Default for AnalysisSecurityGroupRuleBuilder
source§fn default() -> AnalysisSecurityGroupRuleBuilder
fn default() -> AnalysisSecurityGroupRuleBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<AnalysisSecurityGroupRuleBuilder> for AnalysisSecurityGroupRuleBuilder
impl PartialEq<AnalysisSecurityGroupRuleBuilder> for AnalysisSecurityGroupRuleBuilder
source§fn eq(&self, other: &AnalysisSecurityGroupRuleBuilder) -> bool
fn eq(&self, other: &AnalysisSecurityGroupRuleBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AnalysisSecurityGroupRuleBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AnalysisSecurityGroupRuleBuilder
impl Send for AnalysisSecurityGroupRuleBuilder
impl Sync for AnalysisSecurityGroupRuleBuilder
impl Unpin for AnalysisSecurityGroupRuleBuilder
impl UnwindSafe for AnalysisSecurityGroupRuleBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more