public static interface ClientPolicy.Builder extends SdkPojo, CopyableBuilder<ClientPolicy.Builder,ClientPolicy>
| Modifier and Type | Method and Description |
|---|---|
ClientPolicy.Builder |
tls(ClientPolicyTls tls)
A reference to an object that represents a Transport Layer Security (TLS) client policy.
|
default ClientPolicy.Builder |
tls(Consumer<ClientPolicyTls.Builder> tls)
A reference to an object that represents a Transport Layer Security (TLS) client policy.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClientPolicy.Builder tls(ClientPolicyTls tls)
A reference to an object that represents a Transport Layer Security (TLS) client policy.
tls - A reference to an object that represents a Transport Layer Security (TLS) client policy.default ClientPolicy.Builder tls(Consumer<ClientPolicyTls.Builder> tls)
A reference to an object that represents a Transport Layer Security (TLS) client policy.
This is a convenience that creates an instance of theClientPolicyTls.Builder avoiding the need to
create one manually via ClientPolicyTls.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to tls(ClientPolicyTls).tls - a consumer that will call methods on ClientPolicyTls.Buildertls(ClientPolicyTls)Copyright © 2021. All rights reserved.