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 ==
.impl StructuralPartialEq for ApiKeySummaryBuilder
Auto Trait Implementations§
impl Freeze for ApiKeySummaryBuilder
impl RefUnwindSafe for ApiKeySummaryBuilder
impl Send for ApiKeySummaryBuilder
impl Sync for ApiKeySummaryBuilder
impl Unpin for ApiKeySummaryBuilder
impl UnwindSafe for ApiKeySummaryBuilder
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