Package com.oracle.bmc.dns.responses
Class GetViewResponse.Builder
- java.lang.Object
- 
- com.oracle.bmc.dns.responses.GetViewResponse.Builder
 
- 
- All Implemented Interfaces:
- BmcResponse.Builder<GetViewResponse>
 - Enclosing class:
- GetViewResponse
 
 public static class GetViewResponse.Builder extends Object implements BmcResponse.Builder<GetViewResponse> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description GetViewResponse.Builder__httpStatusCode__(int __httpStatusCode__)GetViewResponsebuild()Build the response object.GetViewResponse.Buildercopy(GetViewResponse o)Copy method to populate the builder with values from the given instance.GetViewResponse.Builderetag(String etag)The current version of the resource, ending with a representation-specific suffix.GetViewResponse.Builderheaders(Map<String,List<String>> headers)GetViewResponse.BuilderisNotModified(boolean isNotModified)Flag to indicate whether or not the object was modified.GetViewResponse.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.GetViewResponse.Builderview(View view)The returned View instance, or null ifGetViewResponse.isNotModified()is true.
 
- 
- 
- 
Method Detail- 
__httpStatusCode__public GetViewResponse.Builder __httpStatusCode__(int __httpStatusCode__) - Specified by:
- __httpStatusCode__in interface- BmcResponse.Builder<GetViewResponse>
 
 - 
headerspublic GetViewResponse.Builder headers(Map<String,List<String>> headers) - Specified by:
- headersin interface- BmcResponse.Builder<GetViewResponse>
 
 - 
etagpublic GetViewResponse.Builder etag(String etag) The current version of the resource, ending with a representation-specific suffix.This value may be used in If-Match and If-None-Match headers for later requests of the same resource. - Parameters:
- etag- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic GetViewResponse.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
 
 - 
viewpublic GetViewResponse.Builder view(View view) The returned View instance, or null ifGetViewResponse.isNotModified()is true.- Parameters:
- view- the value to set
- Returns:
- this builder
 
 - 
isNotModifiedpublic GetViewResponse.Builder isNotModified(boolean isNotModified) Flag to indicate whether or not the object was modified.If this is true, the getter for the object itself will return null. Callers should check this if they specified one of the request params that might result in a conditional response (like ‘if-match’/‘if-none-match’). - Specified by:
- isNotModifiedin interface- BmcResponse.Builder<GetViewResponse>
- Parameters:
- true- if the object was not modified
 
 - 
copypublic GetViewResponse.Builder copy(GetViewResponse o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcResponse.Builder<GetViewResponse>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic GetViewResponse build() Build the response object.- Specified by:
- buildin interface- BmcResponse.Builder<GetViewResponse>
- Returns:
- the response object
 
 
- 
 
-