Class ListNamespacesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListNamespacesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListNamespacesRequest,Void>
- Enclosing class:
- ListNamespacesRequest
public static class ListNamespacesRequest.Builder extends Object implements BmcRequest.Builder<ListNamespacesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNamespacesRequestbuild()Build the instance of ListNamespacesRequest as configured by this builderListNamespacesRequestbuildWithoutInvocationCallback()Build the instance of ListNamespacesRequest as configured by this builderListNamespacesRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListNamespacesRequest.Buildercopy(ListNamespacesRequest o)Copy method to populate the builder with values from the given instance.ListNamespacesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListNamespacesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListNamespacesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.-
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 ListNamespacesRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListNamespacesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListNamespacesRequest.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 ListNamespacesRequest.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 ListNamespacesRequest.Builder copy(ListNamespacesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListNamespacesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListNamespacesRequest build()
Build the instance of ListNamespacesRequest 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:
buildin interfaceBmcRequest.Builder<ListNamespacesRequest,Void>- Returns:
- instance of ListNamespacesRequest
-
buildWithoutInvocationCallback
public ListNamespacesRequest buildWithoutInvocationCallback()
Build the instance of ListNamespacesRequest 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 ListNamespacesRequest
-
-