#[non_exhaustive]pub struct CreateApiKeyOutputBuilder { /* private fields */ }Expand description
A builder for CreateApiKeyOutput.
Implementations§
source§impl CreateApiKeyOutputBuilder
impl CreateApiKeyOutputBuilder
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) -> CreateApiKeyOutput
pub fn build(self) -> CreateApiKeyOutput
Consumes the builder and constructs a CreateApiKeyOutput.
Trait Implementations§
source§impl Clone for CreateApiKeyOutputBuilder
impl Clone for CreateApiKeyOutputBuilder
source§fn clone(&self) -> CreateApiKeyOutputBuilder
fn clone(&self) -> CreateApiKeyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateApiKeyOutputBuilder
impl Debug for CreateApiKeyOutputBuilder
source§impl Default for CreateApiKeyOutputBuilder
impl Default for CreateApiKeyOutputBuilder
source§fn default() -> CreateApiKeyOutputBuilder
fn default() -> CreateApiKeyOutputBuilder
source§impl PartialEq for CreateApiKeyOutputBuilder
impl PartialEq for CreateApiKeyOutputBuilder
source§fn eq(&self, other: &CreateApiKeyOutputBuilder) -> bool
fn eq(&self, other: &CreateApiKeyOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateApiKeyOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateApiKeyOutputBuilder
impl RefUnwindSafe for CreateApiKeyOutputBuilder
impl Send for CreateApiKeyOutputBuilder
impl Sync for CreateApiKeyOutputBuilder
impl Unpin for CreateApiKeyOutputBuilder
impl UnwindSafe for CreateApiKeyOutputBuilder
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