public static class ListTagNamespacesRequest.Builder extends Object implements BmcRequest.Builder<ListTagNamespacesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListTagNamespacesRequest |
build()
Build the instance of ListTagNamespacesRequest as configured by this builder
|
ListTagNamespacesRequest |
buildWithoutInvocationCallback()
Build the instance of ListTagNamespacesRequest as configured by this builder
|
ListTagNamespacesRequest.Builder |
compartmentId(String compartmentId)
The OCID of the compartment (remember that the tenancy is simply the root compartment).
|
ListTagNamespacesRequest.Builder |
copy(ListTagNamespacesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListTagNamespacesRequest.Builder |
includeSubcompartments(Boolean includeSubcompartments)
An optional boolean parameter indicating whether to retrieve all tag namespaces in
subcompartments.
|
ListTagNamespacesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListTagNamespacesRequest.Builder |
lifecycleState(TagNamespace.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state.
|
ListTagNamespacesRequest.Builder |
limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
|
ListTagNamespacesRequest.Builder |
page(String page)
The value of the
opc-next-page response header from the previous “List” call. |
ListTagNamespacesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListTagNamespacesRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment (remember that the tenancy is simply the root compartment).
compartmentId
- the value to setpublic ListTagNamespacesRequest.Builder page(String page)
The value of the opc-next-page
response header from the previous “List” call.
page
- the value to setpublic ListTagNamespacesRequest.Builder limit(Integer limit)
The maximum number of items to return in a paginated “List” call.
limit
- the value to setpublic ListTagNamespacesRequest.Builder includeSubcompartments(Boolean includeSubcompartments)
An optional boolean parameter indicating whether to retrieve all tag namespaces in subcompartments. If this parameter is not specified, only the tag namespaces defined in the specified compartment are retrieved.
includeSubcompartments
- the value to setpublic ListTagNamespacesRequest.Builder lifecycleState(TagNamespace.LifecycleState lifecycleState)
A filter to only return resources that match the given lifecycle state. The state value is case-insensitive.
lifecycleState
- the value to setpublic ListTagNamespacesRequest.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 ListTagNamespacesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListTagNamespacesRequest.Builder copy(ListTagNamespacesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListTagNamespacesRequest,Void>
o
- other request from which to copy valuespublic ListTagNamespacesRequest build()
Build the instance of ListTagNamespacesRequest 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<ListTagNamespacesRequest,Void>
public ListTagNamespacesRequest buildWithoutInvocationCallback()
Build the instance of ListTagNamespacesRequest 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–2023. All rights reserved.