Struct aws_sdk_backupgateway::model::gateway_details::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GatewayDetails
.
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 type.
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 type.
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
Details showing the last time Backup gateway communicated with the cloud, 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
Details showing the last time Backup gateway communicated with the cloud, in Unix format and UTC time.
sourcepub fn maintenance_start_time(self, input: MaintenanceStartTime) -> Self
pub fn maintenance_start_time(self, input: MaintenanceStartTime) -> Self
Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. Can be weekly or monthly.
sourcepub fn set_maintenance_start_time(
self,
input: Option<MaintenanceStartTime>
) -> Self
pub fn set_maintenance_start_time(
self,
input: Option<MaintenanceStartTime>
) -> Self
Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone. Can be weekly or monthly.
sourcepub fn next_update_availability_time(self, input: DateTime) -> Self
pub fn next_update_availability_time(self, input: DateTime) -> Self
Details showing the next update availability time of the gateway.
sourcepub fn set_next_update_availability_time(self, input: Option<DateTime>) -> Self
pub fn set_next_update_availability_time(self, input: Option<DateTime>) -> Self
Details showing the next update availability time of the gateway.
sourcepub fn vpc_endpoint(self, input: impl Into<String>) -> Self
pub fn vpc_endpoint(self, input: impl Into<String>) -> Self
The DNS name for the virtual private cloud (VPC) endpoint the gateway uses to connect to the cloud for backup gateway.
sourcepub fn set_vpc_endpoint(self, input: Option<String>) -> Self
pub fn set_vpc_endpoint(self, input: Option<String>) -> Self
The DNS name for the virtual private cloud (VPC) endpoint the gateway uses to connect to the cloud for backup gateway.
sourcepub fn build(self) -> GatewayDetails
pub fn build(self) -> GatewayDetails
Consumes the builder and constructs a GatewayDetails
.