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