#[non_exhaustive]pub struct CheckCapacityInputBuilder { /* private fields */ }Expand description
A builder for CheckCapacityInput.
Implementations§
source§impl CheckCapacityInputBuilder
impl CheckCapacityInputBuilder
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 rules(self, input: Rule) -> Self
pub fn rules(self, input: Rule) -> Self
Appends an item to rules.
To override the contents of this collection use set_rules.
An array of Rule that you're configuring to use in a rule group or web ACL.
sourcepub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
pub fn set_rules(self, input: Option<Vec<Rule>>) -> Self
An array of Rule that you're configuring to use in a rule group or web ACL.
sourcepub fn get_rules(&self) -> &Option<Vec<Rule>>
pub fn get_rules(&self) -> &Option<Vec<Rule>>
An array of Rule that you're configuring to use in a rule group or web ACL.
sourcepub fn build(self) -> Result<CheckCapacityInput, BuildError>
pub fn build(self) -> Result<CheckCapacityInput, BuildError>
Consumes the builder and constructs a CheckCapacityInput.
source§impl CheckCapacityInputBuilder
impl CheckCapacityInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CheckCapacityOutput, SdkError<CheckCapacityError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CheckCapacityOutput, SdkError<CheckCapacityError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CheckCapacityInputBuilder
impl Clone for CheckCapacityInputBuilder
source§fn clone(&self) -> CheckCapacityInputBuilder
fn clone(&self) -> CheckCapacityInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CheckCapacityInputBuilder
impl Debug for CheckCapacityInputBuilder
source§impl Default for CheckCapacityInputBuilder
impl Default for CheckCapacityInputBuilder
source§fn default() -> CheckCapacityInputBuilder
fn default() -> CheckCapacityInputBuilder
source§impl PartialEq<CheckCapacityInputBuilder> for CheckCapacityInputBuilder
impl PartialEq<CheckCapacityInputBuilder> for CheckCapacityInputBuilder
source§fn eq(&self, other: &CheckCapacityInputBuilder) -> bool
fn eq(&self, other: &CheckCapacityInputBuilder) -> bool
self and other values to be equal, and is used
by ==.