public static class GetViewResponse.Builder extends Object implements BmcResponse.Builder<GetViewResponse>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetViewResponse.Builder |
__httpStatusCode__(int __httpStatusCode__) |
GetViewResponse |
build()
Build the response object.
|
GetViewResponse.Builder |
copy(GetViewResponse o)
Copy method to populate the builder with values from the given instance.
|
GetViewResponse.Builder |
etag(String etag)
The current version of the resource, ending with a representation-specific suffix.
|
GetViewResponse.Builder |
headers(Map<String,List<String>> headers) |
GetViewResponse.Builder |
isNotModified(boolean isNotModified)
Flag to indicate whether or not the object was modified.
|
GetViewResponse.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetViewResponse.Builder |
view(View view)
The returned View instance, or null if
GetViewResponse.isNotModified() is true. |
public GetViewResponse.Builder __httpStatusCode__(int __httpStatusCode__)
__httpStatusCode__
in interface BmcResponse.Builder<GetViewResponse>
public GetViewResponse.Builder headers(Map<String,List<String>> headers)
headers
in interface BmcResponse.Builder<GetViewResponse>
public 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.
etag
- the value to setpublic 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.
opcRequestId
- the value to setpublic GetViewResponse.Builder view(View view)
The returned View instance, or null if GetViewResponse.isNotModified()
is true.
view
- the value to setpublic 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’).
isNotModified
in interface BmcResponse.Builder<GetViewResponse>
true
- if the object was not modifiedpublic GetViewResponse.Builder copy(GetViewResponse o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcResponse.Builder<GetViewResponse>
o
- other request from which to copy valuespublic GetViewResponse build()
Build the response object.
build
in interface BmcResponse.Builder<GetViewResponse>
Copyright © 2016–2024. All rights reserved.