Struct aws_sdk_lightsail::input::AttachInstancesToLoadBalancerInput [−][src]
#[non_exhaustive]pub struct AttachInstancesToLoadBalancerInput {
pub load_balancer_name: Option<String>,
pub instance_names: Option<Vec<String>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.load_balancer_name: Option<String>
The name of the load balancer.
instance_names: Option<Vec<String>>
An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running
before you can attach it to your load
balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AttachInstancesToLoadBalancer, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AttachInstancesToLoadBalancer, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AttachInstancesToLoadBalancer
>
Creates a new builder-style object to manufacture AttachInstancesToLoadBalancerInput
The name of the load balancer.
An array of strings representing the instance name(s) you want to attach to your load balancer.
An instance must be running
before you can attach it to your load
balancer.
There are no additional limits on the number of instances you can attach to your load balancer, aside from the limit of Lightsail instances you can create in your account (20).
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for AttachInstancesToLoadBalancerInput
impl Sync for AttachInstancesToLoadBalancerInput
impl Unpin for AttachInstancesToLoadBalancerInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more