Struct aws_sdk_ec2::operation::describe_network_insights_paths::builders::DescribeNetworkInsightsPathsFluentBuilder
source · pub struct DescribeNetworkInsightsPathsFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeNetworkInsightsPaths.
Describes one or more of your paths.
Implementations§
source§impl DescribeNetworkInsightsPathsFluentBuilder
impl DescribeNetworkInsightsPathsFluentBuilder
sourcepub fn as_input(&self) -> &DescribeNetworkInsightsPathsInputBuilder
pub fn as_input(&self) -> &DescribeNetworkInsightsPathsInputBuilder
Access the DescribeNetworkInsightsPaths as a reference.
sourcepub async fn send(
self
) -> Result<DescribeNetworkInsightsPathsOutput, SdkError<DescribeNetworkInsightsPathsError, HttpResponse>>
pub async fn send( self ) -> Result<DescribeNetworkInsightsPathsOutput, SdkError<DescribeNetworkInsightsPathsError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<DescribeNetworkInsightsPathsOutput, DescribeNetworkInsightsPathsError, Self>
pub fn customize( self ) -> CustomizableOperation<DescribeNetworkInsightsPathsOutput, DescribeNetworkInsightsPathsError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> DescribeNetworkInsightsPathsPaginator
pub fn into_paginator(self) -> DescribeNetworkInsightsPathsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
sourcepub fn network_insights_path_ids(self, input: impl Into<String>) -> Self
pub fn network_insights_path_ids(self, input: impl Into<String>) -> Self
Appends an item to NetworkInsightsPathIds.
To override the contents of this collection use set_network_insights_path_ids.
The IDs of the paths.
sourcepub fn set_network_insights_path_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_network_insights_path_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the paths.
sourcepub fn get_network_insights_path_ids(&self) -> &Option<Vec<String>>
pub fn get_network_insights_path_ids(&self) -> &Option<Vec<String>>
The IDs of the paths.
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. The following are the possible values:
-
destination - The ID of the resource.
-
filter-at-source.source-address - The source IPv4 address at the source.
-
filter-at-source.source-port-range - The source port range at the source.
-
filter-at-source.destination-address - The destination IPv4 address at the source.
-
filter-at-source.destination-port-range - The destination port range at the source.
-
filter-at-destination.source-address - The source IPv4 address at the destination.
-
filter-at-destination.source-port-range - The source port range at the destination.
-
filter-at-destination.destination-address - The destination IPv4 address at the destination.
-
filter-at-destination.destination-port-range - The destination port range at the destination.
-
protocol - The protocol.
-
source - The ID of the resource.
sourcepub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
pub fn set_filters(self, input: Option<Vec<Filter>>) -> Self
The filters. The following are the possible values:
-
destination - The ID of the resource.
-
filter-at-source.source-address - The source IPv4 address at the source.
-
filter-at-source.source-port-range - The source port range at the source.
-
filter-at-source.destination-address - The destination IPv4 address at the source.
-
filter-at-source.destination-port-range - The destination port range at the source.
-
filter-at-destination.source-address - The source IPv4 address at the destination.
-
filter-at-destination.source-port-range - The source port range at the destination.
-
filter-at-destination.destination-address - The destination IPv4 address at the destination.
-
filter-at-destination.destination-port-range - The destination port range at the destination.
-
protocol - The protocol.
-
source - The ID of the resource.
sourcepub fn get_filters(&self) -> &Option<Vec<Filter>>
pub fn get_filters(&self) -> &Option<Vec<Filter>>
The filters. The following are the possible values:
-
destination - The ID of the resource.
-
filter-at-source.source-address - The source IPv4 address at the source.
-
filter-at-source.source-port-range - The source port range at the source.
-
filter-at-source.destination-address - The destination IPv4 address at the source.
-
filter-at-source.destination-port-range - The destination port range at the source.
-
filter-at-destination.source-address - The source IPv4 address at the destination.
-
filter-at-destination.source-port-range - The source port range at the destination.
-
filter-at-destination.destination-address - The destination IPv4 address at the destination.
-
filter-at-destination.destination-port-range - The destination port range at the destination.
-
protocol - The protocol.
-
source - The ID of the resource.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken 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.
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 page of results.
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 page of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next page of results.
Trait Implementations§
source§impl Clone for DescribeNetworkInsightsPathsFluentBuilder
impl Clone for DescribeNetworkInsightsPathsFluentBuilder
source§fn clone(&self) -> DescribeNetworkInsightsPathsFluentBuilder
fn clone(&self) -> DescribeNetworkInsightsPathsFluentBuilder
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 DescribeNetworkInsightsPathsFluentBuilder
impl !RefUnwindSafe for DescribeNetworkInsightsPathsFluentBuilder
impl Send for DescribeNetworkInsightsPathsFluentBuilder
impl Sync for DescribeNetworkInsightsPathsFluentBuilder
impl Unpin for DescribeNetworkInsightsPathsFluentBuilder
impl !UnwindSafe for DescribeNetworkInsightsPathsFluentBuilder
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