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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
javaDownloadTokenIdpublic UpdateJavaDownloadTokenRequest.Builder javaDownloadTokenId(String javaDownloadTokenId) Unique JavaDownloadToken identifier.- Parameters:
- javaDownloadTokenId- the value to set
- Returns:
- this builder instance
 
 - 
updateJavaDownloadTokenDetailspublic UpdateJavaDownloadTokenRequest.Builder updateJavaDownloadTokenDetails(UpdateJavaDownloadTokenDetails updateJavaDownloadTokenDetails) The attributes to be updated.- Parameters:
- updateJavaDownloadTokenDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic 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
 
 - 
opcRequestIdpublic UpdateJavaDownloadTokenRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic UpdateJavaDownloadTokenRequest.Builder copy(UpdateJavaDownloadTokenRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateJavaDownloadTokenRequest,UpdateJavaDownloadTokenDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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 interface- BmcRequest.Builder<UpdateJavaDownloadTokenRequest,UpdateJavaDownloadTokenDetails>
- Returns:
- instance of UpdateJavaDownloadTokenRequest
 
 - 
body$public UpdateJavaDownloadTokenRequest.Builder body$(UpdateJavaDownloadTokenDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateJavaDownloadTokenRequest,UpdateJavaDownloadTokenDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-