public static class ListTermRelationshipsRequest.Builder extends Object implements BmcRequest.Builder<ListTermRelationshipsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListTermRelationshipsRequest |
build()
Build the instance of ListTermRelationshipsRequest as configured by this builder
|
ListTermRelationshipsRequest |
buildWithoutInvocationCallback() |
ListTermRelationshipsRequest.Builder |
catalogId(String catalogId)
Unique catalog identifier.
|
ListTermRelationshipsRequest.Builder |
copy(ListTermRelationshipsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListTermRelationshipsRequest.Builder |
displayName(String displayName)
A filter to return only resources that match the entire display name given.
|
ListTermRelationshipsRequest.Builder |
displayNameContains(String displayNameContains)
A filter to return only resources that match display name pattern given.
|
ListTermRelationshipsRequest.Builder |
fields(List<ListTermRelationshipsRequest.Fields> fields)
Specifies the fields to return in a term relationship summary response.
|
ListTermRelationshipsRequest.Builder |
fields(ListTermRelationshipsRequest.Fields singularValue)
Singular setter.
|
ListTermRelationshipsRequest.Builder |
glossaryKey(String glossaryKey)
Unique glossary key.
|
ListTermRelationshipsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListTermRelationshipsRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state.
|
ListTermRelationshipsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListTermRelationshipsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListTermRelationshipsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListTermRelationshipsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListTermRelationshipsRequest.Builder |
sortBy(ListTermRelationshipsRequest.SortBy sortBy)
The field to sort by.
|
ListTermRelationshipsRequest.Builder |
sortOrder(ListTermRelationshipsRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
ListTermRelationshipsRequest.Builder |
termKey(String termKey)
Unique glossary term key.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListTermRelationshipsRequest.Builder fields(List<ListTermRelationshipsRequest.Fields> fields)
Specifies the fields to return in a term relationship summary response.
public ListTermRelationshipsRequest.Builder fields(ListTermRelationshipsRequest.Fields singularValue)
Singular setter. Specifies the fields to return in a term relationship summary response.
public ListTermRelationshipsRequest.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 ListTermRelationshipsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListTermRelationshipsRequest.Builder copy(ListTermRelationshipsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListTermRelationshipsRequest,Void>
o
- other request from which to copy valuespublic ListTermRelationshipsRequest build()
Build the instance of ListTermRelationshipsRequest 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<ListTermRelationshipsRequest,Void>
public ListTermRelationshipsRequest.Builder catalogId(String catalogId)
Unique catalog identifier.
this
.public ListTermRelationshipsRequest.Builder glossaryKey(String glossaryKey)
Unique glossary key.
this
.public ListTermRelationshipsRequest.Builder termKey(String termKey)
Unique glossary term key.
this
.public ListTermRelationshipsRequest.Builder displayName(String displayName)
A filter to return only resources that match the entire display name given. The match is not case sensitive.
this
.public ListTermRelationshipsRequest.Builder displayNameContains(String displayNameContains)
A filter to return only resources that match display name pattern given. The match is not case sensitive. For Example : /folders?displayNameContains=Cu.* The above would match all folders with display name that starts with “Cu” or has the pattern “Cu” anywhere in between.
this
.public ListTermRelationshipsRequest.Builder lifecycleState(LifecycleState lifecycleState)
A filter to return only resources that match the specified lifecycle state. The value is case insensitive.
this
.public ListTermRelationshipsRequest.Builder sortBy(ListTermRelationshipsRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. If no value is specified TIMECREATED is default.
this
.public ListTermRelationshipsRequest.Builder sortOrder(ListTermRelationshipsRequest.SortOrder sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
this
.public ListTermRelationshipsRequest.Builder limit(Integer limit)
The maximum number of items to return.
this
.public ListTermRelationshipsRequest.Builder page(String page)
The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
this
.public ListTermRelationshipsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public ListTermRelationshipsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.