Package com.oracle.bmc.dblm.requests
Class GetVulnerabilityRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dblm.requests.GetVulnerabilityRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetVulnerabilityRequest,Void>
- Enclosing class:
- GetVulnerabilityRequest
public static class GetVulnerabilityRequest.Builder extends Object implements BmcRequest.Builder<GetVulnerabilityRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetVulnerabilityRequest
build()
Build the instance of GetVulnerabilityRequest as configured by this builderGetVulnerabilityRequest
buildWithoutInvocationCallback()
Build the instance of GetVulnerabilityRequest as configured by this builderGetVulnerabilityRequest.Builder
compartmentId(String compartmentId)
The required ID of the compartment in which to list resources.GetVulnerabilityRequest.Builder
copy(GetVulnerabilityRequest o)
Copy method to populate the builder with values from the given instance.GetVulnerabilityRequest.Builder
databaseRelease(String databaseRelease)
A filter to return only database that match the given release version.GetVulnerabilityRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetVulnerabilityRequest.Builder
lifecycleState(DblmVulnerability.LifecycleState lifecycleState)
A filter to return only resources their lifecycleState matches the given lifecycleState.GetVulnerabilityRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.GetVulnerabilityRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.-
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 GetVulnerabilityRequest.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 GetVulnerabilityRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
databaseRelease
public GetVulnerabilityRequest.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 GetVulnerabilityRequest.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
-
invocationCallback
public GetVulnerabilityRequest.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 GetVulnerabilityRequest.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 GetVulnerabilityRequest.Builder copy(GetVulnerabilityRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetVulnerabilityRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetVulnerabilityRequest build()
Build the instance of GetVulnerabilityRequest 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<GetVulnerabilityRequest,Void>
- Returns:
- instance of GetVulnerabilityRequest
-
buildWithoutInvocationCallback
public GetVulnerabilityRequest buildWithoutInvocationCallback()
Build the instance of GetVulnerabilityRequest 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 GetVulnerabilityRequest
-
-