Class ListErrataRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.osmanagement.requests.ListErrataRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190801") public class ListErrataRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/osmanagement/ListErrataExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListErrataRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ListErrataRequest.Builder
static class
ListErrataRequest.SortBy
The field to sort errata by.static class
ListErrataRequest.SortOrder
The sort order to use, either ‘asc’ or ‘desc’.
-
Constructor Summary
Constructors Constructor Description ListErrataRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListErrataRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.String
getAdvisoryName()
The assigned erratum name.String
getCompartmentId()
The ID of the compartment in which to list resources.String
getErratumId()
The OCID of the erratum.Integer
getLimit()
The maximum number of items to return.String
getOpcRequestId()
The client request ID for tracing.String
getPage()
The page token representing the page at which to start retrieving results.ListErrataRequest.SortBy
getSortBy()
The field to sort errata by.ListErrataRequest.SortOrder
getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.Date
getTimeIssueDateEnd()
The issue date before which to list all errata, in ISO 8601 formatDate
getTimeIssueDateStart()
The issue date after which to list all errata, in ISO 8601 formatint
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListErrataRequest.Builder
toBuilder()
Return an instance ofListErrataRequest.Builder
that allows you to modify request properties.String
toString()
-
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.This parameter is optional and in some cases may have no effect.
-
getErratumId
public String getErratumId()
The OCID of the erratum.
-
getAdvisoryName
public String getAdvisoryName()
The assigned erratum name.It’s unique and not changeable.
Example: ELSA-2020-5804
-
getTimeIssueDateStart
public Date getTimeIssueDateStart()
The issue date after which to list all errata, in ISO 8601 formatExample: 2017-07-14T02:40:00.000Z
-
getTimeIssueDateEnd
public Date getTimeIssueDateEnd()
The issue date before which to list all errata, in ISO 8601 formatExample: 2017-07-14T02:40:00.000Z
-
getLimit
public Integer getLimit()
The maximum number of items to return.
-
getPage
public String getPage()
The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call.
-
getSortOrder
public ListErrataRequest.SortOrder getSortOrder()
The sort order to use, either ‘asc’ or ‘desc’.
-
getSortBy
public ListErrataRequest.SortBy getSortBy()
The field to sort errata by.Only one sort order may be provided. Default order for ISSUEDATE is descending. Default order for ADVISORYNAME is ascending. If no value is specified ISSUEDATE is default.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.
-
toBuilder
public ListErrataRequest.Builder toBuilder()
Return an instance ofListErrataRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
ListErrataRequest.Builder
that allows you to modify request properties.
-
builder
public static ListErrataRequest.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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-