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/latest/fleetappsmanagement/ListPatchesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListPatchesRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListPatchesRequest.Builder
-
Constructor Summary
Constructors Constructor Description ListPatchesRequest()
-
Method Summary
All 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.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getCompartmentId
public String getCompartmentId()
The ID of the compartment in which to list resources.Empty only if the resource OCID query param is not specified.
-
getProductId
public String getProductId()
Product platformConfigurationId associated with the Patch.
-
getVersion
public String getVersion()
Product version.
-
getType
public Patch.Type getType()
DefinedBy type.
-
getPatchTypeId
public String getPatchTypeId()
Patch Type platformConfigurationId associated with the Patch.
-
getName
public String getName()
A filter to return only resources that match the entire name given.
-
getId
public String getId()
Unique identifier or OCID for listing a single Patch by id.Either compartmentId or id must be provided.
-
getTimeReleasedGreaterThanOrEqualTo
public Date getTimeReleasedGreaterThanOrEqualTo()
A filter to return patches whose release date is greater than or equal to the given date.
-
getTimeReleasedLessThan
public Date getTimeReleasedLessThan()
A filter to return patches whose release date is less than the given date.
-
getShouldCompliancePolicyRulesBeApplied
public Boolean getShouldCompliancePolicyRulesBeApplied()
Filter patch based on compliance policy rules for the Product.
-
getLimit
public Integer getLimit()
The maximum number of items to return.
-
getPage
public 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.
-
getLifecycleState
public Patch.LifecycleState getLifecycleState()
The current state of the Patch.
-
getSortBy
public 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.
-
getSortOrder
public SortOrder getSortOrder()
The sort order to use, either ‘ASC’ or ‘DESC’.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
toBuilder
public 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.
-
builder
public static ListPatchesRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-