Struct aws_sdk_networkfirewall::operation::create_tls_inspection_configuration::builders::CreateTlsInspectionConfigurationOutputBuilder
source · #[non_exhaustive]pub struct CreateTlsInspectionConfigurationOutputBuilder { /* private fields */ }
Expand description
A builder for CreateTlsInspectionConfigurationOutput
.
Implementations§
source§impl CreateTlsInspectionConfigurationOutputBuilder
impl CreateTlsInspectionConfigurationOutputBuilder
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<CreateTlsInspectionConfigurationOutput, BuildError>
pub fn build(self) -> Result<CreateTlsInspectionConfigurationOutput, BuildError>
Consumes the builder and constructs a CreateTlsInspectionConfigurationOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for CreateTlsInspectionConfigurationOutputBuilder
impl Clone for CreateTlsInspectionConfigurationOutputBuilder
source§fn clone(&self) -> CreateTlsInspectionConfigurationOutputBuilder
fn clone(&self) -> CreateTlsInspectionConfigurationOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateTlsInspectionConfigurationOutputBuilder
impl Default for CreateTlsInspectionConfigurationOutputBuilder
source§fn default() -> CreateTlsInspectionConfigurationOutputBuilder
fn default() -> CreateTlsInspectionConfigurationOutputBuilder
source§impl PartialEq for CreateTlsInspectionConfigurationOutputBuilder
impl PartialEq for CreateTlsInspectionConfigurationOutputBuilder
source§fn eq(&self, other: &CreateTlsInspectionConfigurationOutputBuilder) -> bool
fn eq(&self, other: &CreateTlsInspectionConfigurationOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateTlsInspectionConfigurationOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateTlsInspectionConfigurationOutputBuilder
impl RefUnwindSafe for CreateTlsInspectionConfigurationOutputBuilder
impl Send for CreateTlsInspectionConfigurationOutputBuilder
impl Sync for CreateTlsInspectionConfigurationOutputBuilder
impl Unpin for CreateTlsInspectionConfigurationOutputBuilder
impl UnwindSafe for CreateTlsInspectionConfigurationOutputBuilder
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