@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerCertificateScope extends Object implements Serializable, Cloneable, StructuredPojo
Settings that define the Secure Sockets Layer/Transport Layer Security (SSL/TLS) traffic that Network Firewall should decrypt for inspection by the stateful rule engine.
Constructor and Description |
---|
ServerCertificateScope() |
Modifier and Type | Method and Description |
---|---|
ServerCertificateScope |
clone() |
boolean |
equals(Object obj) |
List<PortRange> |
getDestinationPorts()
The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.
|
List<Address> |
getDestinations()
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation.
|
List<Integer> |
getProtocols()
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
(IANA).
|
List<PortRange> |
getSourcePorts()
The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.
|
List<Address> |
getSources()
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationPorts(Collection<PortRange> destinationPorts)
The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.
|
void |
setDestinations(Collection<Address> destinations)
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation.
|
void |
setProtocols(Collection<Integer> protocols)
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
(IANA).
|
void |
setSourcePorts(Collection<PortRange> sourcePorts)
The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.
|
void |
setSources(Collection<Address> sources)
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation.
|
String |
toString()
Returns a string representation of this object.
|
ServerCertificateScope |
withDestinationPorts(Collection<PortRange> destinationPorts)
The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.
|
ServerCertificateScope |
withDestinationPorts(PortRange... destinationPorts)
The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.
|
ServerCertificateScope |
withDestinations(Address... destinations)
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation.
|
ServerCertificateScope |
withDestinations(Collection<Address> destinations)
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation.
|
ServerCertificateScope |
withProtocols(Collection<Integer> protocols)
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
(IANA).
|
ServerCertificateScope |
withProtocols(Integer... protocols)
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
(IANA).
|
ServerCertificateScope |
withSourcePorts(Collection<PortRange> sourcePorts)
The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.
|
ServerCertificateScope |
withSourcePorts(PortRange... sourcePorts)
The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.
|
ServerCertificateScope |
withSources(Address... sources)
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation.
|
ServerCertificateScope |
withSources(Collection<Address> sources)
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation.
|
public List<Address> getSources()
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.
public void setSources(Collection<Address> sources)
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.
sources
- The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified,
this matches with any source address.public ServerCertificateScope withSources(Address... sources)
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection)
or withSources(java.util.Collection)
if you want to override
the existing values.
sources
- The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified,
this matches with any source address.public ServerCertificateScope withSources(Collection<Address> sources)
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.
sources
- The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified,
this matches with any source address.public List<Address> getDestinations()
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.
public void setDestinations(Collection<Address> destinations)
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.
destinations
- The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not
specified, this matches with any destination address.public ServerCertificateScope withDestinations(Address... destinations)
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection)
or withDestinations(java.util.Collection)
if you want to
override the existing values.
destinations
- The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not
specified, this matches with any destination address.public ServerCertificateScope withDestinations(Collection<Address> destinations)
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.
destinations
- The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not
specified, this matches with any destination address.public List<PortRange> getSourcePorts()
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 as
1990:1994
.
You can specify individual ports, for example 1994
, and you can specify port ranges, such as
1990:1994
.
public void setSourcePorts(Collection<PortRange> 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 as
1990:1994
.
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 as
1990:1994
.
public ServerCertificateScope withSourcePorts(PortRange... 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 as
1990:1994
.
NOTE: This method appends the values to the existing list (if any). Use
setSourcePorts(java.util.Collection)
or withSourcePorts(java.util.Collection)
if you want to
override the existing values.
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 as
1990:1994
.
public ServerCertificateScope withSourcePorts(Collection<PortRange> 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 as
1990:1994
.
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 as
1990:1994
.
public List<PortRange> getDestinationPorts()
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 as
1990:1994
.
You can specify individual ports, for example 1994
, and you can specify port ranges, such as
1990:1994
.
public void setDestinationPorts(Collection<PortRange> 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 as
1990:1994
.
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 as
1990:1994
.
public ServerCertificateScope withDestinationPorts(PortRange... 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 as
1990:1994
.
NOTE: This method appends the values to the existing list (if any). Use
setDestinationPorts(java.util.Collection)
or withDestinationPorts(java.util.Collection)
if you
want to override the existing values.
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 as
1990:1994
.
public ServerCertificateScope withDestinationPorts(Collection<PortRange> 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 as
1990:1994
.
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 as
1990:1994
.
public List<Integer> getProtocols()
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number (IANA). Network Firewall currently supports only TCP.
public void setProtocols(Collection<Integer> protocols)
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number (IANA). Network Firewall currently supports only TCP.
protocols
- The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
(IANA). Network Firewall currently supports only TCP.public ServerCertificateScope withProtocols(Integer... protocols)
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number (IANA). Network Firewall currently supports only TCP.
NOTE: This method appends the values to the existing list (if any). Use
setProtocols(java.util.Collection)
or withProtocols(java.util.Collection)
if you want to
override the existing values.
protocols
- The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
(IANA). Network Firewall currently supports only TCP.public ServerCertificateScope withProtocols(Collection<Integer> protocols)
The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number (IANA). Network Firewall currently supports only TCP.
protocols
- The protocols to decrypt for inspection, specified using each protocol's assigned internet protocol number
(IANA). Network Firewall currently supports only TCP.public String toString()
toString
in class Object
Object.toString()
public ServerCertificateScope clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.