Class CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.networkfirewall.CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTLSInspectionConfiguration.ServerCertificateScopeProperty>
- Enclosing interface:
CfnTLSInspectionConfiguration.ServerCertificateScopeProperty
@Stability(Stable)
public static final class CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTLSInspectionConfiguration.ServerCertificateScopeProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destinationPorts(List<? extends Object> destinationPorts) destinationPorts(IResolvable destinationPorts) destinations(List<? extends Object> destinations) destinations(IResolvable destinations) protocols(IResolvable protocols) sourcePorts(List<? extends Object> sourcePorts) sourcePorts(IResolvable sourcePorts) sources(IResolvable sources)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinationPorts
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder destinationPorts(IResolvable destinationPorts) Sets the value ofCfnTLSInspectionConfiguration.ServerCertificateScopeProperty.getDestinationPorts()- Parameters:
destinationPorts- The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port.You can specify individual ports, for example
1994, and you can specify port ranges, such as1990:1994.- Returns:
this
-
destinationPorts
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder destinationPorts(List<? extends Object> destinationPorts) Sets the value ofCfnTLSInspectionConfiguration.ServerCertificateScopeProperty.getDestinationPorts()- Parameters:
destinationPorts- The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any destination port.You can specify individual ports, for example
1994, and you can specify port ranges, such as1990:1994.- Returns:
this
-
destinations
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder destinations(IResolvable destinations) - Parameters:
destinations- The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.- Returns:
this
-
destinations
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder destinations(List<? extends Object> destinations) - Parameters:
destinations- The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.- Returns:
this
-
protocols
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder protocols(List<? extends Number> protocols) - Parameters:
protocols- The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.Network Firewall currently supports only TCP.
- Returns:
this
-
protocols
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder protocols(IResolvable protocols) - Parameters:
protocols- The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.Network Firewall currently supports only TCP.
- Returns:
this
-
sourcePorts
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder sourcePorts(IResolvable sourcePorts) - Parameters:
sourcePorts- The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port.You can specify individual ports, for example
1994, and you can specify port ranges, such as1990:1994.- Returns:
this
-
sourcePorts
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder sourcePorts(List<? extends Object> sourcePorts) - Parameters:
sourcePorts- The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format. If not specified, this matches with any source port.You can specify individual ports, for example
1994, and you can specify port ranges, such as1990:1994.- Returns:
this
-
sources
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder sources(IResolvable sources) - Parameters:
sources- The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.- Returns:
this
-
sources
@Stability(Stable) public CfnTLSInspectionConfiguration.ServerCertificateScopeProperty.Builder sources(List<? extends Object> sources) - Parameters:
sources- The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTLSInspectionConfiguration.ServerCertificateScopeProperty>- Returns:
- a new instance of
CfnTLSInspectionConfiguration.ServerCertificateScopeProperty - Throws:
NullPointerException- if any required attribute was not provided
-