public static class ListZonesRequest.Builder extends Object implements BmcRequest.Builder<ListZonesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListZonesRequest |
build()
Build the instance of ListZonesRequest as configured by this builder
|
ListZonesRequest |
buildWithoutInvocationCallback()
Build the instance of ListZonesRequest as configured by this builder
|
ListZonesRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.
|
ListZonesRequest.Builder |
copy(ListZonesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListZonesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListZonesRequest.Builder |
lifecycleState(ListZonesRequest.LifecycleState lifecycleState)
The state of a resource.
|
ListZonesRequest.Builder |
limit(Long limit)
The maximum number of items to return in a page of the collection.
|
ListZonesRequest.Builder |
name(String name)
A case-sensitive filter for zone names.
|
ListZonesRequest.Builder |
nameContains(String nameContains)
Search by zone name.
|
ListZonesRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
ListZonesRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListZonesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListZonesRequest.Builder |
scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
|
ListZonesRequest.Builder |
sortBy(ListZonesRequest.SortBy sortBy)
The field by which to sort zones.
|
ListZonesRequest.Builder |
sortOrder(SortOrder sortOrder)
The order to sort the resources.
|
ListZonesRequest.Builder |
timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
An RFC 3339 timestamp that states all returned
resources were created on or after the indicated time.
|
ListZonesRequest.Builder |
timeCreatedLessThan(Date timeCreatedLessThan)
An RFC 3339 timestamp that states all returned
resources were created before the indicated time.
|
ListZonesRequest.Builder |
tsigKeyId(String tsigKeyId)
Search for zones that are associated with a TSIG key.
|
ListZonesRequest.Builder |
viewId(String viewId)
The OCID of the view the resource is associated with.
|
ListZonesRequest.Builder |
zoneType(ListZonesRequest.ZoneType zoneType)
Search by zone type,
PRIMARY or SECONDARY . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListZonesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.
compartmentId
- the value to setpublic ListZonesRequest.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 ListZonesRequest.Builder limit(Long limit)
The maximum number of items to return in a page of the collection.
limit
- the value to setpublic ListZonesRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic ListZonesRequest.Builder name(String name)
A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value.
name
- the value to setpublic ListZonesRequest.Builder nameContains(String nameContains)
Search by zone name. Will match any zone whose name (case-insensitive) contains the provided value.
nameContains
- the value to setpublic ListZonesRequest.Builder zoneType(ListZonesRequest.ZoneType zoneType)
Search by zone type, PRIMARY
or SECONDARY
. Will match any zone whose type
equals the provided value.
zoneType
- the value to setpublic ListZonesRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.
timeCreatedGreaterThanOrEqualTo
- the value to setpublic ListZonesRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan)
An RFC 3339 timestamp that states all returned resources were created before the indicated time.
timeCreatedLessThan
- the value to setpublic ListZonesRequest.Builder lifecycleState(ListZonesRequest.LifecycleState lifecycleState)
The state of a resource.
lifecycleState
- the value to setpublic ListZonesRequest.Builder sortBy(ListZonesRequest.SortBy sortBy)
The field by which to sort zones.
sortBy
- the value to setpublic ListZonesRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the resources.
sortOrder
- the value to setpublic ListZonesRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
scope
- the value to setpublic ListZonesRequest.Builder viewId(String viewId)
The OCID of the view the resource is associated with.
viewId
- the value to setpublic ListZonesRequest.Builder tsigKeyId(String tsigKeyId)
Search for zones that are associated with a TSIG key.
tsigKeyId
- the value to setpublic ListZonesRequest.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 ListZonesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListZonesRequest.Builder copy(ListZonesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListZonesRequest,Void>
o
- other request from which to copy valuespublic ListZonesRequest build()
Build the instance of ListZonesRequest 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<ListZonesRequest,Void>
public ListZonesRequest buildWithoutInvocationCallback()
Build the instance of ListZonesRequest 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.