Package com.oracle.bmc.dblm.requests
Class GetPatchManagementRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dblm.requests.GetPatchManagementRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetPatchManagementRequest,Void>
- Enclosing class:
- GetPatchManagementRequest
public static class GetPatchManagementRequest.Builder extends Object implements BmcRequest.Builder<GetPatchManagementRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetPatchManagementRequest
build()
Build the instance of GetPatchManagementRequest as configured by this builderGetPatchManagementRequest
buildWithoutInvocationCallback()
Build the instance of GetPatchManagementRequest as configured by this builderGetPatchManagementRequest.Builder
compartmentId(String compartmentId)
The required ID of the compartment in which to list resources.GetPatchManagementRequest.Builder
copy(GetPatchManagementRequest o)
Copy method to populate the builder with values from the given instance.GetPatchManagementRequest.Builder
databaseRelease(String databaseRelease)
A filter to return only database that match the given release version.GetPatchManagementRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetPatchManagementRequest.Builder
lifecycleState(DblmVulnerability.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.GetPatchManagementRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.GetPatchManagementRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.GetPatchManagementRequest.Builder
timeStartedGreaterThanOrEqualTo(Date timeStartedGreaterThanOrEqualTo)
A filter to return only resources whose timeStarted is greater than or equal to the given date-time.GetPatchManagementRequest.Builder
timeStartedLessThan(Date timeStartedLessThan)
A filter to return only resources whose timeStarted is less than the given date-time.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compartmentId
public GetPatchManagementRequest.Builder compartmentId(String compartmentId)
The required ID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public GetPatchManagementRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
databaseRelease
public GetPatchManagementRequest.Builder databaseRelease(String databaseRelease)
A filter to return only database that match the given release version.- Parameters:
databaseRelease
- the value to set- Returns:
- this builder instance
-
lifecycleState
public GetPatchManagementRequest.Builder lifecycleState(DblmVulnerability.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
timeStartedGreaterThanOrEqualTo
public GetPatchManagementRequest.Builder timeStartedGreaterThanOrEqualTo(Date timeStartedGreaterThanOrEqualTo)
A filter to return only resources whose timeStarted is greater than or equal to the given date-time.- Parameters:
timeStartedGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timeStartedLessThan
public GetPatchManagementRequest.Builder timeStartedLessThan(Date timeStartedLessThan)
A filter to return only resources whose timeStarted is less than the given date-time.- Parameters:
timeStartedLessThan
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetPatchManagementRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public GetPatchManagementRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public GetPatchManagementRequest.Builder copy(GetPatchManagementRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetPatchManagementRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetPatchManagementRequest build()
Build the instance of GetPatchManagementRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<GetPatchManagementRequest,Void>
- Returns:
- instance of GetPatchManagementRequest
-
buildWithoutInvocationCallback
public GetPatchManagementRequest buildWithoutInvocationCallback()
Build the instance of GetPatchManagementRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of GetPatchManagementRequest
-
-