Interface ClientPolicyTls.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClientPolicyTls.Builder,ClientPolicyTls>,SdkBuilder<ClientPolicyTls.Builder,ClientPolicyTls>,SdkPojo
- Enclosing class:
- ClientPolicyTls
public static interface ClientPolicyTls.Builder extends SdkPojo, CopyableBuilder<ClientPolicyTls.Builder,ClientPolicyTls>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ClientPolicyTls.Buildercertificate(Consumer<ClientTlsCertificate.Builder> certificate)A reference to an object that represents a client's TLS certificate.ClientPolicyTls.Buildercertificate(ClientTlsCertificate certificate)A reference to an object that represents a client's TLS certificate.ClientPolicyTls.Builderenforce(Boolean enforce)Whether the policy is enforced.ClientPolicyTls.Builderports(Integer... ports)One or more ports that the policy is enforced for.ClientPolicyTls.Builderports(Collection<Integer> ports)One or more ports that the policy is enforced for.default ClientPolicyTls.Buildervalidation(Consumer<TlsValidationContext.Builder> validation)A reference to an object that represents a TLS validation context.ClientPolicyTls.Buildervalidation(TlsValidationContext validation)A reference to an object that represents a TLS validation context.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
certificate
ClientPolicyTls.Builder certificate(ClientTlsCertificate certificate)
A reference to an object that represents a client's TLS certificate.
- Parameters:
certificate- A reference to an object that represents a client's TLS certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theClientTlsCertificate.Builderavoiding the need to create one manually viaClientTlsCertificate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocertificate(ClientTlsCertificate).- Parameters:
certificate- a consumer that will call methods onClientTlsCertificate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
certificate(ClientTlsCertificate)
-
enforce
ClientPolicyTls.Builder enforce(Boolean enforce)
Whether the policy is enforced. The default is
True, if a value isn't specified.- Parameters:
enforce- Whether the policy is enforced. The default isTrue, if a value isn't specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ports
ClientPolicyTls.Builder ports(Collection<Integer> ports)
One or more ports that the policy is enforced for.
- Parameters:
ports- One or more ports that the policy is enforced for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ports
ClientPolicyTls.Builder ports(Integer... ports)
One or more ports that the policy is enforced for.
- Parameters:
ports- One or more ports that the policy is enforced for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validation
ClientPolicyTls.Builder validation(TlsValidationContext validation)
A reference to an object that represents a TLS validation context.
- Parameters:
validation- A reference to an object that represents a TLS validation context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validation
default ClientPolicyTls.Builder validation(Consumer<TlsValidationContext.Builder> validation)
A reference to an object that represents a TLS validation context.
This is a convenience method that creates an instance of theTlsValidationContext.Builderavoiding the need to create one manually viaTlsValidationContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovalidation(TlsValidationContext).- Parameters:
validation- a consumer that will call methods onTlsValidationContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
validation(TlsValidationContext)
-
-