Struct aws_sdk_securityhub::types::builders::ActionBuilder
source · #[non_exhaustive]pub struct ActionBuilder { /* private fields */ }
Expand description
A builder for Action
.
Implementations§
source§impl ActionBuilder
impl ActionBuilder
sourcepub fn action_type(self, input: impl Into<String>) -> Self
pub fn action_type(self, input: impl Into<String>) -> Self
The type of action that was detected. The possible action types are:
-
NETWORK_CONNECTION
-
AWS_API_CALL
-
DNS_REQUEST
-
PORT_PROBE
sourcepub fn set_action_type(self, input: Option<String>) -> Self
pub fn set_action_type(self, input: Option<String>) -> Self
The type of action that was detected. The possible action types are:
-
NETWORK_CONNECTION
-
AWS_API_CALL
-
DNS_REQUEST
-
PORT_PROBE
sourcepub fn get_action_type(&self) -> &Option<String>
pub fn get_action_type(&self) -> &Option<String>
The type of action that was detected. The possible action types are:
-
NETWORK_CONNECTION
-
AWS_API_CALL
-
DNS_REQUEST
-
PORT_PROBE
sourcepub fn network_connection_action(self, input: NetworkConnectionAction) -> Self
pub fn network_connection_action(self, input: NetworkConnectionAction) -> Self
Included if ActionType
is NETWORK_CONNECTION
. Provides details about the network connection that was detected.
sourcepub fn set_network_connection_action(
self,
input: Option<NetworkConnectionAction>
) -> Self
pub fn set_network_connection_action( self, input: Option<NetworkConnectionAction> ) -> Self
Included if ActionType
is NETWORK_CONNECTION
. Provides details about the network connection that was detected.
sourcepub fn get_network_connection_action(&self) -> &Option<NetworkConnectionAction>
pub fn get_network_connection_action(&self) -> &Option<NetworkConnectionAction>
Included if ActionType
is NETWORK_CONNECTION
. Provides details about the network connection that was detected.
sourcepub fn aws_api_call_action(self, input: AwsApiCallAction) -> Self
pub fn aws_api_call_action(self, input: AwsApiCallAction) -> Self
Included if ActionType
is AWS_API_CALL
. Provides details about the API call that was detected.
sourcepub fn set_aws_api_call_action(self, input: Option<AwsApiCallAction>) -> Self
pub fn set_aws_api_call_action(self, input: Option<AwsApiCallAction>) -> Self
Included if ActionType
is AWS_API_CALL
. Provides details about the API call that was detected.
sourcepub fn get_aws_api_call_action(&self) -> &Option<AwsApiCallAction>
pub fn get_aws_api_call_action(&self) -> &Option<AwsApiCallAction>
Included if ActionType
is AWS_API_CALL
. Provides details about the API call that was detected.
sourcepub fn dns_request_action(self, input: DnsRequestAction) -> Self
pub fn dns_request_action(self, input: DnsRequestAction) -> Self
Included if ActionType
is DNS_REQUEST
. Provides details about the DNS request that was detected.
sourcepub fn set_dns_request_action(self, input: Option<DnsRequestAction>) -> Self
pub fn set_dns_request_action(self, input: Option<DnsRequestAction>) -> Self
Included if ActionType
is DNS_REQUEST
. Provides details about the DNS request that was detected.
sourcepub fn get_dns_request_action(&self) -> &Option<DnsRequestAction>
pub fn get_dns_request_action(&self) -> &Option<DnsRequestAction>
Included if ActionType
is DNS_REQUEST
. Provides details about the DNS request that was detected.
sourcepub fn port_probe_action(self, input: PortProbeAction) -> Self
pub fn port_probe_action(self, input: PortProbeAction) -> Self
Included if ActionType
is PORT_PROBE
. Provides details about the port probe that was detected.
sourcepub fn set_port_probe_action(self, input: Option<PortProbeAction>) -> Self
pub fn set_port_probe_action(self, input: Option<PortProbeAction>) -> Self
Included if ActionType
is PORT_PROBE
. Provides details about the port probe that was detected.
sourcepub fn get_port_probe_action(&self) -> &Option<PortProbeAction>
pub fn get_port_probe_action(&self) -> &Option<PortProbeAction>
Included if ActionType
is PORT_PROBE
. Provides details about the port probe that was detected.
Trait Implementations§
source§impl Clone for ActionBuilder
impl Clone for ActionBuilder
source§fn clone(&self) -> ActionBuilder
fn clone(&self) -> ActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionBuilder
impl Debug for ActionBuilder
source§impl Default for ActionBuilder
impl Default for ActionBuilder
source§fn default() -> ActionBuilder
fn default() -> ActionBuilder
source§impl PartialEq for ActionBuilder
impl PartialEq for ActionBuilder
source§fn eq(&self, other: &ActionBuilder) -> bool
fn eq(&self, other: &ActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ActionBuilder
Auto Trait Implementations§
impl Freeze for ActionBuilder
impl RefUnwindSafe for ActionBuilder
impl Send for ActionBuilder
impl Sync for ActionBuilder
impl Unpin for ActionBuilder
impl UnwindSafe for ActionBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more