Class SimpleUrlPattern
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.networkfirewall.model.UrlPattern
- 
- com.oracle.bmc.networkfirewall.model.SimpleUrlPattern
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20230501") public final class SimpleUrlPattern extends UrlPatternPattern describing an http/https URL or set thereof as a concatenation of optional host component and optional path component.*.example.com will match http://example.com/ and https://foo.example.com/foo?bar. www.example.com/foo* will match https://www.example.com/foo and http://www.exampe.com/foobar and https://www.example.com/foo/bar?baz, but not http://sub.www.example.com/foo or https://www.example.com/FOO. *.example.com/foo* will match http://example.com/foo and https://sub2.sub.example.com/foo/bar?baz, but not http://example.com/FOO. 
 Note: Objects should always be created or deserialized using theSimpleUrlPattern.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theSimpleUrlPattern.Builder, which maintain a set of all explicitly set fields calledSimpleUrlPattern.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classSimpleUrlPattern.Builder- 
Nested classes/interfaces inherited from class com.oracle.bmc.networkfirewall.model.UrlPatternUrlPattern.Type
 
- 
 - 
Constructor SummaryConstructors Constructor Description SimpleUrlPattern(String pattern)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimpleUrlPattern.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetPattern()A string consisting of a concatenation of optional host component and optional path component.inthashCode()SimpleUrlPattern.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SimpleUrlPattern@Deprecated public SimpleUrlPattern(String pattern) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SimpleUrlPattern.Builder builder() Create a new builder.
 - 
toBuilderpublic SimpleUrlPattern.Builder toBuilder() 
 - 
getPatternpublic String getPattern() A string consisting of a concatenation of optional host component and optional path component.The host component may start with *. to match the case-insensitive domain and all its subdomains. The path component must start with a /, and may end with - to match all paths of which it is a case-sensitive prefix. A missing host component matches all request domains, and a missing path component matches all request paths. An empty value matches all requests.
 - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- UrlPattern
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- UrlPattern
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- UrlPattern
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- UrlPattern
 
 
- 
 
-