pub struct GetApiKeyFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetApiKey
.
Gets information about the current ApiKey resource.
Implementations§
source§impl GetApiKeyFluentBuilder
impl GetApiKeyFluentBuilder
sourcepub fn as_input(&self) -> &GetApiKeyInputBuilder
pub fn as_input(&self) -> &GetApiKeyInputBuilder
Access the GetApiKey as a reference.
sourcepub async fn send(
self
) -> Result<GetApiKeyOutput, SdkError<GetApiKeyError, HttpResponse>>
pub async fn send( self ) -> Result<GetApiKeyOutput, SdkError<GetApiKeyError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetApiKeyOutput, GetApiKeyError, Self>
pub fn customize( self ) -> CustomizableOperation<GetApiKeyOutput, GetApiKeyError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for GetApiKeyFluentBuilder
impl Clone for GetApiKeyFluentBuilder
source§fn clone(&self) -> GetApiKeyFluentBuilder
fn clone(&self) -> GetApiKeyFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more