Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.networkfirewall.inputs.TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.networkfirewall.inputs;
import com.pulumi.aws.networkfirewall.inputs.TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeDestinationArgs;
import com.pulumi.aws.networkfirewall.inputs.TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeDestinationPortArgs;
import com.pulumi.aws.networkfirewall.inputs.TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourceArgs;
import com.pulumi.aws.networkfirewall.inputs.TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePortArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs extends com.pulumi.resources.ResourceArgs {
public static final TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs Empty = new TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs();
/**
* Set of configuration blocks describing the destination ports to inspect for. If not specified, this matches with any destination port. See Destination Ports below for details.
*
*/
@Import(name="destinationPorts")
private @Nullable Output> destinationPorts;
/**
* @return Set of configuration blocks describing the destination ports to inspect for. If not specified, this matches with any destination port. See Destination Ports below for details.
*
*/
public Optional>> destinationPorts() {
return Optional.ofNullable(this.destinationPorts);
}
/**
* Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details.
*
*/
@Import(name="destinations")
private @Nullable Output> destinations;
/**
* @return Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details.
*
*/
public Optional>> destinations() {
return Optional.ofNullable(this.destinations);
}
/**
* Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). Network Firewall currently supports TCP only. Valid values: `6`
*
*/
@Import(name="protocols", required=true)
private Output> protocols;
/**
* @return Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). Network Firewall currently supports TCP only. Valid values: `6`
*
*/
public Output> protocols() {
return this.protocols;
}
/**
* Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Ports below for details.
*
*/
@Import(name="sourcePorts")
private @Nullable Output> sourcePorts;
/**
* @return Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Ports below for details.
*
*/
public Optional>> sourcePorts() {
return Optional.ofNullable(this.sourcePorts);
}
/**
* Set of configuration blocks describing the source IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. See Source below for details.
*
*/
@Import(name="sources")
private @Nullable Output> sources;
/**
* @return Set of configuration blocks describing the source IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. See Source below for details.
*
*/
public Optional>> sources() {
return Optional.ofNullable(this.sources);
}
private TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs() {}
private TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs $) {
this.destinationPorts = $.destinationPorts;
this.destinations = $.destinations;
this.protocols = $.protocols;
this.sourcePorts = $.sourcePorts;
this.sources = $.sources;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs $;
public Builder() {
$ = new TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs();
}
public Builder(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs defaults) {
$ = new TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs(Objects.requireNonNull(defaults));
}
/**
* @param destinationPorts Set of configuration blocks describing the destination ports to inspect for. If not specified, this matches with any destination port. See Destination Ports below for details.
*
* @return builder
*
*/
public Builder destinationPorts(@Nullable Output> destinationPorts) {
$.destinationPorts = destinationPorts;
return this;
}
/**
* @param destinationPorts Set of configuration blocks describing the destination ports to inspect for. If not specified, this matches with any destination port. See Destination Ports below for details.
*
* @return builder
*
*/
public Builder destinationPorts(List destinationPorts) {
return destinationPorts(Output.of(destinationPorts));
}
/**
* @param destinationPorts Set of configuration blocks describing the destination ports to inspect for. If not specified, this matches with any destination port. See Destination Ports below for details.
*
* @return builder
*
*/
public Builder destinationPorts(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeDestinationPortArgs... destinationPorts) {
return destinationPorts(List.of(destinationPorts));
}
/**
* @param destinations Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details.
*
* @return builder
*
*/
public Builder destinations(@Nullable Output> destinations) {
$.destinations = destinations;
return this;
}
/**
* @param destinations Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details.
*
* @return builder
*
*/
public Builder destinations(List destinations) {
return destinations(Output.of(destinations));
}
/**
* @param destinations Set of configuration blocks describing the destination IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any destination address. See Destination below for details.
*
* @return builder
*
*/
public Builder destinations(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeDestinationArgs... destinations) {
return destinations(List.of(destinations));
}
/**
* @param protocols Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). Network Firewall currently supports TCP only. Valid values: `6`
*
* @return builder
*
*/
public Builder protocols(Output> protocols) {
$.protocols = protocols;
return this;
}
/**
* @param protocols Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). Network Firewall currently supports TCP only. Valid values: `6`
*
* @return builder
*
*/
public Builder protocols(List protocols) {
return protocols(Output.of(protocols));
}
/**
* @param protocols Set of protocols to inspect for, specified using the protocol's assigned internet protocol number (IANA). Network Firewall currently supports TCP only. Valid values: `6`
*
* @return builder
*
*/
public Builder protocols(Integer... protocols) {
return protocols(List.of(protocols));
}
/**
* @param sourcePorts Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Ports below for details.
*
* @return builder
*
*/
public Builder sourcePorts(@Nullable Output> sourcePorts) {
$.sourcePorts = sourcePorts;
return this;
}
/**
* @param sourcePorts Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Ports below for details.
*
* @return builder
*
*/
public Builder sourcePorts(List sourcePorts) {
return sourcePorts(Output.of(sourcePorts));
}
/**
* @param sourcePorts Set of configuration blocks describing the source ports to inspect for. If not specified, this matches with any source port. See Source Ports below for details.
*
* @return builder
*
*/
public Builder sourcePorts(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourcePortArgs... sourcePorts) {
return sourcePorts(List.of(sourcePorts));
}
/**
* @param sources Set of configuration blocks describing the source IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. See Source below for details.
*
* @return builder
*
*/
public Builder sources(@Nullable Output> sources) {
$.sources = sources;
return this;
}
/**
* @param sources Set of configuration blocks describing the source IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. See Source below for details.
*
* @return builder
*
*/
public Builder sources(List sources) {
return sources(Output.of(sources));
}
/**
* @param sources Set of configuration blocks describing the source IP address and address ranges to inspect for, in CIDR notation. If not specified, this matches with any source address. See Source below for details.
*
* @return builder
*
*/
public Builder sources(TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeSourceArgs... sources) {
return sources(List.of(sources));
}
public TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs build() {
if ($.protocols == null) {
throw new MissingRequiredPropertyException("TlsInspectionConfigurationTlsInspectionConfigurationServerCertificateConfigurationScopeArgs", "protocols");
}
return $;
}
}
}