Struct aws_sdk_elasticloadbalancing::output::register_instances_with_load_balancer_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for RegisterInstancesWithLoadBalancerOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instances(self, input: Instance) -> Self
pub fn instances(self, input: Instance) -> Self
Appends an item to instances
.
To override the contents of this collection use set_instances
.
The updated list of instances for the load balancer.
sourcepub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
pub fn set_instances(self, input: Option<Vec<Instance>>) -> Self
The updated list of instances for the load balancer.
sourcepub fn build(self) -> RegisterInstancesWithLoadBalancerOutput
pub fn build(self) -> RegisterInstancesWithLoadBalancerOutput
Consumes the builder and constructs a RegisterInstancesWithLoadBalancerOutput
.