@Generated(value="OracleSDKGenerator", comments="API Version: 20190325") public final class UpdateCustomPropertyDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Properties used in custom atrribute update operations.
Note: Objects should always be created or deserialized using the UpdateCustomPropertyDetails.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 UpdateCustomPropertyDetails.Builder
, which maintain a
set of all explicitly set fields called UpdateCustomPropertyDetails.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 |
UpdateCustomPropertyDetails.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
UpdateCustomPropertyDetails(String displayName,
String description,
Boolean isSortable,
Boolean isFilterable,
Boolean isMultiValued,
Boolean isHidden,
Boolean isEditable,
Boolean isShownInList,
Boolean isHiddenInSearch,
Boolean isEventEnabled,
List<String> allowedValues,
Map<String,Map<String,String>> properties)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static UpdateCustomPropertyDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<String> |
getAllowedValues()
Allowed values for the custom property if any
|
String |
getDescription()
Detailed description of the data asset.
|
String |
getDisplayName()
A user-friendly display name.
|
Boolean |
getIsEditable()
If this field is a editable field
|
Boolean |
getIsEventEnabled()
If an OCI Event will be emitted when the custom property is modified.
|
Boolean |
getIsFilterable()
If this field allows to filter or create facets from UI
|
Boolean |
getIsHidden()
If this field is a hidden field
|
Boolean |
getIsHiddenInSearch()
If this field is allowed to pop in search results
|
Boolean |
getIsMultiValued()
If this field allows multiple values to be set
|
Boolean |
getIsShownInList()
If this field is displayed in a list view of applicable objects.
|
Boolean |
getIsSortable()
If this field allows to sort from UI
|
Map<String,Map<String,String>> |
getProperties()
A map of maps that contains the properties which are specific to the asset type.
|
int |
hashCode() |
UpdateCustomPropertyDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"displayName","description","isSortable","isFilterable","isMultiValued","isHidden","isEditable","isShownInList","isHiddenInSearch","isEventEnabled","allowedValues","properties"}) public UpdateCustomPropertyDetails(String displayName, String description, Boolean isSortable, Boolean isFilterable, Boolean isMultiValued, Boolean isHidden, Boolean isEditable, Boolean isShownInList, Boolean isHiddenInSearch, Boolean isEventEnabled, List<String> allowedValues, Map<String,Map<String,String>> properties)
public static UpdateCustomPropertyDetails.Builder builder()
Create a new builder.
public UpdateCustomPropertyDetails.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 getDescription()
Detailed description of the data asset.
public Boolean getIsSortable()
If this field allows to sort from UI
public Boolean getIsFilterable()
If this field allows to filter or create facets from UI
public Boolean getIsMultiValued()
If this field allows multiple values to be set
public Boolean getIsHidden()
If this field is a hidden field
public Boolean getIsEditable()
If this field is a editable field
public Boolean getIsShownInList()
If this field is displayed in a list view of applicable objects.
public Boolean getIsHiddenInSearch()
If this field is allowed to pop in search results
public Boolean getIsEventEnabled()
If an OCI Event will be emitted when the custom property is modified.
public List<String> getAllowedValues()
Allowed values for the custom property if any
public Map<String,Map<String,String>> getProperties()
A map of maps that contains the properties which are specific to the asset type. Each data
asset 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 data assets have required properties within the
“default” category. Example: {"properties": { "default": { "host": "host1", "port":
"1521", "database": "orcl"}}}
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.