Struct aws_sdk_ec2::model::subnet_cidr_block_state::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SubnetCidrBlockState
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn state(self, input: SubnetCidrBlockStateCode) -> Self
pub fn state(self, input: SubnetCidrBlockStateCode) -> Self
The state of a CIDR block.
sourcepub fn set_state(self, input: Option<SubnetCidrBlockStateCode>) -> Self
pub fn set_state(self, input: Option<SubnetCidrBlockStateCode>) -> Self
The state of a CIDR block.
sourcepub fn status_message(self, input: impl Into<String>) -> Self
pub fn status_message(self, input: impl Into<String>) -> Self
A message about the status of the CIDR block, if applicable.
sourcepub fn set_status_message(self, input: Option<String>) -> Self
pub fn set_status_message(self, input: Option<String>) -> Self
A message about the status of the CIDR block, if applicable.
sourcepub fn build(self) -> SubnetCidrBlockState
pub fn build(self) -> SubnetCidrBlockState
Consumes the builder and constructs a SubnetCidrBlockState
.