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 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 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 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 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.
Trait Implementations§
source§impl Clone for GatewayBuilder
impl Clone for GatewayBuilder
source§fn clone(&self) -> GatewayBuilder
fn clone(&self) -> GatewayBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
Returns the “default value” for a type. Read more
source§impl PartialEq<GatewayBuilder> for GatewayBuilder
impl PartialEq<GatewayBuilder> for GatewayBuilder
source§fn eq(&self, other: &GatewayBuilder) -> bool
fn eq(&self, other: &GatewayBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GatewayBuilder
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more