Class GetVulnerabilityResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.vulnerabilityscanning.responses.GetVulnerabilityResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<GetVulnerabilityResponse>
 - Enclosing class:
- GetVulnerabilityResponse
 
 public static class GetVulnerabilityResponse.Builder extends Object implements BmcResponse.Builder<GetVulnerabilityResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetVulnerabilityResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetVulnerabilityResponsebuild()Build the response object.GetVulnerabilityResponse.Buildercopy(GetVulnerabilityResponse o)Copy method to populate the builder with values from the given instance.GetVulnerabilityResponse.Builderetag(String etag)For optimistic concurrency control.GetVulnerabilityResponse.Builderheaders(Map<String,List<String>> headers)GetVulnerabilityResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetVulnerabilityResponse.Buildervulnerability(Vulnerability vulnerability)The returned Vulnerability instance.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.responses.BmcResponse.BuilderisNotModified
 
- 
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public GetVulnerabilityResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<GetVulnerabilityResponse>
 
 - 
headerspublic GetVulnerabilityResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<GetVulnerabilityResponse>
 
 - 
etagpublic GetVulnerabilityResponse.Builder etag(String etag) For optimistic concurrency control.See if-match. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic GetVulnerabilityResponse.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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
vulnerabilitypublic GetVulnerabilityResponse.Builder vulnerability(Vulnerability vulnerability) The returned Vulnerability instance.- Parameters:
- vulnerability- the value to set
- Returns:
- this builder
 
 - 
copypublic GetVulnerabilityResponse.Builder copy(GetVulnerabilityResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<GetVulnerabilityResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetVulnerabilityResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<GetVulnerabilityResponse>
- Returns:
- the response object
 
 
- 
 
-