Struct aws_sdk_storagegateway::operation::start_availability_monitor_test::builders::StartAvailabilityMonitorTestFluentBuilder
source · pub struct StartAvailabilityMonitorTestFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartAvailabilityMonitorTest
.
Start a test that verifies that the specified gateway is configured for High Availability monitoring in your host environment. This request only initiates the test and that a successful response only indicates that the test was started. It doesn't indicate that the test passed. For the status of the test, invoke the DescribeAvailabilityMonitorTest
API.
Starting this test will cause your gateway to go offline for a brief period.
Implementations§
source§impl StartAvailabilityMonitorTestFluentBuilder
impl StartAvailabilityMonitorTestFluentBuilder
sourcepub fn as_input(&self) -> &StartAvailabilityMonitorTestInputBuilder
pub fn as_input(&self) -> &StartAvailabilityMonitorTestInputBuilder
Access the StartAvailabilityMonitorTest as a reference.
sourcepub async fn send(
self
) -> Result<StartAvailabilityMonitorTestOutput, SdkError<StartAvailabilityMonitorTestError, HttpResponse>>
pub async fn send( self ) -> Result<StartAvailabilityMonitorTestOutput, SdkError<StartAvailabilityMonitorTestError, 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<StartAvailabilityMonitorTestOutput, StartAvailabilityMonitorTestError, Self>
pub fn customize( self ) -> CustomizableOperation<StartAvailabilityMonitorTestOutput, StartAvailabilityMonitorTestError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn gateway_arn(self, input: impl Into<String>) -> Self
pub fn gateway_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn set_gateway_arn(self, input: Option<String>) -> Self
pub fn set_gateway_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
sourcepub fn get_gateway_arn(&self) -> &Option<String>
pub fn get_gateway_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the gateway. Use the ListGateways
operation to return a list of gateways for your account and Amazon Web Services Region.
Trait Implementations§
source§impl Clone for StartAvailabilityMonitorTestFluentBuilder
impl Clone for StartAvailabilityMonitorTestFluentBuilder
source§fn clone(&self) -> StartAvailabilityMonitorTestFluentBuilder
fn clone(&self) -> StartAvailabilityMonitorTestFluentBuilder
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 StartAvailabilityMonitorTestFluentBuilder
impl !RefUnwindSafe for StartAvailabilityMonitorTestFluentBuilder
impl Send for StartAvailabilityMonitorTestFluentBuilder
impl Sync for StartAvailabilityMonitorTestFluentBuilder
impl Unpin for StartAvailabilityMonitorTestFluentBuilder
impl !UnwindSafe for StartAvailabilityMonitorTestFluentBuilder
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