#[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 AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
sourcepub fn set_customer_id(self, input: Option<String>) -> Self
pub fn set_customer_id(self, input: Option<String>) -> Self
An AWS Marketplace customer identifier , when integrating with the AWS SaaS Marketplace.
sourcepub fn get_customer_id(&self) -> &Option<String>
pub fn get_customer_id(&self) -> &Option<String>
An AWS Marketplace customer identifier , when integrating with the AWS 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<UpdateApiKeyOutputBuilder> for UpdateApiKeyOutputBuilder
impl PartialEq<UpdateApiKeyOutputBuilder> 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 ==
.