Interface VirtualGatewayClientPolicyTls.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VirtualGatewayClientPolicyTls.Builder,
,VirtualGatewayClientPolicyTls> SdkBuilder<VirtualGatewayClientPolicyTls.Builder,
,VirtualGatewayClientPolicyTls> SdkPojo
- Enclosing class:
VirtualGatewayClientPolicyTls
-
Method Summary
Modifier and TypeMethodDescriptioncertificate
(Consumer<VirtualGatewayClientTlsCertificate.Builder> certificate) A reference to an object that represents a virtual gateway's client's Transport Layer Security (TLS) certificate.certificate
(VirtualGatewayClientTlsCertificate certificate) A reference to an object that represents a virtual gateway's client's Transport Layer Security (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.validation
(Consumer<VirtualGatewayTlsValidationContext.Builder> validation) A reference to an object that represents a Transport Layer Security (TLS) validation context.validation
(VirtualGatewayTlsValidationContext validation) A reference to an object that represents a Transport Layer Security (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 virtual gateway's client's Transport Layer Security (TLS) certificate.
- Parameters:
certificate
- A reference to an object that represents a virtual gateway's client's Transport Layer Security (TLS) certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificate
default VirtualGatewayClientPolicyTls.Builder certificate(Consumer<VirtualGatewayClientTlsCertificate.Builder> certificate) A reference to an object that represents a virtual gateway's client's Transport Layer Security (TLS) certificate.
This is a convenience method that creates an instance of theVirtualGatewayClientTlsCertificate.Builder
avoiding the need to create one manually viaVirtualGatewayClientTlsCertificate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificate(VirtualGatewayClientTlsCertificate)
.- Parameters:
certificate
- a consumer that will call methods onVirtualGatewayClientTlsCertificate.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 Transport Layer Security (TLS) validation context.
- Parameters:
validation
- A reference to an object that represents a Transport Layer Security (TLS) validation context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validation
default VirtualGatewayClientPolicyTls.Builder validation(Consumer<VirtualGatewayTlsValidationContext.Builder> validation) A reference to an object that represents a Transport Layer Security (TLS) validation context.
This is a convenience method that creates an instance of theVirtualGatewayTlsValidationContext.Builder
avoiding the need to create one manually viaVirtualGatewayTlsValidationContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidation(VirtualGatewayTlsValidationContext)
.- Parameters:
validation
- a consumer that will call methods onVirtualGatewayTlsValidationContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-