public static class GetTermRelationshipRequest.Builder extends Object implements BmcRequest.Builder<GetTermRelationshipRequest,Void>
Modifier and Type | Method and Description |
---|---|
GetTermRelationshipRequest |
build()
Build the instance of GetTermRelationshipRequest as configured by this builder
|
GetTermRelationshipRequest |
buildWithoutInvocationCallback() |
GetTermRelationshipRequest.Builder |
catalogId(String catalogId)
Unique catalog identifier.
|
GetTermRelationshipRequest.Builder |
copy(GetTermRelationshipRequest o)
Copy method to populate the builder with values from the given instance.
|
GetTermRelationshipRequest.Builder |
fields(GetTermRelationshipRequest.Fields singularValue)
Singular setter.
|
GetTermRelationshipRequest.Builder |
fields(List<GetTermRelationshipRequest.Fields> fields)
Specifies the fields to return in a term relationship response.
|
GetTermRelationshipRequest.Builder |
glossaryKey(String glossaryKey)
Unique glossary key.
|
GetTermRelationshipRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
GetTermRelationshipRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
GetTermRelationshipRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
GetTermRelationshipRequest.Builder |
termKey(String termKey)
Unique glossary term key.
|
GetTermRelationshipRequest.Builder |
termRelationshipKey(String termRelationshipKey)
Unique glossary term relationship key.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public GetTermRelationshipRequest.Builder fields(List<GetTermRelationshipRequest.Fields> fields)
Specifies the fields to return in a term relationship response.
public GetTermRelationshipRequest.Builder fields(GetTermRelationshipRequest.Fields singularValue)
Singular setter. Specifies the fields to return in a term relationship response.
public GetTermRelationshipRequest.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 GetTermRelationshipRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic GetTermRelationshipRequest.Builder copy(GetTermRelationshipRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<GetTermRelationshipRequest,Void>
o
- other request from which to copy valuespublic GetTermRelationshipRequest build()
Build the instance of GetTermRelationshipRequest 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<GetTermRelationshipRequest,Void>
public GetTermRelationshipRequest.Builder catalogId(String catalogId)
Unique catalog identifier.
this
.public GetTermRelationshipRequest.Builder glossaryKey(String glossaryKey)
Unique glossary key.
this
.public GetTermRelationshipRequest.Builder termKey(String termKey)
Unique glossary term key.
this
.public GetTermRelationshipRequest.Builder termRelationshipKey(String termRelationshipKey)
Unique glossary term relationship key.
this
.public GetTermRelationshipRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public GetTermRelationshipRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.