#[non_exhaustive]pub struct GetApiKeyOutputBuilder { /* private fields */ }Expand description
A builder for GetApiKeyOutput.
Implementations§
source§impl GetApiKeyOutputBuilder
impl GetApiKeyOutputBuilder
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) -> GetApiKeyOutput
pub fn build(self) -> GetApiKeyOutput
Consumes the builder and constructs a GetApiKeyOutput.
Trait Implementations§
source§impl Clone for GetApiKeyOutputBuilder
impl Clone for GetApiKeyOutputBuilder
source§fn clone(&self) -> GetApiKeyOutputBuilder
fn clone(&self) -> GetApiKeyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetApiKeyOutputBuilder
impl Debug for GetApiKeyOutputBuilder
source§impl Default for GetApiKeyOutputBuilder
impl Default for GetApiKeyOutputBuilder
source§fn default() -> GetApiKeyOutputBuilder
fn default() -> GetApiKeyOutputBuilder
source§impl PartialEq for GetApiKeyOutputBuilder
impl PartialEq for GetApiKeyOutputBuilder
impl StructuralPartialEq for GetApiKeyOutputBuilder
Auto Trait Implementations§
impl Freeze for GetApiKeyOutputBuilder
impl RefUnwindSafe for GetApiKeyOutputBuilder
impl Send for GetApiKeyOutputBuilder
impl Sync for GetApiKeyOutputBuilder
impl Unpin for GetApiKeyOutputBuilder
impl UnwindSafe for GetApiKeyOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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