Class PatternFormatEntry
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.datasafe.model.FormatEntry
- 
- com.oracle.bmc.datasafe.model.PatternFormatEntry
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class PatternFormatEntry extends FormatEntryThe Pattern masking format randomly selects values according to pattern to replace the original values.Rules Max Generated Data Length 30 characters Use ‘%c’ for a random lowercase letter Use ‘%C’ for a random uppercase letter Use ‘%u[]’ for a random character out of all characters enclosed in [] Use ‘%%’ for a ‘%’ Use ‘%d’ for a random digit Use ‘%nd’,‘%nc’, ‘%nC’, or ‘%nu[]’ n random letters or digits or characters enclosed in [], n can be 0-9 only Any other character will be included as it is Examples %3d-%5C will generate 416-JQPCS %3d-%5c will generate 392-dehco %u[$^#] will generate $ %%%3d will generate %704 
 Note: Objects should always be created or deserialized using thePatternFormatEntry.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 thePatternFormatEntry.Builder, which maintain a set of all explicitly set fields calledPatternFormatEntry.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 classPatternFormatEntry.Builder
 - 
Constructor SummaryConstructors Constructor Description PatternFormatEntry(String description, String pattern)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PatternFormatEntry.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetPattern()The pattern that should be used to mask data.inthashCode()PatternFormatEntry.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.datasafe.model.FormatEntrygetDescription
 
- 
 
- 
- 
- 
Constructor Detail- 
PatternFormatEntry@Deprecated public PatternFormatEntry(String description, String pattern) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static PatternFormatEntry.Builder builder() Create a new builder.
 - 
toBuilderpublic PatternFormatEntry.Builder toBuilder() 
 - 
getPatternpublic String getPattern() The pattern that should be used to mask data.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- FormatEntry
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- FormatEntry
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- FormatEntry
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- FormatEntry
 
 
- 
 
-