Struct aws_sdk_ec2::model::association_status::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AssociationStatus
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn code(self, input: AssociationStatusCode) -> Self
pub fn code(self, input: AssociationStatusCode) -> Self
The state of the target network association.
sourcepub fn set_code(self, input: Option<AssociationStatusCode>) -> Self
pub fn set_code(self, input: Option<AssociationStatusCode>) -> Self
The state of the target network association.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
A message about the status of the target network association, if applicable.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
A message about the status of the target network association, if applicable.
sourcepub fn build(self) -> AssociationStatus
pub fn build(self) -> AssociationStatus
Consumes the builder and constructs a AssociationStatus
.