Class CreateTermRelationshipRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.datacatalog.requests.CreateTermRelationshipRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateTermRelationshipRequest,CreateTermRelationshipDetails>
 - Enclosing class:
- CreateTermRelationshipRequest
 
 public static class CreateTermRelationshipRequest.Builder extends Object implements BmcRequest.Builder<CreateTermRelationshipRequest,CreateTermRelationshipDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTermRelationshipRequest.Builderbody$(CreateTermRelationshipDetails body)Alternative setter for the body parameter.CreateTermRelationshipRequestbuild()Build the instance of CreateTermRelationshipRequest as configured by this builderCreateTermRelationshipRequestbuildWithoutInvocationCallback()Build the instance of CreateTermRelationshipRequest as configured by this builderCreateTermRelationshipRequest.BuildercatalogId(String catalogId)Unique catalog identifier.CreateTermRelationshipRequest.Buildercopy(CreateTermRelationshipRequest o)Copy method to populate the builder with values from the given instance.CreateTermRelationshipRequest.BuildercreateTermRelationshipDetails(CreateTermRelationshipDetails createTermRelationshipDetails)The information used to create the term relationship.CreateTermRelationshipRequest.BuilderglossaryKey(String glossaryKey)Unique glossary key.CreateTermRelationshipRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateTermRelationshipRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.CreateTermRelationshipRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.CreateTermRelationshipRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.CreateTermRelationshipRequest.BuildertermKey(String termKey)Unique glossary term key.
 
- 
- 
- 
Method Detail- 
catalogIdpublic CreateTermRelationshipRequest.Builder catalogId(String catalogId) Unique catalog identifier.- Parameters:
- catalogId- the value to set
- Returns:
- this builder instance
 
 - 
glossaryKeypublic CreateTermRelationshipRequest.Builder glossaryKey(String glossaryKey) Unique glossary key.- Parameters:
- glossaryKey- the value to set
- Returns:
- this builder instance
 
 - 
termKeypublic CreateTermRelationshipRequest.Builder termKey(String termKey) Unique glossary term key.- Parameters:
- termKey- the value to set
- Returns:
- this builder instance
 
 - 
createTermRelationshipDetailspublic CreateTermRelationshipRequest.Builder createTermRelationshipDetails(CreateTermRelationshipDetails createTermRelationshipDetails) The information used to create the term relationship.- Parameters:
- createTermRelationshipDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreateTermRelationshipRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
opcRetryTokenpublic CreateTermRelationshipRequest.Builder opcRetryToken(String opcRetryToken) A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. - Parameters:
- opcRetryToken- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic CreateTermRelationshipRequest.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
 
 - 
retryConfigurationpublic CreateTermRelationshipRequest.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
 
 - 
copypublic CreateTermRelationshipRequest.Builder copy(CreateTermRelationshipRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateTermRelationshipRequest,CreateTermRelationshipDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateTermRelationshipRequest build() Build the instance of CreateTermRelationshipRequest 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 interface- BmcRequest.Builder<CreateTermRelationshipRequest,CreateTermRelationshipDetails>
- Returns:
- instance of CreateTermRelationshipRequest
 
 - 
body$public CreateTermRelationshipRequest.Builder body$(CreateTermRelationshipDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateTermRelationshipRequest,CreateTermRelationshipDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateTermRelationshipRequest buildWithoutInvocationCallback() Build the instance of CreateTermRelationshipRequest 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 CreateTermRelationshipRequest
 
 
- 
 
-