Class UpdateTermVersionContentRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplacepublisher.requests.UpdateTermVersionContentRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateTermVersionContentRequest,InputStream>
 - Enclosing class:
- UpdateTermVersionContentRequest
 
 public static class UpdateTermVersionContentRequest.Builder extends Object implements BmcRequest.Builder<UpdateTermVersionContentRequest,InputStream> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTermVersionContentRequest.Builderbody$(InputStream body)Alternative setter for the body parameter.UpdateTermVersionContentRequestbuild()Build the instance of UpdateTermVersionContentRequest as configured by this builderUpdateTermVersionContentRequestbuildWithoutInvocationCallback()Build the instance of UpdateTermVersionContentRequest as configured by this builderUpdateTermVersionContentRequest.Buildercopy(UpdateTermVersionContentRequest o)Copy method to populate the builder with values from the given instance.UpdateTermVersionContentRequest.BuilderdisplayName(String displayName)The name of the resource.UpdateTermVersionContentRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateTermVersionContentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateTermVersionContentRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateTermVersionContentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateTermVersionContentRequest.BuildertermVersionId(String termVersionId)term version OCIDUpdateTermVersionContentRequest.BuilderupdateTermVersionContent(InputStream updateTermVersionContent)The term attachment to upload.
 
- 
- 
- 
Method Detail- 
termVersionIdpublic UpdateTermVersionContentRequest.Builder termVersionId(String termVersionId) term version OCID- Parameters:
- termVersionId- the value to set
- Returns:
- this builder instance
 
 - 
updateTermVersionContentpublic UpdateTermVersionContentRequest.Builder updateTermVersionContent(InputStream updateTermVersionContent) The term attachment to upload.- Parameters:
- updateTermVersionContent- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateTermVersionContentRequest.Builder ifMatch(String ifMatch) For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value. - Parameters:
- ifMatch- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic UpdateTermVersionContentRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic UpdateTermVersionContentRequest.Builder displayName(String displayName) The name of the resource.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateTermVersionContentRequest.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 UpdateTermVersionContentRequest.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 UpdateTermVersionContentRequest.Builder copy(UpdateTermVersionContentRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateTermVersionContentRequest,InputStream>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateTermVersionContentRequest build() Build the instance of UpdateTermVersionContentRequest 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<UpdateTermVersionContentRequest,InputStream>
- Returns:
- instance of UpdateTermVersionContentRequest
 
 - 
body$public UpdateTermVersionContentRequest.Builder body$(InputStream body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateTermVersionContentRequest,InputStream>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateTermVersionContentRequest buildWithoutInvocationCallback() Build the instance of UpdateTermVersionContentRequest 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 UpdateTermVersionContentRequest
 
 
- 
 
-