Class ListPatchesRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<Void>
- 
- com.oracle.bmc.fleetappsmanagement.requests.ListPatchesRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20250228") public class ListPatchesRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/fleetappsmanagement/ListPatchesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListPatchesRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classListPatchesRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description ListPatchesRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListPatchesRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetCompartmentId()The ID of the compartment in which to list resources.StringgetId()Unique identifier or OCID for listing a single Patch by id.Patch.LifecycleStategetLifecycleState()The current state of the Patch.IntegergetLimit()The maximum number of items to return.StringgetName()A filter to return only resources that match the entire name given.StringgetOpcRequestId()The client request ID for tracing.StringgetPage()A token representing the position at which to start retrieving results.StringgetPatchTypeId()Patch Type platformConfigurationId associated with the Patch.StringgetProductId()Product platformConfigurationId associated with the Patch.BooleangetShouldCompliancePolicyRulesBeApplied()Filter patch based on compliance policy rules for the Product.PatchSortBygetSortBy()The field to sort by.SortOrdergetSortOrder()The sort order to use, either ‘ASC’ or ‘DESC’.DategetTimeReleasedGreaterThanOrEqualTo()A filter to return patches whose release date is greater than or equal to the given date.DategetTimeReleasedLessThan()A filter to return patches whose release date is less than the given date.Patch.TypegetType()DefinedBy type.StringgetVersion()Product version.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListPatchesRequest.BuildertoBuilder()Return an instance ofListPatchesRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getCompartmentIdpublic String getCompartmentId() The ID of the compartment in which to list resources.Empty only if the resource OCID query param is not specified. 
 - 
getProductIdpublic String getProductId() Product platformConfigurationId associated with the Patch.
 - 
getVersionpublic String getVersion() Product version.
 - 
getTypepublic Patch.Type getType() DefinedBy type.
 - 
getPatchTypeIdpublic String getPatchTypeId() Patch Type platformConfigurationId associated with the Patch.
 - 
getNamepublic String getName() A filter to return only resources that match the entire name given.
 - 
getIdpublic String getId() Unique identifier or OCID for listing a single Patch by id.Either compartmentId or id must be provided. 
 - 
getTimeReleasedGreaterThanOrEqualTopublic Date getTimeReleasedGreaterThanOrEqualTo() A filter to return patches whose release date is greater than or equal to the given date.
 - 
getTimeReleasedLessThanpublic Date getTimeReleasedLessThan() A filter to return patches whose release date is less than the given date.
 - 
getShouldCompliancePolicyRulesBeAppliedpublic Boolean getShouldCompliancePolicyRulesBeApplied() Filter patch based on compliance policy rules for the Product.
 - 
getLimitpublic Integer getLimit() The maximum number of items to return.
 - 
getPagepublic String getPage() A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response. 
 - 
getLifecycleStatepublic Patch.LifecycleState getLifecycleState() The current state of the Patch.
 - 
getSortBypublic PatchSortBy getSortBy() The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for name is ascending. 
 - 
getSortOrderpublic SortOrder getSortOrder() The sort order to use, either ‘ASC’ or ‘DESC’.
 - 
getOpcRequestIdpublic String getOpcRequestId() The client request ID for tracing.
 - 
toBuilderpublic ListPatchesRequest.Builder toBuilder() Return an instance ofListPatchesRequest.Builderthat allows you to modify request properties.- Returns:
- instance of ListPatchesRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static ListPatchesRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<Void>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<Void>
 
 
- 
 
-