Struct aws_sdk_securityhub::model::aws_api_call_action::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for AwsApiCallAction
Implementations
sourceimpl Builder
impl Builder
sourcepub fn set_api(self, input: Option<String>) -> Self
pub fn set_api(self, input: Option<String>) -> Self
The name of the API method that was issued.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the Amazon Web Services service that the API method belongs to.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the Amazon Web Services service that the API method belongs to.
sourcepub fn caller_type(self, input: impl Into<String>) -> Self
pub fn caller_type(self, input: impl Into<String>) -> Self
Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS domain (domain
).
sourcepub fn set_caller_type(self, input: Option<String>) -> Self
pub fn set_caller_type(self, input: Option<String>) -> Self
Indicates whether the API call originated from a remote IP address (remoteip
) or from a DNS domain (domain
).
sourcepub fn remote_ip_details(self, input: ActionRemoteIpDetails) -> Self
pub fn remote_ip_details(self, input: ActionRemoteIpDetails) -> Self
Provided if CallerType
is remoteIp
. Provides information about the remote IP address that the API call originated from.
sourcepub fn set_remote_ip_details(self, input: Option<ActionRemoteIpDetails>) -> Self
pub fn set_remote_ip_details(self, input: Option<ActionRemoteIpDetails>) -> Self
Provided if CallerType
is remoteIp
. Provides information about the remote IP address that the API call originated from.
sourcepub fn domain_details(self, input: AwsApiCallActionDomainDetails) -> Self
pub fn domain_details(self, input: AwsApiCallActionDomainDetails) -> Self
Provided if CallerType
is domain
. Provides information about the DNS domain that the API call originated from.
sourcepub fn set_domain_details(
self,
input: Option<AwsApiCallActionDomainDetails>
) -> Self
pub fn set_domain_details(
self,
input: Option<AwsApiCallActionDomainDetails>
) -> Self
Provided if CallerType
is domain
. Provides information about the DNS domain that the API call originated from.
sourcepub fn affected_resources(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
pub fn affected_resources(
self,
k: impl Into<String>,
v: impl Into<String>
) -> Self
Adds a key-value pair to affected_resources
.
To override the contents of this collection use set_affected_resources
.
Identifies the resources that were affected by the API call.
sourcepub fn set_affected_resources(
self,
input: Option<HashMap<String, String>>
) -> Self
pub fn set_affected_resources(
self,
input: Option<HashMap<String, String>>
) -> Self
Identifies the resources that were affected by the API call.
sourcepub fn first_seen(self, input: impl Into<String>) -> Self
pub fn first_seen(self, input: impl Into<String>) -> Self
An ISO8601-formatted timestamp that indicates when the API call was first observed.
sourcepub fn set_first_seen(self, input: Option<String>) -> Self
pub fn set_first_seen(self, input: Option<String>) -> Self
An ISO8601-formatted timestamp that indicates when the API call was first observed.
sourcepub fn last_seen(self, input: impl Into<String>) -> Self
pub fn last_seen(self, input: impl Into<String>) -> Self
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
sourcepub fn set_last_seen(self, input: Option<String>) -> Self
pub fn set_last_seen(self, input: Option<String>) -> Self
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
sourcepub fn build(self) -> AwsApiCallAction
pub fn build(self) -> AwsApiCallAction
Consumes the builder and constructs a AwsApiCallAction
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more