Class SearchMonitoredResourcesDetails
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.stackmonitoring.model.SearchMonitoredResourcesDetails
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210330") public final class SearchMonitoredResourcesDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe property search criteria for listing monitored resources.
 Note: Objects should always be created or deserialized using theSearchMonitoredResourcesDetails.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 theSearchMonitoredResourcesDetails.Builder, which maintain a set of all explicitly set fields calledSearchMonitoredResourcesDetails.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 SummaryNested Classes Modifier and Type Class Description static classSearchMonitoredResourcesDetails.Builderstatic classSearchMonitoredResourcesDetails.SortByThe field to sort by.
 - 
Constructor SummaryConstructors Constructor Description SearchMonitoredResourcesDetails(String compartmentId, List<String> compartmentIds, List<ResourceLifecycleState> lifecycleStates, SourceType sourceType, ResourceCategory resourceCategory, String name, String nameContains, String type, String hostName, String externalId, String hostNameContains, String managementAgentId, ResourceLifecycleState lifecycleState, LicenseType license, Date timeCreatedGreaterThanOrEqualTo, Date timeCreatedLessThan, Date timeUpdatedGreaterThanOrEqualTo, Date timeUpdatedLessThan, String resourceTimeZone, SortOrder sortOrder, SearchMonitoredResourcesDetails.SortBy sortBy, Map<String,String> propertyEquals)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SearchMonitoredResourcesDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()Compartment Identifier OCID.List<String>getCompartmentIds()Multiple compartment identifiers OCID.StringgetExternalId()External resource is any OCI resource identifier OCID which is not a Stack Monitoring service resource.StringgetHostName()A filter to return resources with host name match.StringgetHostNameContains()A filter to return resources with host name pattern.LicenseTypegetLicense()License edition of the monitored resource.ResourceLifecycleStategetLifecycleState()A filter to return resources with matching lifecycle state.List<ResourceLifecycleState>getLifecycleStates()Multiple lifecycle states filter.StringgetManagementAgentId()A filter to return resources with matching management agent id.StringgetName()A filter to return resources that match exact resource name.StringgetNameContains()A filter to return resources that match resource name pattern given.Map<String,String>getPropertyEquals()Criteria based on resource property.ResourceCategorygetResourceCategory()Resource category filter.StringgetResourceTimeZone()Time zone in the form of tz database canonical zone ID.SearchMonitoredResourcesDetails.SortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.SourceTypegetSourceType()Source type filter.DategetTimeCreatedGreaterThanOrEqualTo()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).DategetTimeCreatedLessThan()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).DategetTimeUpdatedGreaterThanOrEqualTo()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).DategetTimeUpdatedLessThan()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).StringgetType()A filter to return resources that match resource type.inthashCode()SearchMonitoredResourcesDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
SearchMonitoredResourcesDetails@Deprecated @ConstructorProperties({"compartmentId","compartmentIds","lifecycleStates","sourceType","resourceCategory","name","nameContains","type","hostName","externalId","hostNameContains","managementAgentId","lifecycleState","license","timeCreatedGreaterThanOrEqualTo","timeCreatedLessThan","timeUpdatedGreaterThanOrEqualTo","timeUpdatedLessThan","resourceTimeZone","sortOrder","sortBy","propertyEquals"}) public SearchMonitoredResourcesDetails(String compartmentId, List<String> compartmentIds, List<ResourceLifecycleState> lifecycleStates, SourceType sourceType, ResourceCategory resourceCategory, String name, String nameContains, String type, String hostName, String externalId, String hostNameContains, String managementAgentId, ResourceLifecycleState lifecycleState, LicenseType license, Date timeCreatedGreaterThanOrEqualTo, Date timeCreatedLessThan, Date timeUpdatedGreaterThanOrEqualTo, Date timeUpdatedLessThan, String resourceTimeZone, SortOrder sortOrder, SearchMonitoredResourcesDetails.SortBy sortBy, Map<String,String> propertyEquals) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static SearchMonitoredResourcesDetails.Builder builder() Create a new builder.
 - 
toBuilderpublic SearchMonitoredResourcesDetails.Builder toBuilder() 
 - 
getCompartmentIdspublic List<String> getCompartmentIds() Multiple compartment identifiers OCID.- Returns:
- the value
 
 - 
getLifecycleStatespublic List<ResourceLifecycleState> getLifecycleStates() Multiple lifecycle states filter.- Returns:
- the value
 
 - 
getSourceTypepublic SourceType getSourceType() Source type filter.- Returns:
- the value
 
 - 
getResourceCategorypublic ResourceCategory getResourceCategory() Resource category filter.- Returns:
- the value
 
 - 
getNamepublic String getName() A filter to return resources that match exact resource name.- Returns:
- the value
 
 - 
getNameContainspublic String getNameContains() A filter to return resources that match resource name pattern given.The match is not case sensitive. - Returns:
- the value
 
 - 
getTypepublic String getType() A filter to return resources that match resource type.- Returns:
- the value
 
 - 
getHostNamepublic String getHostName() A filter to return resources with host name match.- Returns:
- the value
 
 - 
getExternalIdpublic 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
 
 - 
getHostNameContainspublic String getHostNameContains() A filter to return resources with host name pattern.- Returns:
- the value
 
 - 
getManagementAgentIdpublic String getManagementAgentId() A filter to return resources with matching management agent id.- Returns:
- the value
 
 - 
getLifecycleStatepublic ResourceLifecycleState getLifecycleState() A filter to return resources with matching lifecycle state.- Returns:
- the value
 
 - 
getLicensepublic LicenseType getLicense() License edition of the monitored resource.- Returns:
- the value
 
 - 
getTimeCreatedGreaterThanOrEqualTopublic 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
 
 - 
getTimeCreatedLessThanpublic 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
 
 - 
getTimeUpdatedGreaterThanOrEqualTopublic 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
 
 - 
getTimeUpdatedLessThanpublic 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
 
 - 
getResourceTimeZonepublic 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
 
 - 
getSortOrderpublic SortOrder getSortOrder() The sort order to use, either ‘ASC’ or ‘DESC’.- Returns:
- the value
 
 - 
getSortBypublic 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
 
 - 
getPropertyEqualspublic Map<String,String> getPropertyEquals() Criteria based on resource property.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-