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
Modifier and TypeMethodDescriptiondefault ClientPolicyTls.Builder
certificate
(Consumer<ClientTlsCertificate.Builder> certificate) A reference to an object that represents a client's TLS certificate.certificate
(ClientTlsCertificate certificate) A reference to an object that represents a client's TLS certificate.Whether the policy is enforced.One or more ports that the policy is enforced for.ports
(Collection<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.validation
(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 Details
-
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
A reference to an object that represents a client's TLS certificate.
This is a convenience method that creates an instance of theClientTlsCertificate.Builder
avoiding the need to create one manually viaClientTlsCertificate.builder()
.When the
Consumer
completes,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:
-
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
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
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
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
A reference to an object that represents a TLS validation context.
This is a convenience method that creates an instance of theTlsValidationContext.Builder
avoiding the need to create one manually viaTlsValidationContext.builder()
.When the
Consumer
completes,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:
-