#[non_exhaustive]pub struct AwsApiCallActionBuilder { /* private fields */ }
Expand description
A builder for AwsApiCallAction
.
Implementations§
source§impl AwsApiCallActionBuilder
impl AwsApiCallActionBuilder
sourcepub fn api(self, input: impl Into<String>) -> Self
pub fn api(self, input: impl Into<String>) -> Self
The name of the API method that was issued.
Length Constraints: 128.
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.
Length Constraints: 128.
sourcepub fn get_api(&self) -> &Option<String>
pub fn get_api(&self) -> &Option<String>
The name of the API method that was issued.
Length Constraints: 128.
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.
Length Constraints: 128.
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.
Length Constraints: 128.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the Amazon Web Services service that the API method belongs to.
Length Constraints: 128.
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 get_caller_type(&self) -> &Option<String>
pub fn get_caller_type(&self) -> &Option<String>
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 get_remote_ip_details(&self) -> &Option<ActionRemoteIpDetails>
pub fn get_remote_ip_details(&self) -> &Option<ActionRemoteIpDetails>
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 get_domain_details(&self) -> &Option<AwsApiCallActionDomainDetails>
pub fn get_domain_details(&self) -> &Option<AwsApiCallActionDomainDetails>
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 get_affected_resources(&self) -> &Option<HashMap<String, String>>
pub fn get_affected_resources(&self) -> &Option<HashMap<String, String>>
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
A timestamp that indicates when the API call was first observed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn set_first_seen(self, input: Option<String>) -> Self
pub fn set_first_seen(self, input: Option<String>) -> Self
A timestamp that indicates when the API call was first observed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn get_first_seen(&self) -> &Option<String>
pub fn get_first_seen(&self) -> &Option<String>
A timestamp that indicates when the API call was first observed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn last_seen(self, input: impl Into<String>) -> Self
pub fn last_seen(self, input: impl Into<String>) -> Self
A timestamp that indicates when the API call was most recently observed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn set_last_seen(self, input: Option<String>) -> Self
pub fn set_last_seen(self, input: Option<String>) -> Self
A timestamp that indicates when the API call was most recently observed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn get_last_seen(&self) -> &Option<String>
pub fn get_last_seen(&self) -> &Option<String>
A timestamp that indicates when the API call was most recently observed.
This field accepts only the specified formats. Timestamps can end with Z
or ("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
sourcepub fn build(self) -> AwsApiCallAction
pub fn build(self) -> AwsApiCallAction
Consumes the builder and constructs a AwsApiCallAction
.
Trait Implementations§
source§impl Clone for AwsApiCallActionBuilder
impl Clone for AwsApiCallActionBuilder
source§fn clone(&self) -> AwsApiCallActionBuilder
fn clone(&self) -> AwsApiCallActionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsApiCallActionBuilder
impl Debug for AwsApiCallActionBuilder
source§impl Default for AwsApiCallActionBuilder
impl Default for AwsApiCallActionBuilder
source§fn default() -> AwsApiCallActionBuilder
fn default() -> AwsApiCallActionBuilder
source§impl PartialEq for AwsApiCallActionBuilder
impl PartialEq for AwsApiCallActionBuilder
source§fn eq(&self, other: &AwsApiCallActionBuilder) -> bool
fn eq(&self, other: &AwsApiCallActionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsApiCallActionBuilder
Auto Trait Implementations§
impl Freeze for AwsApiCallActionBuilder
impl RefUnwindSafe for AwsApiCallActionBuilder
impl Send for AwsApiCallActionBuilder
impl Sync for AwsApiCallActionBuilder
impl Unpin for AwsApiCallActionBuilder
impl UnwindSafe for AwsApiCallActionBuilder
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