Struct aws_sdk_backupgateway::types::builders::GatewayBuilder
source · #[non_exhaustive]pub struct GatewayBuilder { /* private fields */ }Expand description
A builder for Gateway.
Implementations§
source§impl GatewayBuilder
impl GatewayBuilder
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.
sourcepub fn gateway_display_name(self, input: impl Into<String>) -> Self
pub fn gateway_display_name(self, input: impl Into<String>) -> Self
The display name of the gateway.
sourcepub fn set_gateway_display_name(self, input: Option<String>) -> Self
pub fn set_gateway_display_name(self, input: Option<String>) -> Self
The display name of the gateway.
sourcepub fn get_gateway_display_name(&self) -> &Option<String>
pub fn get_gateway_display_name(&self) -> &Option<String>
The display name of the gateway.
sourcepub fn gateway_type(self, input: GatewayType) -> Self
pub fn gateway_type(self, input: GatewayType) -> Self
The type of the gateway.
sourcepub fn set_gateway_type(self, input: Option<GatewayType>) -> Self
pub fn set_gateway_type(self, input: Option<GatewayType>) -> Self
The type of the gateway.
sourcepub fn get_gateway_type(&self) -> &Option<GatewayType>
pub fn get_gateway_type(&self) -> &Option<GatewayType>
The type of the gateway.
sourcepub fn hypervisor_id(self, input: impl Into<String>) -> Self
pub fn hypervisor_id(self, input: impl Into<String>) -> Self
The hypervisor ID of the gateway.
sourcepub fn set_hypervisor_id(self, input: Option<String>) -> Self
pub fn set_hypervisor_id(self, input: Option<String>) -> Self
The hypervisor ID of the gateway.
sourcepub fn get_hypervisor_id(&self) -> &Option<String>
pub fn get_hypervisor_id(&self) -> &Option<String>
The hypervisor ID of the gateway.
sourcepub fn last_seen_time(self, input: DateTime) -> Self
pub fn last_seen_time(self, input: DateTime) -> Self
The last time Backup gateway communicated with the gateway, in Unix format and UTC time.
sourcepub fn set_last_seen_time(self, input: Option<DateTime>) -> Self
pub fn set_last_seen_time(self, input: Option<DateTime>) -> Self
The last time Backup gateway communicated with the gateway, in Unix format and UTC time.
sourcepub fn get_last_seen_time(&self) -> &Option<DateTime>
pub fn get_last_seen_time(&self) -> &Option<DateTime>
The last time Backup gateway communicated with the gateway, in Unix format and UTC time.
Trait Implementations§
source§impl Clone for GatewayBuilder
impl Clone for GatewayBuilder
source§fn clone(&self) -> GatewayBuilder
fn clone(&self) -> GatewayBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GatewayBuilder
impl Debug for GatewayBuilder
source§impl Default for GatewayBuilder
impl Default for GatewayBuilder
source§fn default() -> GatewayBuilder
fn default() -> GatewayBuilder
source§impl PartialEq for GatewayBuilder
impl PartialEq for GatewayBuilder
impl StructuralPartialEq for GatewayBuilder
Auto Trait Implementations§
impl Freeze for GatewayBuilder
impl RefUnwindSafe for GatewayBuilder
impl Send for GatewayBuilder
impl Sync for GatewayBuilder
impl Unpin for GatewayBuilder
impl UnwindSafe for GatewayBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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