Class TruncateTableFormatEntry
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.datasafe.model.FormatEntry
-
- com.oracle.bmc.datasafe.model.TruncateTableFormatEntry
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public final class TruncateTableFormatEntry extends FormatEntryThe Truncate Table masking format drops all the rows in a table.If one of the columns in a table is masked using Truncate Table, the entire table is truncated, so no other masking format can be used for any of the other columns in that table. If a table is being truncated, it cannot be referred to by a foreign key constraint or a dependent column. To learn more, check Truncate Table in the Data Safe documentation.
Note: Objects should always be created or deserialized using theTruncateTableFormatEntry.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 theTruncateTableFormatEntry.Builder, which maintain a set of all explicitly set fields calledTruncateTableFormatEntry.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 Summary
Nested Classes Modifier and Type Class Description static classTruncateTableFormatEntry.Builder
-
Constructor Summary
Constructors Constructor Description TruncateTableFormatEntry(String description)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TruncateTableFormatEntry.Builderbuilder()Create a new builder.booleanequals(Object o)inthashCode()TruncateTableFormatEntry.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.datasafe.model.FormatEntry
getDescription
-
-
-
-
Constructor Detail
-
TruncateTableFormatEntry
@Deprecated public TruncateTableFormatEntry(String description)
Deprecated.
-
-
Method Detail
-
builder
public static TruncateTableFormatEntry.Builder builder()
Create a new builder.
-
toBuilder
public TruncateTableFormatEntry.Builder toBuilder()
-
toString
public String toString()
- Overrides:
toStringin classFormatEntry
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classFormatEntry- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classFormatEntry
-
hashCode
public int hashCode()
- Overrides:
hashCodein classFormatEntry
-
-