#[non_exhaustive]pub struct AwsApiCallActionBuilder { /* private fields */ }
Expand description
A builder for AwsApiCallAction
.
Implementations§
source§impl AwsApiCallActionBuilder
impl AwsApiCallActionBuilder
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 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.
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
An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
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.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
sourcepub fn get_first_seen(&self) -> &Option<String>
pub fn get_first_seen(&self) -> &Option<String>
An ISO8601-formatted timestamp that indicates when the API call was first observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
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.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
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.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
sourcepub fn get_last_seen(&self) -> &Option<String>
pub fn get_last_seen(&self) -> &Option<String>
An ISO8601-formatted timestamp that indicates when the API call was most recently observed.
A correctly formatted example is 2020-05-21T20:16:34.724Z
. The value cannot contain spaces, and date and time should be separated by T
. For more information, see RFC 3339 section 5.6, Internet Date/Time Format.
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 ==
.