#[non_exhaustive]
pub struct ModifyListenerInputBuilder { /* private fields */ }
Expand description

A builder for ModifyListenerInput.

Implementations§

source§

impl ModifyListenerInputBuilder

source

pub fn listener_arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the listener.

This field is required.
source

pub fn set_listener_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the listener.

source

pub fn get_listener_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the listener.

source

pub fn port(self, input: i32) -> Self

The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

source

pub fn set_port(self, input: Option<i32>) -> Self

The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

source

pub fn get_port(&self) -> &Option<i32>

The port for connections from clients to the load balancer. You cannot specify a port for a Gateway Load Balancer.

source

pub fn protocol(self, input: ProtocolEnum) -> Self

The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

source

pub fn set_protocol(self, input: Option<ProtocolEnum>) -> Self

The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

source

pub fn get_protocol(&self) -> &Option<ProtocolEnum>

The protocol for connections from clients to the load balancer. Application Load Balancers support the HTTP and HTTPS protocols. Network Load Balancers support the TCP, TLS, UDP, and TCP_UDP protocols. You can’t change the protocol to UDP or TCP_UDP if dual-stack mode is enabled. You cannot specify a protocol for a Gateway Load Balancer.

source

pub fn ssl_policy(self, input: impl Into<String>) -> Self

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

source

pub fn set_ssl_policy(self, input: Option<String>) -> Self

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

source

pub fn get_ssl_policy(&self) -> &Option<String>

[HTTPS and TLS listeners] The security policy that defines which protocols and ciphers are supported.

For more information, see Security policies in the Application Load Balancers Guide or Security policies in the Network Load Balancers Guide.

source

pub fn certificates(self, input: Certificate) -> Self

Appends an item to certificates.

To override the contents of this collection use set_certificates.

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

source

pub fn set_certificates(self, input: Option<Vec<Certificate>>) -> Self

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

source

pub fn get_certificates(&self) -> &Option<Vec<Certificate>>

[HTTPS and TLS listeners] The default certificate for the listener. You must provide exactly one certificate. Set CertificateArn to the certificate ARN but do not set IsDefault.

source

pub fn default_actions(self, input: Action) -> Self

Appends an item to default_actions.

To override the contents of this collection use set_default_actions.

The actions for the default rule.

source

pub fn set_default_actions(self, input: Option<Vec<Action>>) -> Self

The actions for the default rule.

source

pub fn get_default_actions(&self) -> &Option<Vec<Action>>

The actions for the default rule.

source

pub fn alpn_policy(self, input: impl Into<String>) -> Self

Appends an item to alpn_policy.

To override the contents of this collection use set_alpn_policy.

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

  • HTTP1Only

  • HTTP2Only

  • HTTP2Optional

  • HTTP2Preferred

  • None

For more information, see ALPN policies in the Network Load Balancers Guide.

source

pub fn set_alpn_policy(self, input: Option<Vec<String>>) -> Self

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

  • HTTP1Only

  • HTTP2Only

  • HTTP2Optional

  • HTTP2Preferred

  • None

For more information, see ALPN policies in the Network Load Balancers Guide.

source

pub fn get_alpn_policy(&self) -> &Option<Vec<String>>

[TLS listeners] The name of the Application-Layer Protocol Negotiation (ALPN) policy. You can specify one policy name. The following are the possible values:

  • HTTP1Only

  • HTTP2Only

  • HTTP2Optional

  • HTTP2Preferred

  • None

For more information, see ALPN policies in the Network Load Balancers Guide.

source

pub fn mutual_authentication( self, input: MutualAuthenticationAttributes ) -> Self

The mutual authentication configuration information.

source

pub fn set_mutual_authentication( self, input: Option<MutualAuthenticationAttributes> ) -> Self

The mutual authentication configuration information.

source

pub fn get_mutual_authentication( &self ) -> &Option<MutualAuthenticationAttributes>

The mutual authentication configuration information.

source

pub fn build(self) -> Result<ModifyListenerInput, BuildError>

Consumes the builder and constructs a ModifyListenerInput.

source§

impl ModifyListenerInputBuilder

source

pub async fn send_with( self, client: &Client ) -> Result<ModifyListenerOutput, SdkError<ModifyListenerError, HttpResponse>>

Sends a request with this input using the given client.

Trait Implementations§

source§

impl Clone for ModifyListenerInputBuilder

source§

fn clone(&self) -> ModifyListenerInputBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ModifyListenerInputBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ModifyListenerInputBuilder

source§

fn default() -> ModifyListenerInputBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for ModifyListenerInputBuilder

source§

fn eq(&self, other: &ModifyListenerInputBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ModifyListenerInputBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more