Package com.oracle.bmc.database.requests
Class UpdateMaintenanceRunRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.database.requests.UpdateMaintenanceRunRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateMaintenanceRunRequest,UpdateMaintenanceRunDetails>
 - Enclosing class:
- UpdateMaintenanceRunRequest
 
 public static class UpdateMaintenanceRunRequest.Builder extends Object implements BmcRequest.Builder<UpdateMaintenanceRunRequest,UpdateMaintenanceRunDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMaintenanceRunRequest.Builderbody$(UpdateMaintenanceRunDetails body)Alternative setter for the body parameter.UpdateMaintenanceRunRequestbuild()Build the instance of UpdateMaintenanceRunRequest as configured by this builderUpdateMaintenanceRunRequestbuildWithoutInvocationCallback()Build the instance of UpdateMaintenanceRunRequest as configured by this builderUpdateMaintenanceRunRequest.Buildercopy(UpdateMaintenanceRunRequest o)Copy method to populate the builder with values from the given instance.UpdateMaintenanceRunRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateMaintenanceRunRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateMaintenanceRunRequest.BuildermaintenanceRunId(String maintenanceRunId)The maintenance run OCID.UpdateMaintenanceRunRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateMaintenanceRunRequest.BuilderupdateMaintenanceRunDetails(UpdateMaintenanceRunDetails updateMaintenanceRunDetails)Request to update the properties of a maintenance run.
 
- 
- 
- 
Method Detail- 
maintenanceRunIdpublic UpdateMaintenanceRunRequest.Builder maintenanceRunId(String maintenanceRunId) The maintenance run OCID.- Parameters:
- maintenanceRunId- the value to set
- Returns:
- this builder instance
 
 - 
updateMaintenanceRunDetailspublic UpdateMaintenanceRunRequest.Builder updateMaintenanceRunDetails(UpdateMaintenanceRunDetails updateMaintenanceRunDetails) Request to update the properties of a maintenance run.- Parameters:
- updateMaintenanceRunDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateMaintenanceRunRequest.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
 
 - 
invocationCallbackpublic UpdateMaintenanceRunRequest.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 UpdateMaintenanceRunRequest.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 UpdateMaintenanceRunRequest.Builder copy(UpdateMaintenanceRunRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateMaintenanceRunRequest,UpdateMaintenanceRunDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateMaintenanceRunRequest build() Build the instance of UpdateMaintenanceRunRequest 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<UpdateMaintenanceRunRequest,UpdateMaintenanceRunDetails>
- Returns:
- instance of UpdateMaintenanceRunRequest
 
 - 
body$public UpdateMaintenanceRunRequest.Builder body$(UpdateMaintenanceRunDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateMaintenanceRunRequest,UpdateMaintenanceRunDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateMaintenanceRunRequest buildWithoutInvocationCallback() Build the instance of UpdateMaintenanceRunRequest 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 UpdateMaintenanceRunRequest
 
 
- 
 
-