Struct aws_sdk_networkfirewall::operation::update_tls_inspection_configuration::builders::UpdateTlsInspectionConfigurationOutputBuilder
source · #[non_exhaustive]pub struct UpdateTlsInspectionConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for UpdateTlsInspectionConfigurationOutput
.
Implementations§
source§impl UpdateTlsInspectionConfigurationOutputBuilder
impl UpdateTlsInspectionConfigurationOutputBuilder
sourcepub fn update_token(self, input: impl Into<String>) -> Self
pub fn update_token(self, input: impl Into<String>) -> Self
A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.
To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.
sourcepub fn set_update_token(self, input: Option<String>) -> Self
pub fn set_update_token(self, input: Option<String>) -> Self
A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.
To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.
sourcepub fn get_update_token(&self) -> &Option<String>
pub fn get_update_token(&self) -> &Option<String>
A token used for optimistic locking. Network Firewall returns a token to your requests that access the TLS inspection configuration. The token marks the state of the TLS inspection configuration resource at the time of the request.
To make changes to the TLS inspection configuration, you provide the token in your request. Network Firewall uses the token to ensure that the TLS inspection configuration hasn't changed since you last retrieved it. If it has changed, the operation fails with an InvalidTokenException
. If this happens, retrieve the TLS inspection configuration again to get a current copy of it with a current token. Reapply your changes as needed, then try the operation again using the new token.
sourcepub fn tls_inspection_configuration_response(
self,
input: TlsInspectionConfigurationResponse
) -> Self
pub fn tls_inspection_configuration_response( self, input: TlsInspectionConfigurationResponse ) -> Self
The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration
, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration
.
sourcepub fn set_tls_inspection_configuration_response(
self,
input: Option<TlsInspectionConfigurationResponse>
) -> Self
pub fn set_tls_inspection_configuration_response( self, input: Option<TlsInspectionConfigurationResponse> ) -> Self
The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration
, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration
.
sourcepub fn get_tls_inspection_configuration_response(
&self
) -> &Option<TlsInspectionConfigurationResponse>
pub fn get_tls_inspection_configuration_response( &self ) -> &Option<TlsInspectionConfigurationResponse>
The high-level properties of a TLS inspection configuration. This, along with the TLSInspectionConfiguration
, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration
.
sourcepub fn build(self) -> Result<UpdateTlsInspectionConfigurationOutput, BuildError>
pub fn build(self) -> Result<UpdateTlsInspectionConfigurationOutput, BuildError>
Consumes the builder and constructs a UpdateTlsInspectionConfigurationOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for UpdateTlsInspectionConfigurationOutputBuilder
impl Clone for UpdateTlsInspectionConfigurationOutputBuilder
source§fn clone(&self) -> UpdateTlsInspectionConfigurationOutputBuilder
fn clone(&self) -> UpdateTlsInspectionConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for UpdateTlsInspectionConfigurationOutputBuilder
impl Default for UpdateTlsInspectionConfigurationOutputBuilder
source§fn default() -> UpdateTlsInspectionConfigurationOutputBuilder
fn default() -> UpdateTlsInspectionConfigurationOutputBuilder
source§impl PartialEq for UpdateTlsInspectionConfigurationOutputBuilder
impl PartialEq for UpdateTlsInspectionConfigurationOutputBuilder
source§fn eq(&self, other: &UpdateTlsInspectionConfigurationOutputBuilder) -> bool
fn eq(&self, other: &UpdateTlsInspectionConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateTlsInspectionConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTlsInspectionConfigurationOutputBuilder
impl RefUnwindSafe for UpdateTlsInspectionConfigurationOutputBuilder
impl Send for UpdateTlsInspectionConfigurationOutputBuilder
impl Sync for UpdateTlsInspectionConfigurationOutputBuilder
impl Unpin for UpdateTlsInspectionConfigurationOutputBuilder
impl UnwindSafe for UpdateTlsInspectionConfigurationOutputBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more