Struct aws_sdk_elasticloadbalancing::operation::create_app_cookie_stickiness_policy::builders::CreateAppCookieStickinessPolicyInputBuilder
source · #[non_exhaustive]pub struct CreateAppCookieStickinessPolicyInputBuilder { /* private fields */ }
Expand description
A builder for CreateAppCookieStickinessPolicyInput
.
Implementations§
source§impl CreateAppCookieStickinessPolicyInputBuilder
impl CreateAppCookieStickinessPolicyInputBuilder
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 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.
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 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 get_policy_name(&self) -> &Option<String>
pub fn get_policy_name(&self) -> &Option<String>
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.
This field is required.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
.
source§impl CreateAppCookieStickinessPolicyInputBuilder
impl CreateAppCookieStickinessPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAppCookieStickinessPolicyOutput, SdkError<CreateAppCookieStickinessPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAppCookieStickinessPolicyOutput, SdkError<CreateAppCookieStickinessPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAppCookieStickinessPolicyInputBuilder
impl Clone for CreateAppCookieStickinessPolicyInputBuilder
source§fn clone(&self) -> CreateAppCookieStickinessPolicyInputBuilder
fn clone(&self) -> CreateAppCookieStickinessPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateAppCookieStickinessPolicyInputBuilder
impl Default for CreateAppCookieStickinessPolicyInputBuilder
source§fn default() -> CreateAppCookieStickinessPolicyInputBuilder
fn default() -> CreateAppCookieStickinessPolicyInputBuilder
source§impl PartialEq for CreateAppCookieStickinessPolicyInputBuilder
impl PartialEq for CreateAppCookieStickinessPolicyInputBuilder
source§fn eq(&self, other: &CreateAppCookieStickinessPolicyInputBuilder) -> bool
fn eq(&self, other: &CreateAppCookieStickinessPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.