#[non_exhaustive]pub struct UpdateApiKeyOutputBuilder { /* private fields */ }Expand description
A builder for UpdateApiKeyOutput.
Implementations§
source§impl UpdateApiKeyOutputBuilder
impl UpdateApiKeyOutputBuilder
sourcepub fn customer_id(self, input: impl Into<String>) -> Self
pub fn customer_id(self, input: impl Into<String>) -> Self
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
sourcepub fn set_customer_id(self, input: Option<String>) -> Self
pub fn set_customer_id(self, input: Option<String>) -> Self
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
sourcepub fn get_customer_id(&self) -> &Option<String>
pub fn get_customer_id(&self) -> &Option<String>
An Amazon Web Services Marketplace customer identifier, when integrating with the Amazon Web Services SaaS Marketplace.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the API Key.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the API Key.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the API Key.
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Specifies whether the API Key can be used by callers.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Specifies whether the API Key can be used by callers.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Specifies whether the API Key can be used by callers.
sourcepub fn created_date(self, input: DateTime) -> Self
pub fn created_date(self, input: DateTime) -> Self
The timestamp when the API Key was created.
sourcepub fn set_created_date(self, input: Option<DateTime>) -> Self
pub fn set_created_date(self, input: Option<DateTime>) -> Self
The timestamp when the API Key was created.
sourcepub fn get_created_date(&self) -> &Option<DateTime>
pub fn get_created_date(&self) -> &Option<DateTime>
The timestamp when the API Key was created.
sourcepub fn last_updated_date(self, input: DateTime) -> Self
pub fn last_updated_date(self, input: DateTime) -> Self
The timestamp when the API Key was last updated.
sourcepub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
pub fn set_last_updated_date(self, input: Option<DateTime>) -> Self
The timestamp when the API Key was last updated.
sourcepub fn get_last_updated_date(&self) -> &Option<DateTime>
pub fn get_last_updated_date(&self) -> &Option<DateTime>
The timestamp when the API Key was last updated.
sourcepub fn stage_keys(self, input: impl Into<String>) -> Self
pub fn stage_keys(self, input: impl Into<String>) -> Self
Appends an item to stage_keys.
To override the contents of this collection use set_stage_keys.
A list of Stage resources that are associated with the ApiKey resource.
sourcepub fn set_stage_keys(self, input: Option<Vec<String>>) -> Self
pub fn set_stage_keys(self, input: Option<Vec<String>>) -> Self
A list of Stage resources that are associated with the ApiKey resource.
sourcepub fn get_stage_keys(&self) -> &Option<Vec<String>>
pub fn get_stage_keys(&self) -> &Option<Vec<String>>
A list of Stage resources that are associated with the ApiKey resource.
Adds a key-value pair to tags.
To override the contents of this collection use set_tags.
The collection of tags. Each tag element is associated with a given resource.
The collection of tags. Each tag element is associated with a given resource.
The collection of tags. Each tag element is associated with a given resource.
sourcepub fn build(self) -> UpdateApiKeyOutput
pub fn build(self) -> UpdateApiKeyOutput
Consumes the builder and constructs a UpdateApiKeyOutput.
Trait Implementations§
source§impl Clone for UpdateApiKeyOutputBuilder
impl Clone for UpdateApiKeyOutputBuilder
source§fn clone(&self) -> UpdateApiKeyOutputBuilder
fn clone(&self) -> UpdateApiKeyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateApiKeyOutputBuilder
impl Debug for UpdateApiKeyOutputBuilder
source§impl Default for UpdateApiKeyOutputBuilder
impl Default for UpdateApiKeyOutputBuilder
source§fn default() -> UpdateApiKeyOutputBuilder
fn default() -> UpdateApiKeyOutputBuilder
source§impl PartialEq for UpdateApiKeyOutputBuilder
impl PartialEq for UpdateApiKeyOutputBuilder
source§fn eq(&self, other: &UpdateApiKeyOutputBuilder) -> bool
fn eq(&self, other: &UpdateApiKeyOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateApiKeyOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateApiKeyOutputBuilder
impl RefUnwindSafe for UpdateApiKeyOutputBuilder
impl Send for UpdateApiKeyOutputBuilder
impl Sync for UpdateApiKeyOutputBuilder
impl Unpin for UpdateApiKeyOutputBuilder
impl UnwindSafe for UpdateApiKeyOutputBuilder
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