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
source§fn eq(&self, other: &GatewayBuilder) -> bool
fn eq(&self, other: &GatewayBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.