Class UpdateAlarmRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.monitoring.requests.UpdateAlarmRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateAlarmRequest,UpdateAlarmDetails>
 - Enclosing class:
- UpdateAlarmRequest
 
 public static class UpdateAlarmRequest.Builder extends Object implements BmcRequest.Builder<UpdateAlarmRequest,UpdateAlarmDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateAlarmRequest.BuilderalarmId(String alarmId)The OCID of an alarm.UpdateAlarmRequest.Builderbody$(UpdateAlarmDetails body)Alternative setter for the body parameter.UpdateAlarmRequestbuild()Build the instance of UpdateAlarmRequest as configured by this builderUpdateAlarmRequestbuildWithoutInvocationCallback()Build the instance of UpdateAlarmRequest as configured by this builderUpdateAlarmRequest.Buildercopy(UpdateAlarmRequest o)Copy method to populate the builder with values from the given instance.UpdateAlarmRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateAlarmRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateAlarmRequest.BuilderopcRequestId(String opcRequestId)Customer part of the request identifier token.UpdateAlarmRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateAlarmRequest.BuilderupdateAlarmDetails(UpdateAlarmDetails updateAlarmDetails)Document for updating an alarm.
 
- 
- 
- 
Method Detail- 
alarmIdpublic UpdateAlarmRequest.Builder alarmId(String alarmId) The OCID of an alarm.- Parameters:
- alarmId- the value to set
- Returns:
- this builder instance
 
 - 
updateAlarmDetailspublic UpdateAlarmRequest.Builder updateAlarmDetails(UpdateAlarmDetails updateAlarmDetails) Document for updating an alarm.- Parameters:
- updateAlarmDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateAlarmRequest.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 UpdateAlarmRequest.Builder opcRequestId(String opcRequestId) Customer part of the request identifier token.If you need to contact Oracle about a particular request, please provide the complete request ID. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateAlarmRequest.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 UpdateAlarmRequest.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 UpdateAlarmRequest.Builder copy(UpdateAlarmRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateAlarmRequest,UpdateAlarmDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateAlarmRequest build() Build the instance of UpdateAlarmRequest 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<UpdateAlarmRequest,UpdateAlarmDetails>
- Returns:
- instance of UpdateAlarmRequest
 
 - 
body$public UpdateAlarmRequest.Builder body$(UpdateAlarmDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateAlarmRequest,UpdateAlarmDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateAlarmRequest buildWithoutInvocationCallback() Build the instance of UpdateAlarmRequest 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 UpdateAlarmRequest
 
 
- 
 
-