pub struct ProxyProtocolPolicyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> ProxyProtocolPolicyArgsBuilder<S>
impl<S: State> ProxyProtocolPolicyArgsBuilder<S>
sourcepub fn build_struct(self) -> ProxyProtocolPolicyArgswhere
S: IsComplete,
pub fn build_struct(self) -> ProxyProtocolPolicyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn instance_ports(
self,
value: impl Into<Output<Vec<String>>>,
) -> ProxyProtocolPolicyArgsBuilder<SetInstancePorts<S>>where
S::InstancePorts: IsUnset,
pub fn instance_ports(
self,
value: impl Into<Output<Vec<String>>>,
) -> ProxyProtocolPolicyArgsBuilder<SetInstancePorts<S>>where
S::InstancePorts: IsUnset,
Required.
List of instance ports to which the policy should be applied. This can be specified if the protocol is SSL or TCP.
sourcepub fn load_balancer(
self,
value: impl Into<Output<String>>,
) -> ProxyProtocolPolicyArgsBuilder<SetLoadBalancer<S>>where
S::LoadBalancer: IsUnset,
pub fn load_balancer(
self,
value: impl Into<Output<String>>,
) -> ProxyProtocolPolicyArgsBuilder<SetLoadBalancer<S>>where
S::LoadBalancer: IsUnset,
Required.
The load balancer to which the policy should be attached.
Auto Trait Implementations§
impl<S> Freeze for ProxyProtocolPolicyArgsBuilder<S>
impl<S> RefUnwindSafe for ProxyProtocolPolicyArgsBuilder<S>
impl<S> Send for ProxyProtocolPolicyArgsBuilder<S>
impl<S> Sync for ProxyProtocolPolicyArgsBuilder<S>
impl<S> Unpin for ProxyProtocolPolicyArgsBuilder<S>
impl<S> UnwindSafe for ProxyProtocolPolicyArgsBuilder<S>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more