#[non_exhaustive]pub struct GetApiKeyInputBuilder { /* private fields */ }
Expand description
A builder for GetApiKeyInput
.
Implementations§
source§impl GetApiKeyInputBuilder
impl GetApiKeyInputBuilder
sourcepub fn api_key(self, input: impl Into<String>) -> Self
pub fn api_key(self, input: impl Into<String>) -> Self
The identifier of the ApiKey resource.
This field is required.sourcepub fn set_api_key(self, input: Option<String>) -> Self
pub fn set_api_key(self, input: Option<String>) -> Self
The identifier of the ApiKey resource.
sourcepub fn get_api_key(&self) -> &Option<String>
pub fn get_api_key(&self) -> &Option<String>
The identifier of the ApiKey resource.
sourcepub fn include_value(self, input: bool) -> Self
pub fn include_value(self, input: bool) -> Self
A boolean flag to specify whether (true
) or not (false
) the result contains the key value.
sourcepub fn set_include_value(self, input: Option<bool>) -> Self
pub fn set_include_value(self, input: Option<bool>) -> Self
A boolean flag to specify whether (true
) or not (false
) the result contains the key value.
sourcepub fn get_include_value(&self) -> &Option<bool>
pub fn get_include_value(&self) -> &Option<bool>
A boolean flag to specify whether (true
) or not (false
) the result contains the key value.
sourcepub fn build(self) -> Result<GetApiKeyInput, BuildError>
pub fn build(self) -> Result<GetApiKeyInput, BuildError>
Consumes the builder and constructs a GetApiKeyInput
.
source§impl GetApiKeyInputBuilder
impl GetApiKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetApiKeyOutput, SdkError<GetApiKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetApiKeyOutput, SdkError<GetApiKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetApiKeyInputBuilder
impl Clone for GetApiKeyInputBuilder
source§fn clone(&self) -> GetApiKeyInputBuilder
fn clone(&self) -> GetApiKeyInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetApiKeyInputBuilder
impl Debug for GetApiKeyInputBuilder
source§impl Default for GetApiKeyInputBuilder
impl Default for GetApiKeyInputBuilder
source§fn default() -> GetApiKeyInputBuilder
fn default() -> GetApiKeyInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for GetApiKeyInputBuilder
impl PartialEq for GetApiKeyInputBuilder
source§fn eq(&self, other: &GetApiKeyInputBuilder) -> bool
fn eq(&self, other: &GetApiKeyInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetApiKeyInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetApiKeyInputBuilder
impl Send for GetApiKeyInputBuilder
impl Sync for GetApiKeyInputBuilder
impl Unpin for GetApiKeyInputBuilder
impl UnwindSafe for GetApiKeyInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.