Class ServerCertificateScope
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServerCertificateScope.Builder,ServerCertificateScope>
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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final DecryptionActionWhether the firewall decrypts traffic that matches this scope.final StringWhether the firewall decrypts traffic that matches this scope.The type of firewall that this scope applies to.final StringThe type of firewall that this scope applies to.The destination ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation.final DomainMatchThe domains that this scope matches, based on the host name in the client's HTTP CONNECT request.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the DestinationPorts property.final booleanFor responses, this returns true if the service returned a value for the Destinations property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the Protocols property.final booleanFor responses, this returns true if the service returned a value for the SourcePorts property.final booleanFor responses, this returns true if the service returned a value for the Sources property.The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol.static Class<? extends ServerCertificateScope.Builder> The source ports to decrypt for inspection, in Transmission Control Protocol (TCP) format.sources()The source IP addresses and address ranges to decrypt for inspection, in CIDR notation.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
hasSources
public final boolean hasSources()For responses, this returns true if the service returned a value for the Sources property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
sources
The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSources()method.- Returns:
- The source IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any source address.
-
hasDestinations
public final boolean hasDestinations()For responses, this returns true if the service returned a value for the Destinations property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
destinations
The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDestinations()method.- Returns:
- The destination IP addresses and address ranges to decrypt for inspection, in CIDR notation. If not specified, this matches with any destination address.
-
hasSourcePorts
public final boolean hasSourcePorts()For responses, this returns true if the service returned a value for the SourcePorts property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasSourcePorts()method.- Returns:
- 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.
-
hasDestinationPorts
public final boolean hasDestinationPorts()For responses, this returns true if the service returned a value for the DestinationPorts property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDestinationPorts()method.- Returns:
- 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.
-
hasProtocols
public final boolean hasProtocols()For responses, this returns true if the service returned a value for the Protocols property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasProtocols()method.- Returns:
- 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.
-
domainMatch
The domains that this scope matches, based on the host name in the client's HTTP CONNECT request. Domain matching applies only to proxy mode firewalls. If you specify
DomainMatch, you must setDeploymentModetoEXPLICIT_PROXY_ONLY. If you don't specifyDomainMatch, the scope matches traffic by its source, destination, ports, and protocols only.- Returns:
- The domains that this scope matches, based on the host name in the client's HTTP CONNECT request. Domain
matching applies only to proxy mode firewalls. If you specify
DomainMatch, you must setDeploymentModetoEXPLICIT_PROXY_ONLY. If you don't specifyDomainMatch, the scope matches traffic by its source, destination, ports, and protocols only.
-
decryptionAction
Whether the firewall decrypts traffic that matches this scope. You can choose from the following values:
-
DECRYPT- The firewall decrypts the traffic for inspection. -
BYPASS- The firewall doesn't decrypt the traffic.
If the service returns an enum value that is not available in the current SDK version,
decryptionActionwill returnDecryptionAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdecryptionActionAsString().- Returns:
- Whether the firewall decrypts traffic that matches this scope. You can choose from the following
values:
-
DECRYPT- The firewall decrypts the traffic for inspection. -
BYPASS- The firewall doesn't decrypt the traffic.
-
- See Also:
-
-
decryptionActionAsString
Whether the firewall decrypts traffic that matches this scope. You can choose from the following values:
-
DECRYPT- The firewall decrypts the traffic for inspection. -
BYPASS- The firewall doesn't decrypt the traffic.
If the service returns an enum value that is not available in the current SDK version,
decryptionActionwill returnDecryptionAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdecryptionActionAsString().- Returns:
- Whether the firewall decrypts traffic that matches this scope. You can choose from the following
values:
-
DECRYPT- The firewall decrypts the traffic for inspection. -
BYPASS- The firewall doesn't decrypt the traffic.
-
- See Also:
-
-
deploymentMode
The type of firewall that this scope applies to. If you don't specify a value, the scope applies to both types, the same as
ALL. You can choose from the following values:-
ALL- The scope applies to both transparent firewalls and proxy mode firewalls. -
TRANSPARENT_FIREWALL_ONLY- The scope applies only to transparent firewalls. -
EXPLICIT_PROXY_ONLY- The scope applies only to proxy mode firewalls. A scope that specifiesDomainMatchmust use this value.
If the service returns an enum value that is not available in the current SDK version,
deploymentModewill returnTLSInspectionScopeDeploymentMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentModeAsString().- Returns:
- The type of firewall that this scope applies to. If you don't specify a value, the scope applies to both
types, the same as
ALL. You can choose from the following values:-
ALL- The scope applies to both transparent firewalls and proxy mode firewalls. -
TRANSPARENT_FIREWALL_ONLY- The scope applies only to transparent firewalls. -
EXPLICIT_PROXY_ONLY- The scope applies only to proxy mode firewalls. A scope that specifiesDomainMatchmust use this value.
-
- See Also:
-
-
deploymentModeAsString
The type of firewall that this scope applies to. If you don't specify a value, the scope applies to both types, the same as
ALL. You can choose from the following values:-
ALL- The scope applies to both transparent firewalls and proxy mode firewalls. -
TRANSPARENT_FIREWALL_ONLY- The scope applies only to transparent firewalls. -
EXPLICIT_PROXY_ONLY- The scope applies only to proxy mode firewalls. A scope that specifiesDomainMatchmust use this value.
If the service returns an enum value that is not available in the current SDK version,
deploymentModewill returnTLSInspectionScopeDeploymentMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentModeAsString().- Returns:
- The type of firewall that this scope applies to. If you don't specify a value, the scope applies to both
types, the same as
ALL. You can choose from the following values:-
ALL- The scope applies to both transparent firewalls and proxy mode firewalls. -
TRANSPARENT_FIREWALL_ONLY- The scope applies only to transparent firewalls. -
EXPLICIT_PROXY_ONLY- The scope applies only to proxy mode firewalls. A scope that specifiesDomainMatchmust use this value.
-
- See Also:
-
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ServerCertificateScope.Builder,ServerCertificateScope> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-