Package com.oracle.bmc.budget.requests
Class CreateAlertRuleRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.budget.requests.CreateAlertRuleRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateAlertRuleRequest,CreateAlertRuleDetails>
 - Enclosing class:
- CreateAlertRuleRequest
 
 public static class CreateAlertRuleRequest.Builder extends Object implements BmcRequest.Builder<CreateAlertRuleRequest,CreateAlertRuleDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateAlertRuleRequest.Builderbody$(CreateAlertRuleDetails body)Alternative setter for the body parameter.CreateAlertRuleRequest.BuilderbudgetId(String budgetId)The unique budget OCID.CreateAlertRuleRequestbuild()Build the instance of CreateAlertRuleRequest as configured by this builderCreateAlertRuleRequestbuildWithoutInvocationCallback()Build the instance of CreateAlertRuleRequest as configured by this builderCreateAlertRuleRequest.Buildercopy(CreateAlertRuleRequest o)Copy method to populate the builder with values from the given instance.CreateAlertRuleRequest.BuildercreateAlertRuleDetails(CreateAlertRuleDetails createAlertRuleDetails)Details for the new Alert Rule.CreateAlertRuleRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateAlertRuleRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.CreateAlertRuleRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried, in case of a timeout or server error, without risk of executing that same action again.CreateAlertRuleRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
budgetIdpublic CreateAlertRuleRequest.Builder budgetId(String budgetId) The unique budget OCID.- Parameters:
- budgetId- the value to set
- Returns:
- this builder instance
 
 - 
createAlertRuleDetailspublic CreateAlertRuleRequest.Builder createAlertRuleDetails(CreateAlertRuleDetails createAlertRuleDetails) Details for the new Alert Rule.- Parameters:
- createAlertRuleDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRetryTokenpublic CreateAlertRuleRequest.Builder opcRetryToken(String opcRetryToken) A token that uniquely identifies a request so it can be retried, in case of a timeout or server error, without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. - Parameters:
- opcRetryToken- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreateAlertRuleRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic CreateAlertRuleRequest.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 CreateAlertRuleRequest.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 CreateAlertRuleRequest.Builder copy(CreateAlertRuleRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateAlertRuleRequest,CreateAlertRuleDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateAlertRuleRequest build() Build the instance of CreateAlertRuleRequest 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<CreateAlertRuleRequest,CreateAlertRuleDetails>
- Returns:
- instance of CreateAlertRuleRequest
 
 - 
body$public CreateAlertRuleRequest.Builder body$(CreateAlertRuleDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateAlertRuleRequest,CreateAlertRuleDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateAlertRuleRequest buildWithoutInvocationCallback() Build the instance of CreateAlertRuleRequest 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 CreateAlertRuleRequest
 
 
- 
 
-