Interface CreateTlsInspectionConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateTlsInspectionConfigurationResponse.Builder,
,CreateTlsInspectionConfigurationResponse> NetworkFirewallResponse.Builder
,SdkBuilder<CreateTlsInspectionConfigurationResponse.Builder,
,CreateTlsInspectionConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateTlsInspectionConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptiontlsInspectionConfigurationResponse
(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, 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.
-
tlsInspectionConfigurationResponse
CreateTlsInspectionConfigurationResponse.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 CreateTlsInspectionConfigurationResponse.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:
-