Struct aws_sdk_ec2::operation::describe_vpc_endpoints::builders::DescribeVpcEndpointsInputBuilder
source · #[non_exhaustive]pub struct DescribeVpcEndpointsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeVpcEndpointsInput
.
Implementations§
source§impl DescribeVpcEndpointsInputBuilder
impl DescribeVpcEndpointsInputBuilder
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
.
sourcepub fn vpc_endpoint_ids(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint_ids(self, input: impl Into<String>) -> Self
Appends an item to vpc_endpoint_ids
.
To override the contents of this collection use set_vpc_endpoint_ids
.
The IDs of the VPC endpoints.
sourcepub fn set_vpc_endpoint_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_vpc_endpoint_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the VPC endpoints.
sourcepub fn get_vpc_endpoint_ids(&self) -> &Option<Vec<String>>
pub fn get_vpc_endpoint_ids(&self) -> &Option<Vec<String>>
The IDs of the VPC endpoints.
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
.
The filters.
-
ip-address-type
- The IP address type (ipv4
|ipv6
). -
service-name
- The name of the service. -
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 Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for 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. -
vpc-id
- The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
- The ID of the endpoint. -
vpc-endpoint-state
- The state of the endpoint (pendingAcceptance
|pending
|available
|deleting
|deleted
|rejected
|failed
). -
vpc-endpoint-type
- The type of VPC endpoint (Interface
|Gateway
|GatewayLoadBalancer
).
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters.
-
ip-address-type
- The IP address type (ipv4
|ipv6
). -
service-name
- The name of the service. -
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 Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for 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. -
vpc-id
- The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
- The ID of the endpoint. -
vpc-endpoint-state
- The state of the endpoint (pendingAcceptance
|pending
|available
|deleting
|deleted
|rejected
|failed
). -
vpc-endpoint-type
- The type of VPC endpoint (Interface
|Gateway
|GatewayLoadBalancer
).
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
The filters.
-
ip-address-type
- The IP address type (ipv4
|ipv6
). -
service-name
- The name of the service. -
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 Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for 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. -
vpc-id
- The ID of the VPC in which the endpoint resides. -
vpc-endpoint-id
- The ID of the endpoint. -
vpc-endpoint-state
- The state of the endpoint (pendingAcceptance
|pending
|available
|deleting
|deleted
|rejected
|failed
). -
vpc-endpoint-type
- The type of VPC endpoint (Interface
|Gateway
|GatewayLoadBalancer
).
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1,000, we return only 1,000 items.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1,000, we return only 1,000 items.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return for this request. The request returns a token that you can specify in a subsequent call to get the next set of results.
Constraint: If the value is greater than 1,000, we return only 1,000 items.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. (You received this token from a prior call.)
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. (You received this token from a prior call.)
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. (You received this token from a prior call.)
sourcepub fn build(self) -> Result<DescribeVpcEndpointsInput, BuildError>
pub fn build(self) -> Result<DescribeVpcEndpointsInput, BuildError>
Consumes the builder and constructs a DescribeVpcEndpointsInput
.
source§impl DescribeVpcEndpointsInputBuilder
impl DescribeVpcEndpointsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeVpcEndpointsOutput, SdkError<DescribeVpcEndpointsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeVpcEndpointsOutput, SdkError<DescribeVpcEndpointsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeVpcEndpointsInputBuilder
impl Clone for DescribeVpcEndpointsInputBuilder
source§fn clone(&self) -> DescribeVpcEndpointsInputBuilder
fn clone(&self) -> DescribeVpcEndpointsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeVpcEndpointsInputBuilder
impl Default for DescribeVpcEndpointsInputBuilder
source§fn default() -> DescribeVpcEndpointsInputBuilder
fn default() -> DescribeVpcEndpointsInputBuilder
source§impl PartialEq for DescribeVpcEndpointsInputBuilder
impl PartialEq for DescribeVpcEndpointsInputBuilder
source§fn eq(&self, other: &DescribeVpcEndpointsInputBuilder) -> bool
fn eq(&self, other: &DescribeVpcEndpointsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.