Struct aws_sdk_backupgateway::model::gateway::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for Gateway
.
Implementations§
source§impl Builder
impl Builder
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.