Struct aws_sdk_ec2::waiters::customer_gateway_available::CustomerGatewayAvailableFluentBuilder
source · pub struct CustomerGatewayAvailableFluentBuilder { /* private fields */ }Expand description
Fluent builder for the customer_gateway_available waiter.
This builder is intended to be used similar to the other fluent builders for
normal operations on the client. However, instead of a send method, it has
a wait method that takes a maximum amount of time to wait.
Construct this fluent builder using the client by importing the
Waiters trait and calling the methods
prefixed with wait_until.
Implementations§
source§impl CustomerGatewayAvailableFluentBuilder
impl CustomerGatewayAvailableFluentBuilder
sourcepub fn as_input(&self) -> &DescribeCustomerGatewaysInputBuilder
pub fn as_input(&self) -> &DescribeCustomerGatewaysInputBuilder
Access the DescribeCustomerGateways as a reference.
sourcepub async fn wait(
self,
max_wait: Duration
) -> Result<CustomerGatewayAvailableFinalPoll, WaitUntilCustomerGatewayAvailableError>
pub async fn wait( self, max_wait: Duration ) -> Result<CustomerGatewayAvailableFinalPoll, WaitUntilCustomerGatewayAvailableError>
Wait for customer_gateway_available
sourcepub fn customer_gateway_ids(self, input: impl Into<String>) -> Self
pub fn customer_gateway_ids(self, input: impl Into<String>) -> Self
Appends an item to CustomerGatewayIds.
To override the contents of this collection use set_customer_gateway_ids.
One or more customer gateway IDs.
Default: Describes all your customer gateways.
sourcepub fn set_customer_gateway_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_customer_gateway_ids(self, input: Option<Vec<String>>) -> Self
One or more customer gateway IDs.
Default: Describes all your customer gateways.
sourcepub fn get_customer_gateway_ids(&self) -> &Option<Vec<String>>
pub fn get_customer_gateway_ids(&self) -> &Option<Vec<String>>
One or more customer gateway IDs.
Default: Describes all your customer gateways.
sourcepub fn filters(self, input: Filter) -> Self
pub fn filters(self, input: Filter) -> Self
Appends an item to Filters.
To override the contents of this collection use set_filters.
One or more filters.
-
bgp-asn- The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). -
customer-gateway-id- The ID of the customer gateway. -
ip-address- The IP address of the customer gateway device's external interface. -
state- The state of the customer gateway (pending|available|deleting|deleted). -
type- The type of customer gateway. Currently, the only supported type isipsec.1. -
tag:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
One or more filters.
-
bgp-asn- The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). -
customer-gateway-id- The ID of the customer gateway. -
ip-address- The IP address of the customer gateway device's external interface. -
state- The state of the customer gateway (pending|available|deleting|deleted). -
type- The type of customer gateway. Currently, the only supported type isipsec.1. -
tag:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
One or more filters.
-
bgp-asn- The customer gateway's Border Gateway Protocol (BGP) Autonomous System Number (ASN). -
customer-gateway-id- The ID of the customer gateway. -
ip-address- The IP address of the customer gateway device's external interface. -
state- The state of the customer gateway (pending|available|deleting|deleted). -
type- The type of customer gateway. Currently, the only supported type isipsec.1. -
tag:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Ownerand the valueTeamA, specifytag:Ownerfor the filter name andTeamAfor the filter value. -
tag-key- The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
Trait Implementations§
source§impl Clone for CustomerGatewayAvailableFluentBuilder
impl Clone for CustomerGatewayAvailableFluentBuilder
source§fn clone(&self) -> CustomerGatewayAvailableFluentBuilder
fn clone(&self) -> CustomerGatewayAvailableFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for CustomerGatewayAvailableFluentBuilder
impl !RefUnwindSafe for CustomerGatewayAvailableFluentBuilder
impl Send for CustomerGatewayAvailableFluentBuilder
impl Sync for CustomerGatewayAvailableFluentBuilder
impl Unpin for CustomerGatewayAvailableFluentBuilder
impl !UnwindSafe for CustomerGatewayAvailableFluentBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more