pub struct Builder { /* private fields */ }
Expand description
A builder for CreateLoadBalancerPolicyInput
.
Implementations§
source§impl Builder
impl Builder
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.
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 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.
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 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 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 build(self) -> Result<CreateLoadBalancerPolicyInput, BuildError>
pub fn build(self) -> Result<CreateLoadBalancerPolicyInput, BuildError>
Consumes the builder and constructs a CreateLoadBalancerPolicyInput
.