Struct aws_sdk_securityhub::model::availability_zone::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AvailabilityZone
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_zone_name(self, input: Option<String>) -> Self
pub fn set_zone_name(self, input: Option<String>) -> Self
The name of the Availability Zone.
sourcepub fn subnet_id(self, input: impl Into<String>) -> Self
pub fn subnet_id(self, input: impl Into<String>) -> Self
The ID of the subnet. You can specify one subnet per Availability Zone.
sourcepub fn set_subnet_id(self, input: Option<String>) -> Self
pub fn set_subnet_id(self, input: Option<String>) -> Self
The ID of the subnet. You can specify one subnet per Availability Zone.
sourcepub fn build(self) -> AvailabilityZone
pub fn build(self) -> AvailabilityZone
Consumes the builder and constructs a AvailabilityZone
.