Package com.oracle.bmc.dns.requests
Class ListZonesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.requests.ListZonesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListZonesRequest,Void>
- Enclosing class:
- ListZonesRequest
public static class ListZonesRequest.Builder extends Object implements BmcRequest.Builder<ListZonesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListZonesRequest
build()
Build the instance of ListZonesRequest as configured by this builderListZonesRequest
buildWithoutInvocationCallback()
Build the instance of ListZonesRequest as configured by this builderListZonesRequest.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
dnssecState(ZoneDnssecState dnssecState)
Search for zones that have the given DnssecState.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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
compartmentId
public ListZonesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public 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.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
limit
public ListZonesRequest.Builder limit(Long limit)
The maximum number of items to return in a page of the collection.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListZonesRequest.Builder page(String page)
The value of the opc-next-page response header from the previous “List” call.- Parameters:
page
- the value to set- Returns:
- this builder instance
-
name
public ListZonesRequest.Builder name(String name)
A case-sensitive filter for zone names.Will match any zone with a name that equals the provided value.
- Parameters:
name
- the value to set- Returns:
- this builder instance
-
nameContains
public ListZonesRequest.Builder nameContains(String nameContains)
Search by zone name.Will match any zone whose name (case-insensitive) contains the provided value.
- Parameters:
nameContains
- the value to set- Returns:
- this builder instance
-
zoneType
public ListZonesRequest.Builder zoneType(ListZonesRequest.ZoneType zoneType)
Search by zone type, PRIMARY or SECONDARY.Will match any zone whose type equals the provided value.
- Parameters:
zoneType
- the value to set- Returns:
- this builder instance
-
timeCreatedGreaterThanOrEqualTo
public ListZonesRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
An RFC 3339 timestamp that states all returned resources were created on or after the indicated time.- Parameters:
timeCreatedGreaterThanOrEqualTo
- the value to set- Returns:
- this builder instance
-
timeCreatedLessThan
public ListZonesRequest.Builder timeCreatedLessThan(Date timeCreatedLessThan)
An RFC 3339 timestamp that states all returned resources were created before the indicated time.- Parameters:
timeCreatedLessThan
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListZonesRequest.Builder lifecycleState(ListZonesRequest.LifecycleState lifecycleState)
The state of a resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
sortBy
public ListZonesRequest.Builder sortBy(ListZonesRequest.SortBy sortBy)
The field by which to sort zones.- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListZonesRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the resources.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
scope
public ListZonesRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.- Parameters:
scope
- the value to set- Returns:
- this builder instance
-
viewId
public ListZonesRequest.Builder viewId(String viewId)
The OCID of the view the resource is associated with.- Parameters:
viewId
- the value to set- Returns:
- this builder instance
-
tsigKeyId
public ListZonesRequest.Builder tsigKeyId(String tsigKeyId)
Search for zones that are associated with a TSIG key.- Parameters:
tsigKeyId
- the value to set- Returns:
- this builder instance
-
dnssecState
public ListZonesRequest.Builder dnssecState(ZoneDnssecState dnssecState)
Search for zones that have the given DnssecState.- Parameters:
dnssecState
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListZonesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListZonesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListZonesRequest.Builder copy(ListZonesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListZonesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListZonesRequest build()
Build the instance of ListZonesRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListZonesRequest,Void>
- Returns:
- instance of ListZonesRequest
-
buildWithoutInvocationCallback
public ListZonesRequest buildWithoutInvocationCallback()
Build the instance of ListZonesRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListZonesRequest
-
-