Struct aws_sdk_ec2::model::alternate_path_hint::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for AlternatePathHint
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn component_id(self, input: impl Into<String>) -> Self
pub fn component_id(self, input: impl Into<String>) -> Self
The ID of the component.
sourcepub fn set_component_id(self, input: Option<String>) -> Self
pub fn set_component_id(self, input: Option<String>) -> Self
The ID of the component.
sourcepub fn component_arn(self, input: impl Into<String>) -> Self
pub fn component_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the component.
sourcepub fn set_component_arn(self, input: Option<String>) -> Self
pub fn set_component_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the component.
sourcepub fn build(self) -> AlternatePathHint
pub fn build(self) -> AlternatePathHint
Consumes the builder and constructs a AlternatePathHint
.