Package com.oracle.bmc.dns.requests
Class ListTsigKeysRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dns.requests.ListTsigKeysRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListTsigKeysRequest,Void>
- Enclosing class:
- ListTsigKeysRequest
public static class ListTsigKeysRequest.Builder extends Object implements BmcRequest.Builder<ListTsigKeysRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTsigKeysRequest
build()
Build the instance of ListTsigKeysRequest as configured by this builderListTsigKeysRequest
buildWithoutInvocationCallback()
Build the instance of ListTsigKeysRequest as configured by this builderListTsigKeysRequest.Builder
compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.ListTsigKeysRequest.Builder
copy(ListTsigKeysRequest o)
Copy method to populate the builder with values from the given instance.ListTsigKeysRequest.Builder
id(String id)
The OCID of a resource.ListTsigKeysRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListTsigKeysRequest.Builder
lifecycleState(TsigKeySummary.LifecycleState lifecycleState)
The state of a resource.ListTsigKeysRequest.Builder
limit(Long limit)
The maximum number of items to return in a page of the collection.ListTsigKeysRequest.Builder
name(String name)
The name of a resource.ListTsigKeysRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.ListTsigKeysRequest.Builder
page(String page)
The value of the opc-next-page response header from the previous “List” call.ListTsigKeysRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListTsigKeysRequest.Builder
scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.ListTsigKeysRequest.Builder
sortBy(ListTsigKeysRequest.SortBy sortBy)
The field by which to sort TSIG keys.ListTsigKeysRequest.Builder
sortOrder(SortOrder sortOrder)
The order to sort the resources.-
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 ListTsigKeysRequest.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 ListTsigKeysRequest.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 ListTsigKeysRequest.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 ListTsigKeysRequest.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
-
id
public ListTsigKeysRequest.Builder id(String id)
The OCID of a resource.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
name
public ListTsigKeysRequest.Builder name(String name)
The name of a resource.- Parameters:
name
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListTsigKeysRequest.Builder lifecycleState(TsigKeySummary.LifecycleState lifecycleState)
The state of a resource.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
sortBy
public ListTsigKeysRequest.Builder sortBy(ListTsigKeysRequest.SortBy sortBy)
The field by which to sort TSIG keys.If unspecified, defaults to timeCreated.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListTsigKeysRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the resources.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
scope
public ListTsigKeysRequest.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
-
invocationCallback
public ListTsigKeysRequest.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 ListTsigKeysRequest.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 ListTsigKeysRequest.Builder copy(ListTsigKeysRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListTsigKeysRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListTsigKeysRequest build()
Build the instance of ListTsigKeysRequest 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<ListTsigKeysRequest,Void>
- Returns:
- instance of ListTsigKeysRequest
-
buildWithoutInvocationCallback
public ListTsigKeysRequest buildWithoutInvocationCallback()
Build the instance of ListTsigKeysRequest 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 ListTsigKeysRequest
-
-