Interface ServerCertificateConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ServerCertificateConfiguration.Builder,ServerCertificateConfiguration>,SdkBuilder<ServerCertificateConfiguration.Builder,ServerCertificateConfiguration>,SdkPojo
- Enclosing class:
- ServerCertificateConfiguration
public static interface ServerCertificateConfiguration.Builder extends SdkPojo, CopyableBuilder<ServerCertificateConfiguration.Builder,ServerCertificateConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ServerCertificateConfiguration.BuildercertificateAuthorityArn(String certificateAuthorityArn)The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within Certificate Manager (ACM) to use for outbound SSL/TLS inspection.default ServerCertificateConfiguration.BuildercheckCertificateRevocationStatus(Consumer<CheckCertificateRevocationStatusActions.Builder> checkCertificateRevocationStatus)When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status.ServerCertificateConfiguration.BuildercheckCertificateRevocationStatus(CheckCertificateRevocationStatusActions checkCertificateRevocationStatus)When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status.ServerCertificateConfiguration.Builderscopes(Collection<ServerCertificateScope> scopes)A list of scopes.ServerCertificateConfiguration.Builderscopes(Consumer<ServerCertificateScope.Builder>... scopes)A list of scopes.ServerCertificateConfiguration.Builderscopes(ServerCertificateScope... scopes)A list of scopes.ServerCertificateConfiguration.BuilderserverCertificates(Collection<ServerCertificate> serverCertificates)The list of server certificates to use for inbound SSL/TLS inspection.ServerCertificateConfiguration.BuilderserverCertificates(Consumer<ServerCertificate.Builder>... serverCertificates)The list of server certificates to use for inbound SSL/TLS inspection.ServerCertificateConfiguration.BuilderserverCertificates(ServerCertificate... serverCertificates)The list of server certificates to use for inbound SSL/TLS inspection.-
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
-
serverCertificates
ServerCertificateConfiguration.Builder serverCertificates(Collection<ServerCertificate> serverCertificates)
The list of server certificates to use for inbound SSL/TLS inspection.
- Parameters:
serverCertificates- The list of server certificates to use for inbound SSL/TLS inspection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificates
ServerCertificateConfiguration.Builder serverCertificates(ServerCertificate... serverCertificates)
The list of server certificates to use for inbound SSL/TLS inspection.
- Parameters:
serverCertificates- The list of server certificates to use for inbound SSL/TLS inspection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverCertificates
ServerCertificateConfiguration.Builder serverCertificates(Consumer<ServerCertificate.Builder>... serverCertificates)
The list of server certificates to use for inbound SSL/TLS inspection.
This is a convenience method that creates an instance of theServerCertificate.Builderavoiding the need to create one manually viaServerCertificate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#serverCertificates(List.) - Parameters:
serverCertificates- a consumer that will call methods onServerCertificate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#serverCertificates(java.util.Collection)
-
scopes
ServerCertificateConfiguration.Builder scopes(Collection<ServerCertificateScope> scopes)
A list of scopes.
- Parameters:
scopes- A list of scopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
ServerCertificateConfiguration.Builder scopes(ServerCertificateScope... scopes)
A list of scopes.
- Parameters:
scopes- A list of scopes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopes
ServerCertificateConfiguration.Builder scopes(Consumer<ServerCertificateScope.Builder>... scopes)
A list of scopes.
This is a convenience method that creates an instance of theServerCertificateScope.Builderavoiding the need to create one manually viaServerCertificateScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#scopes(List.) - Parameters:
scopes- a consumer that will call methods onServerCertificateScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#scopes(java.util.Collection)
-
certificateAuthorityArn
ServerCertificateConfiguration.Builder certificateAuthorityArn(String certificateAuthorityArn)
The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within Certificate Manager (ACM) to use for outbound SSL/TLS inspection.
The following limitations apply:
-
You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM.
-
You can't use certificates issued by Private Certificate Authority.
For more information about configuring certificates for outbound inspection, see Using SSL/TLS certificates with certificates with TLS inspection configurations in the Network Firewall Developer Guide.
For information about working with certificates in ACM, see Importing certificates in the Certificate Manager User Guide.
- Parameters:
certificateAuthorityArn- The Amazon Resource Name (ARN) of the imported certificate authority (CA) certificate within Certificate Manager (ACM) to use for outbound SSL/TLS inspection.The following limitations apply:
-
You can use CA certificates that you imported into ACM, but you can't generate CA certificates with ACM.
-
You can't use certificates issued by Private Certificate Authority.
For more information about configuring certificates for outbound inspection, see Using SSL/TLS certificates with certificates with TLS inspection configurations in the Network Firewall Developer Guide.
For information about working with certificates in ACM, see Importing certificates in the Certificate Manager User Guide.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
checkCertificateRevocationStatus
ServerCertificateConfiguration.Builder checkCertificateRevocationStatus(CheckCertificateRevocationStatusActions checkCertificateRevocationStatus)
When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a
CertificateAuthorityArnin ServerCertificateConfiguration.- Parameters:
checkCertificateRevocationStatus- When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify aCertificateAuthorityArnin ServerCertificateConfiguration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checkCertificateRevocationStatus
default ServerCertificateConfiguration.Builder checkCertificateRevocationStatus(Consumer<CheckCertificateRevocationStatusActions.Builder> checkCertificateRevocationStatus)
When enabled, Network Firewall checks if the server certificate presented by the server in the SSL/TLS connection has a revoked or unkown status. If the certificate has an unknown or revoked status, you must specify the actions that Network Firewall takes on outbound traffic. To check the certificate revocation status, you must also specify a
This is a convenience method that creates an instance of theCertificateAuthorityArnin ServerCertificateConfiguration.CheckCertificateRevocationStatusActions.Builderavoiding the need to create one manually viaCheckCertificateRevocationStatusActions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocheckCertificateRevocationStatus(CheckCertificateRevocationStatusActions).- Parameters:
checkCertificateRevocationStatus- a consumer that will call methods onCheckCertificateRevocationStatusActions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
checkCertificateRevocationStatus(CheckCertificateRevocationStatusActions)
-
-