Struct aws_sdk_wafv2::types::builders::ApiKeySummaryBuilder
source · #[non_exhaustive]pub struct ApiKeySummaryBuilder { /* private fields */ }
Expand description
A builder for ApiKeySummary
.
Implementations§
source§impl ApiKeySummaryBuilder
impl ApiKeySummaryBuilder
sourcepub fn token_domains(self, input: impl Into<String>) -> Self
pub fn token_domains(self, input: impl Into<String>) -> Self
Appends an item to token_domains
.
To override the contents of this collection use set_token_domains
.
The token domains that are defined in this API key.
sourcepub fn set_token_domains(self, input: Option<Vec<String>>) -> Self
pub fn set_token_domains(self, input: Option<Vec<String>>) -> Self
The token domains that are defined in this API key.
sourcepub fn get_token_domains(&self) -> &Option<Vec<String>>
pub fn get_token_domains(&self) -> &Option<Vec<String>>
The token domains that are defined in this API key.
sourcepub fn api_key(self, input: impl Into<String>) -> Self
pub fn api_key(self, input: impl Into<String>) -> Self
The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration.
sourcepub fn set_api_key(self, input: Option<String>) -> Self
pub fn set_api_key(self, input: Option<String>) -> Self
The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration.
sourcepub fn get_api_key(&self) -> &Option<String>
pub fn get_api_key(&self) -> &Option<String>
The generated, encrypted API key. You can copy this for use in your JavaScript CAPTCHA integration.
sourcepub fn creation_timestamp(self, input: DateTime) -> Self
pub fn creation_timestamp(self, input: DateTime) -> Self
The date and time that the key was created.
sourcepub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_creation_timestamp(self, input: Option<DateTime>) -> Self
The date and time that the key was created.
sourcepub fn get_creation_timestamp(&self) -> &Option<DateTime>
pub fn get_creation_timestamp(&self) -> &Option<DateTime>
The date and time that the key was created.
sourcepub fn set_version(self, input: Option<i32>) -> Self
pub fn set_version(self, input: Option<i32>) -> Self
Internal value used by WAF to manage the key.
sourcepub fn get_version(&self) -> &Option<i32>
pub fn get_version(&self) -> &Option<i32>
Internal value used by WAF to manage the key.
sourcepub fn build(self) -> ApiKeySummary
pub fn build(self) -> ApiKeySummary
Consumes the builder and constructs a ApiKeySummary
.
Trait Implementations§
source§impl Clone for ApiKeySummaryBuilder
impl Clone for ApiKeySummaryBuilder
source§fn clone(&self) -> ApiKeySummaryBuilder
fn clone(&self) -> ApiKeySummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ApiKeySummaryBuilder
impl Debug for ApiKeySummaryBuilder
source§impl Default for ApiKeySummaryBuilder
impl Default for ApiKeySummaryBuilder
source§fn default() -> ApiKeySummaryBuilder
fn default() -> ApiKeySummaryBuilder
source§impl PartialEq for ApiKeySummaryBuilder
impl PartialEq for ApiKeySummaryBuilder
source§fn eq(&self, other: &ApiKeySummaryBuilder) -> bool
fn eq(&self, other: &ApiKeySummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.