public static interface ClientPolicyTls.Builder extends SdkPojo, CopyableBuilder<ClientPolicyTls.Builder,ClientPolicyTls>
| Modifier and Type | Method and Description |
|---|---|
ClientPolicyTls.Builder |
certificate(ClientTlsCertificate certificate)
A reference to an object that represents a client's TLS certificate.
|
default ClientPolicyTls.Builder |
certificate(Consumer<ClientTlsCertificate.Builder> certificate)
A reference to an object that represents a client's TLS certificate.
|
ClientPolicyTls.Builder |
enforce(Boolean enforce)
Whether the policy is enforced.
|
ClientPolicyTls.Builder |
ports(Collection<Integer> ports)
One or more ports that the policy is enforced for.
|
ClientPolicyTls.Builder |
ports(Integer... ports)
One or more ports that the policy is enforced for.
|
default ClientPolicyTls.Builder |
validation(Consumer<TlsValidationContext.Builder> validation)
A reference to an object that represents a TLS validation context.
|
ClientPolicyTls.Builder |
validation(TlsValidationContext validation)
A reference to an object that represents a TLS validation context.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildClientPolicyTls.Builder certificate(ClientTlsCertificate certificate)
A reference to an object that represents a client's TLS certificate.
certificate - A reference to an object that represents a client's TLS certificate.default ClientPolicyTls.Builder certificate(Consumer<ClientTlsCertificate.Builder> certificate)
A reference to an object that represents a client's TLS certificate.
This is a convenience that creates an instance of theClientTlsCertificate.Builder avoiding the need
to create one manually via ClientTlsCertificate.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to certificate(ClientTlsCertificate).certificate - a consumer that will call methods on ClientTlsCertificate.Buildercertificate(ClientTlsCertificate)ClientPolicyTls.Builder enforce(Boolean enforce)
Whether the policy is enforced. The default is True, if a value isn't specified.
enforce - Whether the policy is enforced. The default is True, if a value isn't specified.ClientPolicyTls.Builder ports(Collection<Integer> ports)
One or more ports that the policy is enforced for.
ports - One or more ports that the policy is enforced for.ClientPolicyTls.Builder ports(Integer... ports)
One or more ports that the policy is enforced for.
ports - One or more ports that the policy is enforced for.ClientPolicyTls.Builder validation(TlsValidationContext validation)
A reference to an object that represents a TLS validation context.
validation - A reference to an object that represents a TLS validation context.default ClientPolicyTls.Builder validation(Consumer<TlsValidationContext.Builder> validation)
A reference to an object that represents a TLS validation context.
This is a convenience that creates an instance of theTlsValidationContext.Builder avoiding the need
to create one manually via TlsValidationContext.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to validation(TlsValidationContext).validation - a consumer that will call methods on TlsValidationContext.Buildervalidation(TlsValidationContext)Copyright © 2021. All rights reserved.