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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
termVersionId
public UpdateTermVersionContentRequest.Builder termVersionId(String termVersionId)
term version OCID- Parameters:
termVersionId- the value to set- Returns:
- this builder instance
-
updateTermVersionContent
public UpdateTermVersionContentRequest.Builder updateTermVersionContent(InputStream updateTermVersionContent)
The term attachment to upload.- Parameters:
updateTermVersionContent- the value to set- Returns:
- this builder instance
-
ifMatch
public 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
-
opcRequestId
public UpdateTermVersionContentRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
displayName
public UpdateTermVersionContentRequest.Builder displayName(String displayName)
The name of the resource.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
invocationCallback
public 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
-
retryConfiguration
public 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
-
copy
public UpdateTermVersionContentRequest.Builder copy(UpdateTermVersionContentRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateTermVersionContentRequest,InputStream>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public 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 interfaceBmcRequest.Builder<UpdateTermVersionContentRequest,InputStream>- Returns:
- instance of UpdateTermVersionContentRequest
-
body$
public UpdateTermVersionContentRequest.Builder body$(InputStream body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateTermVersionContentRequest,InputStream>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public 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
-
-