public static class ListTsigKeysRequest.Builder extends Object implements BmcRequest.Builder<ListTsigKeysRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListTsigKeysRequest |
build()
Build the instance of ListTsigKeysRequest as configured by this builder
|
ListTsigKeysRequest |
buildWithoutInvocationCallback() |
ListTsigKeysRequest.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(Consumer<javax.ws.rs.client.Invocation.Builder> 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.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListTsigKeysRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListTsigKeysRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListTsigKeysRequest.Builder copy(ListTsigKeysRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListTsigKeysRequest,Void>
o
- other request from which to copy valuespublic ListTsigKeysRequest build()
Build the instance of ListTsigKeysRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListTsigKeysRequest,Void>
public ListTsigKeysRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.
this
.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.
this
.public ListTsigKeysRequest.Builder limit(Long limit)
The maximum number of items to return in a page of the collection.
this
.public ListTsigKeysRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
this
.public ListTsigKeysRequest.Builder id(String id)
The OCID of a resource.
this
.public ListTsigKeysRequest.Builder name(String name)
The name of a resource.
this
.public ListTsigKeysRequest.Builder lifecycleState(TsigKeySummary.LifecycleState lifecycleState)
The state of a resource.
this
.public ListTsigKeysRequest.Builder sortBy(ListTsigKeysRequest.SortBy sortBy)
The field by which to sort TSIG keys. If unspecified, defaults to timeCreated
.
this
.public ListTsigKeysRequest.Builder sortOrder(SortOrder sortOrder)
The order to sort the resources.
this
.public ListTsigKeysRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
this
.public ListTsigKeysRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.