Struct aws_sdk_securityhub::types::builders::FirewallPolicyStatelessCustomActionsDetailsBuilder
source · #[non_exhaustive]pub struct FirewallPolicyStatelessCustomActionsDetailsBuilder { /* private fields */ }
Expand description
A builder for FirewallPolicyStatelessCustomActionsDetails
.
Implementations§
source§impl FirewallPolicyStatelessCustomActionsDetailsBuilder
impl FirewallPolicyStatelessCustomActionsDetailsBuilder
sourcepub fn action_definition(self, input: StatelessCustomActionDefinition) -> Self
pub fn action_definition(self, input: StatelessCustomActionDefinition) -> Self
The definition of the custom action.
sourcepub fn set_action_definition(
self,
input: Option<StatelessCustomActionDefinition>
) -> Self
pub fn set_action_definition( self, input: Option<StatelessCustomActionDefinition> ) -> Self
The definition of the custom action.
sourcepub fn get_action_definition(&self) -> &Option<StatelessCustomActionDefinition>
pub fn get_action_definition(&self) -> &Option<StatelessCustomActionDefinition>
The definition of the custom action.
sourcepub fn action_name(self, input: impl Into<String>) -> Self
pub fn action_name(self, input: impl Into<String>) -> Self
The name of the custom action.
sourcepub fn set_action_name(self, input: Option<String>) -> Self
pub fn set_action_name(self, input: Option<String>) -> Self
The name of the custom action.
sourcepub fn get_action_name(&self) -> &Option<String>
pub fn get_action_name(&self) -> &Option<String>
The name of the custom action.
sourcepub fn build(self) -> FirewallPolicyStatelessCustomActionsDetails
pub fn build(self) -> FirewallPolicyStatelessCustomActionsDetails
Consumes the builder and constructs a FirewallPolicyStatelessCustomActionsDetails
.
Trait Implementations§
source§impl Clone for FirewallPolicyStatelessCustomActionsDetailsBuilder
impl Clone for FirewallPolicyStatelessCustomActionsDetailsBuilder
source§fn clone(&self) -> FirewallPolicyStatelessCustomActionsDetailsBuilder
fn clone(&self) -> FirewallPolicyStatelessCustomActionsDetailsBuilder
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 FirewallPolicyStatelessCustomActionsDetailsBuilder
impl Default for FirewallPolicyStatelessCustomActionsDetailsBuilder
source§fn default() -> FirewallPolicyStatelessCustomActionsDetailsBuilder
fn default() -> FirewallPolicyStatelessCustomActionsDetailsBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FirewallPolicyStatelessCustomActionsDetailsBuilder
impl PartialEq for FirewallPolicyStatelessCustomActionsDetailsBuilder
source§fn eq(&self, other: &FirewallPolicyStatelessCustomActionsDetailsBuilder) -> bool
fn eq(&self, other: &FirewallPolicyStatelessCustomActionsDetailsBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FirewallPolicyStatelessCustomActionsDetailsBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FirewallPolicyStatelessCustomActionsDetailsBuilder
impl Send for FirewallPolicyStatelessCustomActionsDetailsBuilder
impl Sync for FirewallPolicyStatelessCustomActionsDetailsBuilder
impl Unpin for FirewallPolicyStatelessCustomActionsDetailsBuilder
impl UnwindSafe for FirewallPolicyStatelessCustomActionsDetailsBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.