pub struct ListVirtualInterfaceTestHistory { /* private fields */ }Expand description
Fluent builder constructing a request to ListVirtualInterfaceTestHistory.
Lists the virtual interface failover test history.
Implementations§
source§impl ListVirtualInterfaceTestHistory
impl ListVirtualInterfaceTestHistory
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListVirtualInterfaceTestHistory, AwsResponseRetryClassifier>, SdkError<ListVirtualInterfaceTestHistoryError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListVirtualInterfaceTestHistory, AwsResponseRetryClassifier>, SdkError<ListVirtualInterfaceTestHistoryError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListVirtualInterfaceTestHistoryOutput, SdkError<ListVirtualInterfaceTestHistoryError>>
pub async fn send(
self
) -> Result<ListVirtualInterfaceTestHistoryOutput, SdkError<ListVirtualInterfaceTestHistoryError>>
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 test_id(self, input: impl Into<String>) -> Self
pub fn test_id(self, input: impl Into<String>) -> Self
The ID of the virtual interface failover test.
sourcepub fn set_test_id(self, input: Option<String>) -> Self
pub fn set_test_id(self, input: Option<String>) -> Self
The ID of the virtual interface failover test.
sourcepub fn virtual_interface_id(self, input: impl Into<String>) -> Self
pub fn virtual_interface_id(self, input: impl Into<String>) -> Self
The ID of the virtual interface that was tested.
sourcepub fn set_virtual_interface_id(self, input: Option<String>) -> Self
pub fn set_virtual_interface_id(self, input: Option<String>) -> Self
The ID of the virtual interface that was tested.
sourcepub fn bgp_peers(self, input: impl Into<String>) -> Self
pub fn bgp_peers(self, input: impl Into<String>) -> Self
Appends an item to bgpPeers.
To override the contents of this collection use set_bgp_peers.
The BGP peers that were placed in the DOWN state during the virtual interface failover test.
sourcepub fn set_bgp_peers(self, input: Option<Vec<String>>) -> Self
pub fn set_bgp_peers(self, input: Option<Vec<String>>) -> Self
The BGP peers that were placed in the DOWN state during the virtual interface failover test.
sourcepub fn status(self, input: impl Into<String>) -> Self
pub fn status(self, input: impl Into<String>) -> Self
The status of the virtual interface failover test.
sourcepub fn set_status(self, input: Option<String>) -> Self
pub fn set_status(self, input: Option<String>) -> Self
The status of the virtual interface failover test.
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.
If MaxResults is given a value larger than 100, only 100 results are returned.
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.
If MaxResults is given a value larger than 100, only 100 results are returned.
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.
Trait Implementations§
source§impl Clone for ListVirtualInterfaceTestHistory
impl Clone for ListVirtualInterfaceTestHistory
source§fn clone(&self) -> ListVirtualInterfaceTestHistory
fn clone(&self) -> ListVirtualInterfaceTestHistory
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more