@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class UpdateAttributeDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Properties used in attribute update operations.
Note: Objects should always be created or deserialized using the UpdateAttributeDetails.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 the UpdateAttributeDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateAttributeDetails.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
UpdateAttributeDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateAttributeDetails(String displayName,
String businessName,
String description,
String externalDataType,
Boolean isIncrementalData,
Boolean isNullable,
Long length,
Integer position,
Integer precision,
Integer scale,
Date timeExternal,
Integer minCollectionCount,
Integer maxCollectionCount,
String externalDatatypeEntityKey,
String externalParentAttributeKey,
List<CustomPropertySetUsage> customPropertyMembers,
Map<String,Map<String,String>> properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateAttributeDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getBusinessName()
Optional user friendly business name of the attribute.
|
List<CustomPropertySetUsage> |
getCustomPropertyMembers()
The list of customized properties along with the values for this object
|
String |
getDescription()
Detailed description of the attribute.
|
String |
getDisplayName()
A user-friendly display name.
|
String |
getExternalDataType()
Data type of the attribute as defined in the external system.
|
String |
getExternalDatatypeEntityKey()
External entity key that represents the datatype of this attribute , applicable if this
attribute is a complex type.
|
String |
getExternalParentAttributeKey()
External attribute key that represents the parent attribute of this attribute , applicable if
the parent attribute is of complex type.
|
Boolean |
getIsIncrementalData()
Property that identifies if this attribute can be used as a watermark to extract incremental
data.
|
Boolean |
getIsNullable()
Property that identifies if this attribute can be assigned nullable values.
|
Long |
getLength()
Max allowed length of the attribute value.
|
Integer |
getMaxCollectionCount()
The maximum count for the number of instances of a given type stored in this collection type
attribute,applicable if this attribute is a complex type.
|
Integer |
getMinCollectionCount()
The minimum count for the number of instances of a given type stored in this collection type
attribute,applicable if this attribute is a complex type.
|
Integer |
getPosition()
Position of the attribute in the record definition.
|
Integer |
getPrecision()
Precision of the attribute value usually applies to float data type.
|
Map<String,Map<String,String>> |
getProperties()
A map of maps that contains the properties which are specific to the attribute type.
|
Integer |
getScale()
Scale of the attribute value usually applies to float data type.
|
Date |
getTimeExternal()
Last modified timestamp of this object in the external system.
|
int |
hashCode() |
UpdateAttributeDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","businessName","description","externalDataType","isIncrementalData","isNullable","length","position","precision","scale","timeExternal","minCollectionCount","maxCollectionCount","externalDatatypeEntityKey","externalParentAttributeKey","customPropertyMembers","properties"}) public UpdateAttributeDetails(String displayName, String businessName, String description, String externalDataType, Boolean isIncrementalData, Boolean isNullable, Long length, Integer position, Integer precision, Integer scale, Date timeExternal, Integer minCollectionCount, Integer maxCollectionCount, String externalDatatypeEntityKey, String externalParentAttributeKey, List<CustomPropertySetUsage> customPropertyMembers, Map<String,Map<String,String>> properties)
public static UpdateAttributeDetails.Builder builder()
Create a new builder.
public UpdateAttributeDetails.Builder toBuilder()
public String getDisplayName()
A user-friendly display name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
public String getBusinessName()
Optional user friendly business name of the attribute. If set, this supplements the harvested display name of the object.
public String getDescription()
Detailed description of the attribute.
public String getExternalDataType()
Data type of the attribute as defined in the external system.
public Boolean getIsIncrementalData()
Property that identifies if this attribute can be used as a watermark to extract incremental data.
public Boolean getIsNullable()
Property that identifies if this attribute can be assigned nullable values.
public Long getLength()
Max allowed length of the attribute value.
public Integer getPosition()
Position of the attribute in the record definition.
public Integer getPrecision()
Precision of the attribute value usually applies to float data type.
public Integer getScale()
Scale of the attribute value usually applies to float data type.
public Date getTimeExternal()
Last modified timestamp of this object in the external system.
public Integer getMinCollectionCount()
The minimum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type.
public Integer getMaxCollectionCount()
The maximum count for the number of instances of a given type stored in this collection type attribute,applicable if this attribute is a complex type. For type specifications in systems that specify only “capacity” without upper or lower bound , this property can also be used to just mean “capacity”. Some examples are Varray size in Oracle , Occurs Clause in Cobol , capacity in XmlSchemaObjectCollection , maxOccurs in Xml , maxItems in Json
public String getExternalDatatypeEntityKey()
External entity key that represents the datatype of this attribute , applicable if this attribute is a complex type.
public String getExternalParentAttributeKey()
External attribute key that represents the parent attribute of this attribute , applicable if the parent attribute is of complex type.
public List<CustomPropertySetUsage> getCustomPropertyMembers()
The list of customized properties along with the values for this object
public Map<String,Map<String,String>> getProperties()
A map of maps that contains the properties which are specific to the attribute type. Each
attribute type definition defines it’s set of required and optional properties. The map keys
are category names and the values are maps of property name to property value. Every property
is contained inside of a category. Most attributes have required properties within the
“default” category. To determine the set of required and optional properties for an Attribute
type, a query can be done on ‘/types?type=attribute’ which returns a collection of all
attribute types. The appropriate attribute type, which will include definitions of all of
it’s properties, can be identified from this collection. Example: {"properties": {
"default": { "key1": "value1"}}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.