Struct aws_sdk_ec2::model::target_group::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TargetGroup
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the target group.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the target group.
sourcepub fn build(self) -> TargetGroup
pub fn build(self) -> TargetGroup
Consumes the builder and constructs a TargetGroup
.