Struct aws_sdk_opsworks::operation::attach_elastic_load_balancer::builders::AttachElasticLoadBalancerFluentBuilder
source · pub struct AttachElasticLoadBalancerFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to AttachElasticLoadBalancer.
Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information, see Elastic Load Balancing.
You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API, or CLI. For more information, see Elastic Load Balancing Developer Guide.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Implementations§
source§impl AttachElasticLoadBalancerFluentBuilder
impl AttachElasticLoadBalancerFluentBuilder
sourcepub fn as_input(&self) -> &AttachElasticLoadBalancerInputBuilder
pub fn as_input(&self) -> &AttachElasticLoadBalancerInputBuilder
Access the AttachElasticLoadBalancer as a reference.
sourcepub async fn send(
self
) -> Result<AttachElasticLoadBalancerOutput, SdkError<AttachElasticLoadBalancerError, HttpResponse>>
pub async fn send( self ) -> Result<AttachElasticLoadBalancerOutput, SdkError<AttachElasticLoadBalancerError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<AttachElasticLoadBalancerOutput, AttachElasticLoadBalancerError, Self>
pub fn customize( self ) -> CustomizableOperation<AttachElasticLoadBalancerOutput, AttachElasticLoadBalancerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn elastic_load_balancer_name(self, input: impl Into<String>) -> Self
pub fn elastic_load_balancer_name(self, input: impl Into<String>) -> Self
The Elastic Load Balancing instance's name.
sourcepub fn set_elastic_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_elastic_load_balancer_name(self, input: Option<String>) -> Self
The Elastic Load Balancing instance's name.
sourcepub fn get_elastic_load_balancer_name(&self) -> &Option<String>
pub fn get_elastic_load_balancer_name(&self) -> &Option<String>
The Elastic Load Balancing instance's name.
sourcepub fn layer_id(self, input: impl Into<String>) -> Self
pub fn layer_id(self, input: impl Into<String>) -> Self
The ID of the layer to which the Elastic Load Balancing instance is to be attached.
sourcepub fn set_layer_id(self, input: Option<String>) -> Self
pub fn set_layer_id(self, input: Option<String>) -> Self
The ID of the layer to which the Elastic Load Balancing instance is to be attached.
sourcepub fn get_layer_id(&self) -> &Option<String>
pub fn get_layer_id(&self) -> &Option<String>
The ID of the layer to which the Elastic Load Balancing instance is to be attached.
Trait Implementations§
source§impl Clone for AttachElasticLoadBalancerFluentBuilder
impl Clone for AttachElasticLoadBalancerFluentBuilder
source§fn clone(&self) -> AttachElasticLoadBalancerFluentBuilder
fn clone(&self) -> AttachElasticLoadBalancerFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more