Class SearchMonitoredResourcesDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • nameContains

        public SearchMonitoredResourcesDetails.Builder nameContains​(String nameContains)
        A filter to return resources that match resource name pattern given.

        The match is not case sensitive.

        Parameters:
        nameContains - the value to set
        Returns:
        this builder
      • externalId

        public SearchMonitoredResourcesDetails.Builder externalId​(String externalId)
        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.
        Parameters:
        externalId - the value to set
        Returns:
        this builder
      • hostNameContains

        public SearchMonitoredResourcesDetails.Builder hostNameContains​(String hostNameContains)
        A filter to return resources with host name pattern.
        Parameters:
        hostNameContains - the value to set
        Returns:
        this builder
      • managementAgentId

        public SearchMonitoredResourcesDetails.Builder managementAgentId​(String managementAgentId)
        A filter to return resources with matching management agent id.
        Parameters:
        managementAgentId - the value to set
        Returns:
        this builder
      • timeCreatedGreaterThanOrEqualTo

        public SearchMonitoredResourcesDetails.Builder timeCreatedGreaterThanOrEqualTo​(Date timeCreatedGreaterThanOrEqualTo)
        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

        Parameters:
        timeCreatedGreaterThanOrEqualTo - the value to set
        Returns:
        this builder
      • timeCreatedLessThan

        public SearchMonitoredResourcesDetails.Builder timeCreatedLessThan​(Date timeCreatedLessThan)
        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

        Parameters:
        timeCreatedLessThan - the value to set
        Returns:
        this builder
      • timeUpdatedGreaterThanOrEqualTo

        public SearchMonitoredResourcesDetails.Builder timeUpdatedGreaterThanOrEqualTo​(Date timeUpdatedGreaterThanOrEqualTo)
        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

        Parameters:
        timeUpdatedGreaterThanOrEqualTo - the value to set
        Returns:
        this builder
      • timeUpdatedLessThan

        public SearchMonitoredResourcesDetails.Builder timeUpdatedLessThan​(Date timeUpdatedLessThan)
        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

        Parameters:
        timeUpdatedLessThan - the value to set
        Returns:
        this builder
      • resourceTimeZone

        public SearchMonitoredResourcesDetails.Builder resourceTimeZone​(String resourceTimeZone)
        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

        Parameters:
        resourceTimeZone - the value to set
        Returns:
        this builder