Interface DescribeTlsInspectionConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeTlsInspectionConfigurationResponse.Builder,
,DescribeTlsInspectionConfigurationResponse> NetworkFirewallResponse.Builder
,SdkBuilder<DescribeTlsInspectionConfigurationResponse.Builder,
,DescribeTlsInspectionConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeTlsInspectionConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptiontlsInspectionConfiguration
(Consumer<TLSInspectionConfiguration.Builder> tlsInspectionConfiguration) The object that defines a TLS inspection configuration.tlsInspectionConfiguration
(TLSInspectionConfiguration tlsInspectionConfiguration) The object that defines a TLS inspection configuration.tlsInspectionConfigurationResponse
(Consumer<TLSInspectionConfigurationResponse.Builder> tlsInspectionConfigurationResponse) The high-level properties of a TLS inspection configuration.tlsInspectionConfigurationResponse
(TLSInspectionConfigurationResponse tlsInspectionConfigurationResponse) The high-level properties of a TLS inspection configuration.updateToken
(String updateToken) A token used for optimistic locking.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkfirewall.model.NetworkFirewallResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
updateToken
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.- Parameters:
updateToken
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsInspectionConfiguration
DescribeTlsInspectionConfigurationResponse.Builder tlsInspectionConfiguration(TLSInspectionConfiguration tlsInspectionConfiguration) The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.
Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.
To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
- Parameters:
tlsInspectionConfiguration
- The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.
To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsInspectionConfiguration
default DescribeTlsInspectionConfigurationResponse.Builder tlsInspectionConfiguration(Consumer<TLSInspectionConfiguration.Builder> tlsInspectionConfiguration) The object that defines a TLS inspection configuration. This, along with TLSInspectionConfigurationResponse, define the TLS inspection configuration. You can retrieve all objects for a TLS inspection configuration by calling DescribeTLSInspectionConfiguration.
Network Firewall uses a TLS inspection configuration to decrypt traffic. Network Firewall re-encrypts the traffic before sending it to its destination.
To use a TLS inspection configuration, you add it to a new Network Firewall firewall policy, then you apply the firewall policy to a firewall. Network Firewall acts as a proxy service to decrypt and inspect the traffic traveling through your firewalls. You can reference a TLS inspection configuration from more than one firewall policy, and you can use a firewall policy in more than one firewall. For more information about using TLS inspection configurations, see Inspecting SSL/TLS traffic with TLS inspection configurations in the Network Firewall Developer Guide.
This is a convenience method that creates an instance of theTLSInspectionConfiguration.Builder
avoiding the need to create one manually viaTLSInspectionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totlsInspectionConfiguration(TLSInspectionConfiguration)
.- Parameters:
tlsInspectionConfiguration
- a consumer that will call methods onTLSInspectionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tlsInspectionConfigurationResponse
DescribeTlsInspectionConfigurationResponse.Builder tlsInspectionConfigurationResponse(TLSInspectionConfigurationResponse 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tlsInspectionConfigurationResponse
default DescribeTlsInspectionConfigurationResponse.Builder tlsInspectionConfigurationResponse(Consumer<TLSInspectionConfigurationResponse.Builder> 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.
This is a convenience method that creates an instance of theTLSInspectionConfigurationResponse.Builder
avoiding the need to create one manually viaTLSInspectionConfigurationResponse.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totlsInspectionConfigurationResponse(TLSInspectionConfigurationResponse)
.- Parameters:
tlsInspectionConfigurationResponse
- a consumer that will call methods onTLSInspectionConfigurationResponse.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-