Class CreateManagementSavedSearchDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.managementdashboard.model.CreateManagementSavedSearchDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200901") public final class CreateManagementSavedSearchDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProperties of a saved search.
Note: Objects should always be created or deserialized using theCreateManagementSavedSearchDetails.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 theCreateManagementSavedSearchDetails.Builder, which maintain a set of all explicitly set fields calledCreateManagementSavedSearchDetails.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 classCreateManagementSavedSearchDetails.Builder
-
Constructor Summary
Constructors Constructor Description CreateManagementSavedSearchDetails(String id, String displayName, String providerId, String providerVersion, String providerName, String compartmentId, Boolean isOobSavedSearch, String description, Object nls, SavedSearchTypes type, Object uiConfig, List<Object> dataConfig, String screenImage, String metadataVersion, String widgetTemplate, String widgetVM, List<Object> parametersConfig, Object featuresConfig, List<Object> drilldownConfig, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateManagementSavedSearchDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()OCID of the compartment in which the saved search resides.List<Object>getDataConfig()It defines how data is fetched.Map<String,Map<String,Object>>getDefinedTags()Defined tags for this resource.StringgetDescription()Description of the saved search.StringgetDisplayName()Display name of the saved search.List<Object>getDrilldownConfig()Drill-down configuration to define the destination of a drill-down action.ObjectgetFeaturesConfig()Contains configuration for enabling features.Map<String,String>getFreeformTags()Simple key-value pair that is applied without any predefined name, type or scope.StringgetId()ID of the saved search, which must only be provided for Out-of-the-Box (OOB) saved search.BooleangetIsOobSavedSearch()Determines whether the saved search is an Out-of-the-Box (OOB) saved search.StringgetMetadataVersion()The version of the metadata defined in the API.ObjectgetNls()JSON that contains internationalization options.List<Object>getParametersConfig()Defines parameters for the saved search.StringgetProviderId()ID of the service (for example log-analytics) that owns the saved search.StringgetProviderName()The user friendly name of the service (for example, Logging Analytics) that owns the saved search.StringgetProviderVersion()The version of the metadata of the provider.StringgetScreenImage()Screen image of the saved search.SavedSearchTypesgetType()Determines how the saved search is displayed in a dashboard.ObjectgetUiConfig()It defines the visualization type of the widget saved search, the UI options of that visualization type, the binding of data to the visualization.StringgetWidgetTemplate()The UI template that the saved search uses to render itself.StringgetWidgetVM()The View Model that the saved search uses to render itself.inthashCode()CreateManagementSavedSearchDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
CreateManagementSavedSearchDetails
@Deprecated @ConstructorProperties({"id","displayName","providerId","providerVersion","providerName","compartmentId","isOobSavedSearch","description","nls","type","uiConfig","dataConfig","screenImage","metadataVersion","widgetTemplate","widgetVM","parametersConfig","featuresConfig","drilldownConfig","freeformTags","definedTags"}) public CreateManagementSavedSearchDetails(String id, String displayName, String providerId, String providerVersion, String providerName, String compartmentId, Boolean isOobSavedSearch, String description, Object nls, SavedSearchTypes type, Object uiConfig, List<Object> dataConfig, String screenImage, String metadataVersion, String widgetTemplate, String widgetVM, List<Object> parametersConfig, Object featuresConfig, List<Object> drilldownConfig, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static CreateManagementSavedSearchDetails.Builder builder()
Create a new builder.
-
toBuilder
public CreateManagementSavedSearchDetails.Builder toBuilder()
-
getId
public String getId()
ID of the saved search, which must only be provided for Out-of-the-Box (OOB) saved search.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Display name of the saved search.- Returns:
- the value
-
getProviderId
public String getProviderId()
ID of the service (for example log-analytics) that owns the saved search.Each service has a unique ID.
- Returns:
- the value
-
getProviderVersion
public String getProviderVersion()
The version of the metadata of the provider.This is useful for provider to version its features and metadata. Any newly created saved search (or dashboard) should use providerVersion 3.0.0.
- Returns:
- the value
-
getProviderName
public String getProviderName()
The user friendly name of the service (for example, Logging Analytics) that owns the saved search.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
OCID of the compartment in which the saved search resides.- Returns:
- the value
-
getIsOobSavedSearch
public Boolean getIsOobSavedSearch()
Determines whether the saved search is an Out-of-the-Box (OOB) saved search.Note that OOB saved searches are only provided by Oracle and cannot be modified.
- Returns:
- the value
-
getDescription
public String getDescription()
Description of the saved search.- Returns:
- the value
-
getNls
public Object getNls()
JSON that contains internationalization options.- Returns:
- the value
-
getType
public SavedSearchTypes getType()
Determines how the saved search is displayed in a dashboard.- Returns:
- the value
-
getUiConfig
public Object getUiConfig()
It defines the visualization type of the widget saved search, the UI options of that visualization type, the binding of data to the visualization.- Returns:
- the value
-
getDataConfig
public List<Object> getDataConfig()
It defines how data is fetched.A functional saved search needs a valid dataConfig. See examples on how it can be constructed for various data sources.
- Returns:
- the value
-
getScreenImage
public String getScreenImage()
Screen image of the saved search.- Returns:
- the value
-
getMetadataVersion
public String getMetadataVersion()
The version of the metadata defined in the API.This is maintained and enforced by dashboard server. Currently it is 2.0.
- Returns:
- the value
-
getWidgetTemplate
public String getWidgetTemplate()
The UI template that the saved search uses to render itself.- Returns:
- the value
-
getWidgetVM
public String getWidgetVM()
The View Model that the saved search uses to render itself.- Returns:
- the value
-
getParametersConfig
public List<Object> getParametersConfig()
Defines parameters for the saved search.- Returns:
- the value
-
getFeaturesConfig
public Object getFeaturesConfig()
Contains configuration for enabling features.- Returns:
- the value
-
getDrilldownConfig
public List<Object> getDrilldownConfig()
Drill-down configuration to define the destination of a drill-down action.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-