Struct aws_sdk_elasticloadbalancing::operation::create_load_balancer_policy::builders::CreateLoadBalancerPolicyInputBuilder
source · #[non_exhaustive]pub struct CreateLoadBalancerPolicyInputBuilder { /* private fields */ }
Expand description
A builder for CreateLoadBalancerPolicyInput
.
Implementations§
source§impl CreateLoadBalancerPolicyInputBuilder
impl CreateLoadBalancerPolicyInputBuilder
sourcepub fn load_balancer_name(self, input: impl Into<String>) -> Self
pub fn load_balancer_name(self, input: impl Into<String>) -> Self
The name of the load balancer.
This field is required.sourcepub fn set_load_balancer_name(self, input: Option<String>) -> Self
pub fn set_load_balancer_name(self, input: Option<String>) -> Self
The name of the load balancer.
sourcepub fn get_load_balancer_name(&self) -> &Option<String>
pub fn get_load_balancer_name(&self) -> &Option<String>
The name of the load balancer.
sourcepub fn policy_name(self, input: impl Into<String>) -> Self
pub fn policy_name(self, input: impl Into<String>) -> Self
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
This field is required.sourcepub fn set_policy_name(self, input: Option<String>) -> Self
pub fn set_policy_name(self, input: Option<String>) -> Self
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
sourcepub fn get_policy_name(&self) -> &Option<String>
pub fn get_policy_name(&self) -> &Option<String>
The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.
sourcepub fn policy_type_name(self, input: impl Into<String>) -> Self
pub fn policy_type_name(self, input: impl Into<String>) -> Self
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
sourcepub fn set_policy_type_name(self, input: Option<String>) -> Self
pub fn set_policy_type_name(self, input: Option<String>) -> Self
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
sourcepub fn get_policy_type_name(&self) -> &Option<String>
pub fn get_policy_type_name(&self) -> &Option<String>
The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes
.
sourcepub fn policy_attributes(self, input: PolicyAttribute) -> Self
pub fn policy_attributes(self, input: PolicyAttribute) -> Self
Appends an item to policy_attributes
.
To override the contents of this collection use set_policy_attributes
.
The policy attributes.
sourcepub fn set_policy_attributes(self, input: Option<Vec<PolicyAttribute>>) -> Self
pub fn set_policy_attributes(self, input: Option<Vec<PolicyAttribute>>) -> Self
The policy attributes.
sourcepub fn get_policy_attributes(&self) -> &Option<Vec<PolicyAttribute>>
pub fn get_policy_attributes(&self) -> &Option<Vec<PolicyAttribute>>
The policy attributes.
sourcepub fn build(self) -> Result<CreateLoadBalancerPolicyInput, BuildError>
pub fn build(self) -> Result<CreateLoadBalancerPolicyInput, BuildError>
Consumes the builder and constructs a CreateLoadBalancerPolicyInput
.
source§impl CreateLoadBalancerPolicyInputBuilder
impl CreateLoadBalancerPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateLoadBalancerPolicyOutput, SdkError<CreateLoadBalancerPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateLoadBalancerPolicyOutput, SdkError<CreateLoadBalancerPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateLoadBalancerPolicyInputBuilder
impl Clone for CreateLoadBalancerPolicyInputBuilder
source§fn clone(&self) -> CreateLoadBalancerPolicyInputBuilder
fn clone(&self) -> CreateLoadBalancerPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateLoadBalancerPolicyInputBuilder
impl Default for CreateLoadBalancerPolicyInputBuilder
source§fn default() -> CreateLoadBalancerPolicyInputBuilder
fn default() -> CreateLoadBalancerPolicyInputBuilder
source§impl PartialEq for CreateLoadBalancerPolicyInputBuilder
impl PartialEq for CreateLoadBalancerPolicyInputBuilder
source§fn eq(&self, other: &CreateLoadBalancerPolicyInputBuilder) -> bool
fn eq(&self, other: &CreateLoadBalancerPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.