Class ManagementSavedSearchSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.managementdashboard.model.ManagementSavedSearchSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200901") public final class ManagementSavedSearchSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Summary of the properties of a saved search.
Note: Objects should always be created or deserialized using theManagementSavedSearchSummary.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 theManagementSavedSearchSummary.Builder
, which maintain a set of all explicitly set fields calledManagementSavedSearchSummary.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 class
ManagementSavedSearchSummary.Builder
-
Constructor Summary
Constructors Constructor Description ManagementSavedSearchSummary(String id, String displayName, Boolean isOobSavedSearch, String compartmentId, String providerId, String providerVersion, String providerName, String description, Object nls, SavedSearchTypes type, Object uiConfig, List<Object> dataConfig, String createdBy, String updatedBy, Date timeCreated, Date timeUpdated, String screenImage, String metadataVersion, String widgetTemplate, String widgetVM, LifecycleStates lifecycleState, List<Object> parametersConfig, Object featuresConfig, 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 ManagementSavedSearchSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
OCID of the compartment in which the saved search resides.String
getCreatedBy()
The principle id of the user that created this saved search.List<Object>
getDataConfig()
It defines how data is fetched.Map<String,Map<String,Object>>
getDefinedTags()
Defined tags for this resource.String
getDescription()
Description of the saved search.String
getDisplayName()
Display name of the saved search.Object
getFeaturesConfig()
Contains configuration for enabling features.Map<String,String>
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.String
getId()
ID of the saved search.Boolean
getIsOobSavedSearch()
Determines whether the saved search is an Out-of-the-Box (OOB) saved search.LifecycleStates
getLifecycleState()
OCI lifecycle status.String
getMetadataVersion()
The version of the metadata defined in the API.Object
getNls()
JSON that contains internationalization options.List<Object>
getParametersConfig()
Defines parameters for the saved search.String
getProviderId()
ID of the service (for example log-analytics) that owns the saved search.String
getProviderName()
The user friendly name of the service (for example, Logging Analytics) that owns the saved search.String
getProviderVersion()
The version of the metadata of the provider.String
getScreenImage()
Screen image of the saved search.Date
getTimeCreated()
Date and time the saved search was created.Date
getTimeUpdated()
Date and time the saved search was updated.SavedSearchTypes
getType()
Determines how the saved search is displayed in a dashboard.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.String
getUpdatedBy()
The principle id of the user that updated this saved searchString
getWidgetTemplate()
The UI template that the saved search uses to render itself.String
getWidgetVM()
The View Model that the saved search uses to render itself.int
hashCode()
ManagementSavedSearchSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagementSavedSearchSummary
@Deprecated @ConstructorProperties({"id","displayName","isOobSavedSearch","compartmentId","providerId","providerVersion","providerName","description","nls","type","uiConfig","dataConfig","createdBy","updatedBy","timeCreated","timeUpdated","screenImage","metadataVersion","widgetTemplate","widgetVM","lifecycleState","parametersConfig","featuresConfig","freeformTags","definedTags"}) public ManagementSavedSearchSummary(String id, String displayName, Boolean isOobSavedSearch, String compartmentId, String providerId, String providerVersion, String providerName, String description, Object nls, SavedSearchTypes type, Object uiConfig, List<Object> dataConfig, String createdBy, String updatedBy, Date timeCreated, Date timeUpdated, String screenImage, String metadataVersion, String widgetTemplate, String widgetVM, LifecycleStates lifecycleState, List<Object> parametersConfig, Object featuresConfig, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
Deprecated.
-
-
Method Detail
-
builder
public static ManagementSavedSearchSummary.Builder builder()
Create a new builder.
-
toBuilder
public ManagementSavedSearchSummary.Builder toBuilder()
-
getId
public String getId()
ID of the saved search.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
Display name of the saved search.- 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
-
getCompartmentId
public String getCompartmentId()
OCID of the compartment in which the saved search resides.- 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
-
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
-
getCreatedBy
public String getCreatedBy()
The principle id of the user that created this saved search.This is automatically managed by the system. In OCI the value is ignored. In EM it can skipped or otherwise it is ignored in both create and update API and system automatically sets its value.
- Returns:
- the value
-
getUpdatedBy
public String getUpdatedBy()
The principle id of the user that updated this saved search- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
Date and time the saved search was created.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
Date and time the saved search was updated.- 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
-
getLifecycleState
public LifecycleStates getLifecycleState()
OCI lifecycle status.This is automatically managed by the system.
- 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
-
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:
toString
in 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:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-