Struct aws_sdk_elasticloadbalancing::input::create_app_cookie_stickiness_policy_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateAppCookieStickinessPolicyInput
.
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 policy being created. Policy names must consist of alphanumeric characters and dashes (-). 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 policy being created. Policy names must consist of alphanumeric characters and dashes (-). This name must be unique within the set of policies for this load balancer.
The name of the application cookie used for stickiness.
The name of the application cookie used for stickiness.
sourcepub fn build(self) -> Result<CreateAppCookieStickinessPolicyInput, BuildError>
pub fn build(self) -> Result<CreateAppCookieStickinessPolicyInput, BuildError>
Consumes the builder and constructs a CreateAppCookieStickinessPolicyInput
.