Struct aws_sdk_opensearchserverless::operation::list_vpc_endpoints::builders::ListVpcEndpointsInputBuilder
source · #[non_exhaustive]pub struct ListVpcEndpointsInputBuilder { /* private fields */ }
Expand description
A builder for ListVpcEndpointsInput
.
Implementations§
source§impl ListVpcEndpointsInputBuilder
impl ListVpcEndpointsInputBuilder
sourcepub fn vpc_endpoint_filters(self, input: VpcEndpointFilters) -> Self
pub fn vpc_endpoint_filters(self, input: VpcEndpointFilters) -> Self
Filter the results according to the current status of the VPC endpoint. Possible statuses are CREATING
, DELETING
, UPDATING
, ACTIVE
, and FAILED
.
sourcepub fn set_vpc_endpoint_filters(self, input: Option<VpcEndpointFilters>) -> Self
pub fn set_vpc_endpoint_filters(self, input: Option<VpcEndpointFilters>) -> Self
Filter the results according to the current status of the VPC endpoint. Possible statuses are CREATING
, DELETING
, UPDATING
, ACTIVE
, and FAILED
.
sourcepub fn get_vpc_endpoint_filters(&self) -> &Option<VpcEndpointFilters>
pub fn get_vpc_endpoint_filters(&self) -> &Option<VpcEndpointFilters>
Filter the results according to the current status of the VPC endpoint. Possible statuses are CREATING
, DELETING
, UPDATING
, ACTIVE
, and FAILED
.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If your initial ListVpcEndpoints
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListVpcEndpoints
operations, which returns results in the next page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If your initial ListVpcEndpoints
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListVpcEndpoints
operations, which returns results in the next page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If your initial ListVpcEndpoints
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListVpcEndpoints
operations, which returns results in the next page.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 20.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 20.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 20.
sourcepub fn build(self) -> Result<ListVpcEndpointsInput, BuildError>
pub fn build(self) -> Result<ListVpcEndpointsInput, BuildError>
Consumes the builder and constructs a ListVpcEndpointsInput
.
source§impl ListVpcEndpointsInputBuilder
impl ListVpcEndpointsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListVpcEndpointsOutput, SdkError<ListVpcEndpointsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListVpcEndpointsOutput, SdkError<ListVpcEndpointsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListVpcEndpointsInputBuilder
impl Clone for ListVpcEndpointsInputBuilder
source§fn clone(&self) -> ListVpcEndpointsInputBuilder
fn clone(&self) -> ListVpcEndpointsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListVpcEndpointsInputBuilder
impl Debug for ListVpcEndpointsInputBuilder
source§impl Default for ListVpcEndpointsInputBuilder
impl Default for ListVpcEndpointsInputBuilder
source§fn default() -> ListVpcEndpointsInputBuilder
fn default() -> ListVpcEndpointsInputBuilder
source§impl PartialEq for ListVpcEndpointsInputBuilder
impl PartialEq for ListVpcEndpointsInputBuilder
source§fn eq(&self, other: &ListVpcEndpointsInputBuilder) -> bool
fn eq(&self, other: &ListVpcEndpointsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.