public static class GetResolverRequest.Builder extends Object implements BmcRequest.Builder<GetResolverRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetResolverRequest |
build()
Build the instance of GetResolverRequest as configured by this builder
|
GetResolverRequest |
buildWithoutInvocationCallback()
Build the instance of GetResolverRequest as configured by this builder
|
GetResolverRequest.Builder |
copy(GetResolverRequest o)
Copy method to populate the builder with values from the given instance.
|
GetResolverRequest.Builder |
ifModifiedSince(String ifModifiedSince)
The
If-Modified-Since header field makes a GET or HEAD request method conditional
on the selected representation’s modification date being more recent than the date
provided in the field-value. |
GetResolverRequest.Builder |
ifNoneMatch(String ifNoneMatch)
The
If-None-Match header field makes the request method conditional on the
absence of any current representation of the target resource, when the field-value is
* , or having a selected representation with an entity-tag that does not match any
of those listed in the field-value. |
GetResolverRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetResolverRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetResolverRequest.Builder |
resolverId(String resolverId)
The OCID of the target resolver.
|
GetResolverRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetResolverRequest.Builder |
scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetResolverRequest.Builder resolverId(String resolverId)
The OCID of the target resolver.
resolverId
- the value to setpublic GetResolverRequest.Builder ifModifiedSince(String ifModifiedSince)
The If-Modified-Since
header field makes a GET or HEAD request method conditional
on the selected representation’s modification date being more recent than the date
provided in the field-value. Transfer of the selected representation’s data is avoided if
that data has not changed.
ifModifiedSince
- the value to setpublic GetResolverRequest.Builder ifNoneMatch(String ifNoneMatch)
The If-None-Match
header field makes the request method conditional on the
absence of any current representation of the target resource, when the field-value is
*
, or having a selected representation with an entity-tag that does not match any
of those listed in the field-value.
ifNoneMatch
- the value to setpublic GetResolverRequest.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 GetResolverRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
scope
- the value to setpublic GetResolverRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic GetResolverRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetResolverRequest.Builder copy(GetResolverRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetResolverRequest,Void>
o
- other request from which to copy valuespublic GetResolverRequest build()
Build the instance of GetResolverRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<GetResolverRequest,Void>
public GetResolverRequest buildWithoutInvocationCallback()
Build the instance of GetResolverRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.