Class UpdateJavaDownloadTokenRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.jmsjavadownloads.requests.UpdateJavaDownloadTokenRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateJavaDownloadTokenRequest,UpdateJavaDownloadTokenDetails>
- Enclosing class:
- UpdateJavaDownloadTokenRequest
public static class UpdateJavaDownloadTokenRequest.Builder extends Object implements BmcRequest.Builder<UpdateJavaDownloadTokenRequest,UpdateJavaDownloadTokenDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateJavaDownloadTokenRequest.Builderbody$(UpdateJavaDownloadTokenDetails body)Alternative setter for the body parameter.UpdateJavaDownloadTokenRequestbuild()Build the instance of UpdateJavaDownloadTokenRequest as configured by this builderUpdateJavaDownloadTokenRequestbuildWithoutInvocationCallback()Build the instance of UpdateJavaDownloadTokenRequest as configured by this builderUpdateJavaDownloadTokenRequest.Buildercopy(UpdateJavaDownloadTokenRequest o)Copy method to populate the builder with values from the given instance.UpdateJavaDownloadTokenRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateJavaDownloadTokenRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateJavaDownloadTokenRequest.BuilderjavaDownloadTokenId(String javaDownloadTokenId)Unique JavaDownloadToken identifier.UpdateJavaDownloadTokenRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateJavaDownloadTokenRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateJavaDownloadTokenRequest.BuilderupdateJavaDownloadTokenDetails(UpdateJavaDownloadTokenDetails updateJavaDownloadTokenDetails)The attributes to be updated.
-
-
-
Method Detail
-
javaDownloadTokenId
public UpdateJavaDownloadTokenRequest.Builder javaDownloadTokenId(String javaDownloadTokenId)
Unique JavaDownloadToken identifier.- Parameters:
javaDownloadTokenId- the value to set- Returns:
- this builder instance
-
updateJavaDownloadTokenDetails
public UpdateJavaDownloadTokenRequest.Builder updateJavaDownloadTokenDetails(UpdateJavaDownloadTokenDetails updateJavaDownloadTokenDetails)
The attributes to be updated.- Parameters:
updateJavaDownloadTokenDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateJavaDownloadTokenRequest.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 UpdateJavaDownloadTokenRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateJavaDownloadTokenRequest.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 UpdateJavaDownloadTokenRequest.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 UpdateJavaDownloadTokenRequest.Builder copy(UpdateJavaDownloadTokenRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateJavaDownloadTokenRequest,UpdateJavaDownloadTokenDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateJavaDownloadTokenRequest build()
Build the instance of UpdateJavaDownloadTokenRequest 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<UpdateJavaDownloadTokenRequest,UpdateJavaDownloadTokenDetails>- Returns:
- instance of UpdateJavaDownloadTokenRequest
-
body$
public UpdateJavaDownloadTokenRequest.Builder body$(UpdateJavaDownloadTokenDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateJavaDownloadTokenRequest,UpdateJavaDownloadTokenDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateJavaDownloadTokenRequest buildWithoutInvocationCallback()
Build the instance of UpdateJavaDownloadTokenRequest 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 UpdateJavaDownloadTokenRequest
-
-