Class SearchMonitoredResourcesDetails


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20210330")
    public final class SearchMonitoredResourcesDetails
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The property search criteria for listing monitored resources.
    Note: Objects should always be created or deserialized using the SearchMonitoredResourcesDetails.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 SearchMonitoredResourcesDetails.Builder, which maintain a set of all explicitly set fields called SearchMonitoredResourcesDetails.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).
    • Method Detail

      • getCompartmentId

        public String getCompartmentId()
        Compartment Identifier OCID.
        Returns:
        the value
      • getCompartmentIds

        public List<String> getCompartmentIds()
        Multiple compartment identifiers OCID.
        Returns:
        the value
      • getLifecycleStates

        public List<ResourceLifecycleState> getLifecycleStates()
        Multiple lifecycle states filter.
        Returns:
        the value
      • getSourceType

        public SourceType getSourceType()
        Source type filter.
        Returns:
        the value
      • getResourceCategory

        public ResourceCategory getResourceCategory()
        Resource category filter.
        Returns:
        the value
      • getName

        public String getName()
        A filter to return resources that match exact resource name.
        Returns:
        the value
      • getNameContains

        public String getNameContains()
        A filter to return resources that match resource name pattern given.

        The match is not case sensitive.

        Returns:
        the value
      • getType

        public String getType()
        A filter to return resources that match resource type.
        Returns:
        the value
      • getHostName

        public String getHostName()
        A filter to return resources with host name match.
        Returns:
        the value
      • getExternalId

        public String getExternalId()
        External resource is any OCI resource identifier OCID which is not a Stack Monitoring service resource.

        Currently supports only following resource types - Container database, non-container database, pluggable database and OCI compute instance.

        Returns:
        the value
      • getHostNameContains

        public String getHostNameContains()
        A filter to return resources with host name pattern.
        Returns:
        the value
      • getManagementAgentId

        public String getManagementAgentId()
        A filter to return resources with matching management agent id.
        Returns:
        the value
      • getLifecycleState

        public ResourceLifecycleState getLifecycleState()
        A filter to return resources with matching lifecycle state.
        Returns:
        the value
      • getLicense

        public LicenseType getLicense()
        License edition of the monitored resource.
        Returns:
        the value
      • getTimeCreatedGreaterThanOrEqualTo

        public Date getTimeCreatedGreaterThanOrEqualTo()
        Search for resources that were created within a specific date range, using this parameter to specify the earliest creation date for the returned list (inclusive).

        Specifying this parameter without the corresponding timeCreatedLessThan parameter will retrieve resources created from the given timeCreatedGreaterThanOrEqualTo to the current time, in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339.

        *Example:** 2016-12-19T16:39:57.600Z

        Returns:
        the value
      • getTimeCreatedLessThan

        public Date getTimeCreatedLessThan()
        Search for resources that were created within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive).

        Specifying this parameter without the corresponding timeCreatedGreaterThanOrEqualTo parameter will retrieve all resources created before the specified end date, in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339.

        *Example:** 2016-12-19T16:39:57.600Z

        Returns:
        the value
      • getTimeUpdatedGreaterThanOrEqualTo

        public Date getTimeUpdatedGreaterThanOrEqualTo()
        Search for resources that were updated within a specific date range, using this parameter to specify the earliest update date for the returned list (inclusive).

        Specifying this parameter without the corresponding timeUpdatedLessThan parameter will retrieve resources updated from the given timeUpdatedGreaterThanOrEqualTo to the current time, in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339.

        *Example:** 2016-12-19T16:39:57.600Z

        Returns:
        the value
      • getTimeUpdatedLessThan

        public Date getTimeUpdatedLessThan()
        Search for resources that were updated within a specific date range, using this parameter to specify the latest creation date for the returned list (exclusive).

        Specifying this parameter without the corresponding timeUpdatedGreaterThanOrEqualTo parameter will retrieve all resources updated before the specified end date, in “YYYY-MM-ddThh:mmZ” format with a Z offset, as defined by RFC 3339.

        *Example:** 2016-12-19T16:39:57.600Z

        Returns:
        the value
      • getResourceTimeZone

        public String getResourceTimeZone()
        Time zone in the form of tz database canonical zone ID.

        Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles

        Returns:
        the value
      • getSortOrder

        public SortOrder getSortOrder()
        The sort order to use, either ‘ASC’ or ‘DESC’.
        Returns:
        the value
      • getSortBy

        public SearchMonitoredResourcesDetails.SortBy getSortBy()
        The field to sort by.

        Only one sort order may be provided. Default order for timeCreated is descending. Default order for resources is ascending.

        Returns:
        the value
      • getPropertyEquals

        public Map<String,​String> getPropertyEquals()
        Criteria based on resource property.
        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel