Class UpdateArtifactRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplacepublisher.requests.UpdateArtifactRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateArtifactRequest,UpdateArtifactDetails>
 - Enclosing class:
- UpdateArtifactRequest
 
 public static class UpdateArtifactRequest.Builder extends Object implements BmcRequest.Builder<UpdateArtifactRequest,UpdateArtifactDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateArtifactRequest.BuilderartifactId(String artifactId)artifact OCIDUpdateArtifactRequest.Builderbody$(UpdateArtifactDetails body)Alternative setter for the body parameter.UpdateArtifactRequestbuild()Build the instance of UpdateArtifactRequest as configured by this builderUpdateArtifactRequestbuildWithoutInvocationCallback()Build the instance of UpdateArtifactRequest as configured by this builderUpdateArtifactRequest.Buildercopy(UpdateArtifactRequest o)Copy method to populate the builder with values from the given instance.UpdateArtifactRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateArtifactRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateArtifactRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateArtifactRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateArtifactRequest.BuilderupdateArtifactDetails(UpdateArtifactDetails updateArtifactDetails)Request object for updating an artifact.
 
- 
- 
- 
Method Detail- 
artifactIdpublic UpdateArtifactRequest.Builder artifactId(String artifactId) artifact OCID- Parameters:
- artifactId- the value to set
- Returns:
- this builder instance
 
 - 
updateArtifactDetailspublic UpdateArtifactRequest.Builder updateArtifactDetails(UpdateArtifactDetails updateArtifactDetails) Request object for updating an artifact.- Parameters:
- updateArtifactDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateArtifactRequest.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 UpdateArtifactRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateArtifactRequest.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 UpdateArtifactRequest.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 UpdateArtifactRequest.Builder copy(UpdateArtifactRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateArtifactRequest,UpdateArtifactDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateArtifactRequest build() Build the instance of UpdateArtifactRequest 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<UpdateArtifactRequest,UpdateArtifactDetails>
- Returns:
- instance of UpdateArtifactRequest
 
 - 
body$public UpdateArtifactRequest.Builder body$(UpdateArtifactDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateArtifactRequest,UpdateArtifactDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateArtifactRequest buildWithoutInvocationCallback() Build the instance of UpdateArtifactRequest 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 UpdateArtifactRequest
 
 
- 
 
-