public static class ListErrataRequest.Builder extends Object implements BmcRequest.Builder<ListErrataRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListErrataRequest.Builder |
advisorySeverity(AdvisorySeverity singularValue)
Singular setter.
|
ListErrataRequest.Builder |
advisorySeverity(List<AdvisorySeverity> advisorySeverity)
The advisory severity.
|
ListErrataRequest.Builder |
advisoryType(AdvisoryTypes singularValue)
Singular setter.
|
ListErrataRequest.Builder |
advisoryType(List<AdvisoryTypes> advisoryType)
A filter to return only errata that match the given advisory types.
|
ListErrataRequest |
build()
Build the instance of ListErrataRequest as configured by this builder
|
ListErrataRequest |
buildWithoutInvocationCallback()
Build the instance of ListErrataRequest as configured by this builder
|
ListErrataRequest.Builder |
classificationType(ClassificationTypes singularValue)
Singular setter.
|
ListErrataRequest.Builder |
classificationType(List<ClassificationTypes> classificationType)
A filter to return only packages that match the given update classification type.
|
ListErrataRequest.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment.
|
ListErrataRequest.Builder |
copy(ListErrataRequest o)
Copy method to populate the builder with values from the given instance.
|
ListErrataRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListErrataRequest.Builder |
limit(Integer limit)
For list pagination.
|
ListErrataRequest.Builder |
name(List<String> name)
The assigned erratum name.
|
ListErrataRequest.Builder |
name(String singularValue)
Singular setter.
|
ListErrataRequest.Builder |
nameContains(String nameContains)
A filter to return resources that may partially match the erratum name given.
|
ListErrataRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListErrataRequest.Builder |
osFamily(OsFamily osFamily)
A filter to return only resources that match the given operating system family.
|
ListErrataRequest.Builder |
page(String page)
For list pagination.
|
ListErrataRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListErrataRequest.Builder |
sortBy(ListErrataRequest.SortBy sortBy)
The field to sort errata by.
|
ListErrataRequest.Builder |
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
|
ListErrataRequest.Builder |
timeIssueDateEnd(Date timeIssueDateEnd)
The issue date before which to list all errata, in ISO 8601 format
|
ListErrataRequest.Builder |
timeIssueDateStart(Date timeIssueDateStart)
The issue date after which to list all errata, in ISO 8601 format
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListErrataRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment. This parameter is required and returns only resources contained within the specified compartment.
compartmentId
- the value to setpublic ListErrataRequest.Builder name(List<String> name)
The assigned erratum name. It’s unique and not changeable.
Example: ELSA-2020-5804
name
- the value to setpublic ListErrataRequest.Builder name(String singularValue)
Singular setter. The assigned erratum name. It’s unique and not changeable.
Example: ELSA-2020-5804
singularValue
- the singular value to setpublic ListErrataRequest.Builder nameContains(String nameContains)
A filter to return resources that may partially match the erratum name given.
nameContains
- the value to setpublic ListErrataRequest.Builder classificationType(List<ClassificationTypes> classificationType)
A filter to return only packages that match the given update classification type.
classificationType
- the value to setpublic ListErrataRequest.Builder classificationType(ClassificationTypes singularValue)
Singular setter. A filter to return only packages that match the given update classification type.
singularValue
- the singular value to setpublic ListErrataRequest.Builder advisoryType(List<AdvisoryTypes> advisoryType)
A filter to return only errata that match the given advisory types.
advisoryType
- the value to setpublic ListErrataRequest.Builder advisoryType(AdvisoryTypes singularValue)
Singular setter. A filter to return only errata that match the given advisory types.
singularValue
- the singular value to setpublic ListErrataRequest.Builder osFamily(OsFamily osFamily)
A filter to return only resources that match the given operating system family.
osFamily
- the value to setpublic ListErrataRequest.Builder advisorySeverity(List<AdvisorySeverity> advisorySeverity)
The advisory severity.
advisorySeverity
- the value to setpublic ListErrataRequest.Builder advisorySeverity(AdvisorySeverity singularValue)
Singular setter. The advisory severity.
singularValue
- the singular value to setpublic ListErrataRequest.Builder timeIssueDateStart(Date timeIssueDateStart)
The issue date after which to list all errata, in ISO 8601 format
Example: 2017-07-14T02:40:00.000Z
timeIssueDateStart
- the value to setpublic ListErrataRequest.Builder timeIssueDateEnd(Date timeIssueDateEnd)
The issue date before which to list all errata, in ISO 8601 format
Example: 2017-07-14T02:40:00.000Z
timeIssueDateEnd
- the value to setpublic ListErrataRequest.Builder limit(Integer limit)
For list pagination. The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
Example: 50
limit
- the value to setpublic ListErrataRequest.Builder page(String page)
For list pagination. The value of the opc-next-page
response header from the
previous “List” call. For important details about how pagination works, see List
Pagination.
Example: 3
page
- the value to setpublic ListErrataRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic ListErrataRequest.Builder sortBy(ListErrataRequest.SortBy sortBy)
The field to sort errata by. Only one sort order may be provided. Default order for timeIssued is descending. Default order for name is ascending. If no value is specified timeIssued is default.
sortBy
- the value to setpublic ListErrataRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
opcRequestId
- the value to setpublic ListErrataRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListErrataRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListErrataRequest.Builder copy(ListErrataRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListErrataRequest,Void>
o
- other request from which to copy valuespublic ListErrataRequest build()
Build the instance of ListErrataRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListErrataRequest,Void>
public ListErrataRequest buildWithoutInvocationCallback()
Build the instance of ListErrataRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.