public static class SearchMonitoredResourcesDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SearchMonitoredResourcesDetails |
build() |
SearchMonitoredResourcesDetails.Builder |
compartmentId(String compartmentId)
Compartment Identifier
OCID.
|
SearchMonitoredResourcesDetails.Builder |
compartmentIds(List<String> compartmentIds)
Multiple compartment identifiers
OCID.
|
SearchMonitoredResourcesDetails.Builder |
copy(SearchMonitoredResourcesDetails model) |
SearchMonitoredResourcesDetails.Builder |
externalId(String externalId)
External resource is any OCI resource identifier
OCID which is
not a Stack Monitoring service resource.
|
SearchMonitoredResourcesDetails.Builder |
hostName(String hostName)
A filter to return resources with host name match.
|
SearchMonitoredResourcesDetails.Builder |
hostNameContains(String hostNameContains)
A filter to return resources with host name pattern.
|
SearchMonitoredResourcesDetails.Builder |
license(LicenseType license)
License edition of the monitored resource.
|
SearchMonitoredResourcesDetails.Builder |
lifecycleState(ResourceLifecycleState lifecycleState)
A filter to return resources with matching lifecycle state.
|
SearchMonitoredResourcesDetails.Builder |
lifecycleStates(List<ResourceLifecycleState> lifecycleStates)
Multiple lifecycle states filter.
|
SearchMonitoredResourcesDetails.Builder |
managementAgentId(String managementAgentId)
A filter to return resources with matching management agent id.
|
SearchMonitoredResourcesDetails.Builder |
name(String name)
A filter to return resources that match exact resource name.
|
SearchMonitoredResourcesDetails.Builder |
nameContains(String nameContains)
A filter to return resources that match resource name pattern given.
|
SearchMonitoredResourcesDetails.Builder |
propertyEquals(Map<String,String> propertyEquals)
Criteria based on resource property.
|
SearchMonitoredResourcesDetails.Builder |
resourceCategory(ResourceCategory resourceCategory)
Resource category filter.
|
SearchMonitoredResourcesDetails.Builder |
resourceTimeZone(String resourceTimeZone)
Time zone in the form of tz database canonical zone ID.
|
SearchMonitoredResourcesDetails.Builder |
sortBy(SearchMonitoredResourcesDetails.SortBy sortBy)
The field to sort by.
|
SearchMonitoredResourcesDetails.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
SearchMonitoredResourcesDetails.Builder |
sourceType(SourceType sourceType)
Source type filter.
|
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).
|
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).
|
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).
|
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).
|
SearchMonitoredResourcesDetails.Builder |
type(String type)
A filter to return resources that match resource type.
|
public SearchMonitoredResourcesDetails.Builder compartmentId(String compartmentId)
Compartment Identifier OCID.
compartmentId
- the value to setpublic SearchMonitoredResourcesDetails.Builder compartmentIds(List<String> compartmentIds)
Multiple compartment identifiers OCID.
compartmentIds
- the value to setpublic SearchMonitoredResourcesDetails.Builder lifecycleStates(List<ResourceLifecycleState> lifecycleStates)
Multiple lifecycle states filter.
lifecycleStates
- the value to setpublic SearchMonitoredResourcesDetails.Builder sourceType(SourceType sourceType)
Source type filter.
sourceType
- the value to setpublic SearchMonitoredResourcesDetails.Builder resourceCategory(ResourceCategory resourceCategory)
Resource category filter.
resourceCategory
- the value to setpublic SearchMonitoredResourcesDetails.Builder name(String name)
A filter to return resources that match exact resource name.
name
- the value to setpublic SearchMonitoredResourcesDetails.Builder nameContains(String nameContains)
A filter to return resources that match resource name pattern given. The match is not case sensitive.
nameContains
- the value to setpublic SearchMonitoredResourcesDetails.Builder type(String type)
A filter to return resources that match resource type.
type
- the value to setpublic SearchMonitoredResourcesDetails.Builder hostName(String hostName)
A filter to return resources with host name match.
hostName
- the value to setpublic 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
externalId
- the value to setpublic SearchMonitoredResourcesDetails.Builder hostNameContains(String hostNameContains)
A filter to return resources with host name pattern.
hostNameContains
- the value to setpublic SearchMonitoredResourcesDetails.Builder managementAgentId(String managementAgentId)
A filter to return resources with matching management agent id.
managementAgentId
- the value to setpublic SearchMonitoredResourcesDetails.Builder lifecycleState(ResourceLifecycleState lifecycleState)
A filter to return resources with matching lifecycle state.
lifecycleState
- the value to setpublic SearchMonitoredResourcesDetails.Builder license(LicenseType license)
License edition of the monitored resource.
license
- the value to setpublic 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
timeCreatedGreaterThanOrEqualTo
- the value to setpublic 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
timeCreatedLessThan
- the value to setpublic 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
timeUpdatedGreaterThanOrEqualTo
- the value to setpublic 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
timeUpdatedLessThan
- the value to setpublic 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
resourceTimeZone
- the value to setpublic SearchMonitoredResourcesDetails.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic SearchMonitoredResourcesDetails.Builder sortBy(SearchMonitoredResourcesDetails.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for resources is ascending.
sortBy
- the value to setpublic SearchMonitoredResourcesDetails.Builder propertyEquals(Map<String,String> propertyEquals)
Criteria based on resource property.
propertyEquals
- the value to setpublic SearchMonitoredResourcesDetails build()
public SearchMonitoredResourcesDetails.Builder copy(SearchMonitoredResourcesDetails model)
Copyright © 2016–2024. All rights reserved.