Class GetGlossaryRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datacatalog.requests.GetGlossaryRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<GetGlossaryRequest,Void>
- Enclosing class:
- GetGlossaryRequest
public static class GetGlossaryRequest.Builder extends Object implements BmcRequest.Builder<GetGlossaryRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetGlossaryRequest
build()
Build the instance of GetGlossaryRequest as configured by this builderGetGlossaryRequest
buildWithoutInvocationCallback()
Build the instance of GetGlossaryRequest as configured by this builderGetGlossaryRequest.Builder
catalogId(String catalogId)
Unique catalog identifier.GetGlossaryRequest.Builder
copy(GetGlossaryRequest o)
Copy method to populate the builder with values from the given instance.GetGlossaryRequest.Builder
fields(GetGlossaryRequest.Fields singularValue)
Singular setter.GetGlossaryRequest.Builder
fields(List<GetGlossaryRequest.Fields> fields)
Specifies the fields to return in a glossary response.GetGlossaryRequest.Builder
glossaryKey(String glossaryKey)
Unique glossary key.GetGlossaryRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.GetGlossaryRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.GetGlossaryRequest.Builder
retryConfiguration(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
-
catalogId
public GetGlossaryRequest.Builder catalogId(String catalogId)
Unique catalog identifier.- Parameters:
catalogId
- the value to set- Returns:
- this builder instance
-
glossaryKey
public GetGlossaryRequest.Builder glossaryKey(String glossaryKey)
Unique glossary key.- Parameters:
glossaryKey
- the value to set- Returns:
- this builder instance
-
fields
public GetGlossaryRequest.Builder fields(List<GetGlossaryRequest.Fields> fields)
Specifies the fields to return in a glossary response.- Parameters:
fields
- the value to set- Returns:
- this builder instance
-
fields
public GetGlossaryRequest.Builder fields(GetGlossaryRequest.Fields singularValue)
Singular setter.Specifies the fields to return in a glossary response.
- Parameters:
singularValue
- the singular value to set- Returns:
- this builder instance
-
opcRequestId
public GetGlossaryRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public GetGlossaryRequest.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 GetGlossaryRequest.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 GetGlossaryRequest.Builder copy(GetGlossaryRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<GetGlossaryRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public GetGlossaryRequest build()
Build the instance of GetGlossaryRequest 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<GetGlossaryRequest,Void>
- Returns:
- instance of GetGlossaryRequest
-
buildWithoutInvocationCallback
public GetGlossaryRequest buildWithoutInvocationCallback()
Build the instance of GetGlossaryRequest 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 GetGlossaryRequest
-
-