Struct aws_sdk_wafv2::operation::get_decrypted_api_key::builders::GetDecryptedApiKeyInputBuilder
source · #[non_exhaustive]pub struct GetDecryptedApiKeyInputBuilder { /* private fields */ }
Expand description
A builder for GetDecryptedApiKeyInput
.
Implementations§
source§impl GetDecryptedApiKeyInputBuilder
impl GetDecryptedApiKeyInputBuilder
sourcepub fn scope(self, input: Scope) -> Self
pub fn scope(self, input: Scope) -> Self
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn set_scope(self, input: Option<Scope>) -> Self
pub fn set_scope(self, input: Option<Scope>) -> Self
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn get_scope(&self) -> &Option<Scope>
pub fn get_scope(&self) -> &Option<Scope>
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
-
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. -
API and SDKs - For all calls, use the Region endpoint us-east-1.
sourcepub fn api_key(self, input: impl Into<String>) -> Self
pub fn api_key(self, input: impl Into<String>) -> Self
The encrypted API key.
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 encrypted API key.
sourcepub fn get_api_key(&self) -> &Option<String>
pub fn get_api_key(&self) -> &Option<String>
The encrypted API key.
sourcepub fn build(self) -> Result<GetDecryptedApiKeyInput, BuildError>
pub fn build(self) -> Result<GetDecryptedApiKeyInput, BuildError>
Consumes the builder and constructs a GetDecryptedApiKeyInput
.
source§impl GetDecryptedApiKeyInputBuilder
impl GetDecryptedApiKeyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDecryptedApiKeyOutput, SdkError<GetDecryptedAPIKeyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDecryptedApiKeyOutput, SdkError<GetDecryptedAPIKeyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDecryptedApiKeyInputBuilder
impl Clone for GetDecryptedApiKeyInputBuilder
source§fn clone(&self) -> GetDecryptedApiKeyInputBuilder
fn clone(&self) -> GetDecryptedApiKeyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetDecryptedApiKeyInputBuilder
impl Default for GetDecryptedApiKeyInputBuilder
source§fn default() -> GetDecryptedApiKeyInputBuilder
fn default() -> GetDecryptedApiKeyInputBuilder
source§impl PartialEq for GetDecryptedApiKeyInputBuilder
impl PartialEq for GetDecryptedApiKeyInputBuilder
source§fn eq(&self, other: &GetDecryptedApiKeyInputBuilder) -> bool
fn eq(&self, other: &GetDecryptedApiKeyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.