Struct aws_sdk_ec2::model::subnet_association::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for SubnetAssociation
.
Implementations§
source§impl Builder
impl Builder
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.
sourcepub fn state(self, input: TransitGatewayMulitcastDomainAssociationState) -> Self
pub fn state(self, input: TransitGatewayMulitcastDomainAssociationState) -> Self
The state of the subnet association.
sourcepub fn set_state(
self,
input: Option<TransitGatewayMulitcastDomainAssociationState>
) -> Self
pub fn set_state(
self,
input: Option<TransitGatewayMulitcastDomainAssociationState>
) -> Self
The state of the subnet association.
sourcepub fn build(self) -> SubnetAssociation
pub fn build(self) -> SubnetAssociation
Consumes the builder and constructs a SubnetAssociation
.