public static class GetZoneRequest.Builder extends Object implements BmcRequest.Builder<GetZoneRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GetZoneRequest |
build()
Build the instance of GetZoneRequest as configured by this builder
|
GetZoneRequest |
buildWithoutInvocationCallback()
Build the instance of GetZoneRequest as configured by this builder
|
GetZoneRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment the zone belongs to.
|
GetZoneRequest.Builder |
copy(GetZoneRequest o)
Copy method to populate the builder with values from the given instance.
|
GetZoneRequest.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. |
GetZoneRequest.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. |
GetZoneRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
GetZoneRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
GetZoneRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetZoneRequest.Builder |
scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
|
GetZoneRequest.Builder |
viewId(String viewId)
The OCID of the view the zone is associated with.
|
GetZoneRequest.Builder |
zoneNameOrId(String zoneNameOrId)
The name or OCID of the target zone.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public GetZoneRequest.Builder zoneNameOrId(String zoneNameOrId)
The name or OCID of the target zone.
zoneNameOrId
- the value to setpublic GetZoneRequest.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 GetZoneRequest.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 GetZoneRequest.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 GetZoneRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
scope
- the value to setpublic GetZoneRequest.Builder viewId(String viewId)
The OCID of the view the zone is associated with. Required when accessing a private zone by name.
viewId
- the value to setpublic GetZoneRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment the zone belongs to.
This parameter is deprecated and should be omitted.
compartmentId
- the value to setpublic GetZoneRequest.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 GetZoneRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetZoneRequest.Builder copy(GetZoneRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetZoneRequest,Void>
o
- other request from which to copy valuespublic GetZoneRequest build()
Build the instance of GetZoneRequest 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<GetZoneRequest,Void>
public GetZoneRequest buildWithoutInvocationCallback()
Build the instance of GetZoneRequest 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.