Class UpdateApmDomainRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apmcontrolplane.requests.UpdateApmDomainRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateApmDomainRequest,UpdateApmDomainDetails>
- Enclosing class:
- UpdateApmDomainRequest
public static class UpdateApmDomainRequest.Builder extends Object implements BmcRequest.Builder<UpdateApmDomainRequest,UpdateApmDomainDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateApmDomainRequest.Builder
apmDomainId(String apmDomainId)
The OCID of the APM domain.UpdateApmDomainRequest.Builder
body$(UpdateApmDomainDetails body)
Alternative setter for the body parameter.UpdateApmDomainRequest
build()
Build the instance of UpdateApmDomainRequest as configured by this builderUpdateApmDomainRequest
buildWithoutInvocationCallback()
Build the instance of UpdateApmDomainRequest as configured by this builderUpdateApmDomainRequest.Builder
copy(UpdateApmDomainRequest o)
Copy method to populate the builder with values from the given instance.UpdateApmDomainRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.UpdateApmDomainRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateApmDomainRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.UpdateApmDomainRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateApmDomainRequest.Builder
updateApmDomainDetails(UpdateApmDomainDetails updateApmDomainDetails)
The information to be updated for the APM domain.
-
-
-
Method Detail
-
apmDomainId
public UpdateApmDomainRequest.Builder apmDomainId(String apmDomainId)
The OCID of the APM domain.- Parameters:
apmDomainId
- the value to set- Returns:
- this builder instance
-
updateApmDomainDetails
public UpdateApmDomainRequest.Builder updateApmDomainDetails(UpdateApmDomainDetails updateApmDomainDetails)
The information to be updated for the APM domain.- Parameters:
updateApmDomainDetails
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateApmDomainRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.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
-
opcRequestId
public UpdateApmDomainRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateApmDomainRequest.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
-
retryConfiguration
public UpdateApmDomainRequest.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
-
copy
public UpdateApmDomainRequest.Builder copy(UpdateApmDomainRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateApmDomainRequest,UpdateApmDomainDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateApmDomainRequest build()
Build the instance of UpdateApmDomainRequest 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:
build
in interfaceBmcRequest.Builder<UpdateApmDomainRequest,UpdateApmDomainDetails>
- Returns:
- instance of UpdateApmDomainRequest
-
body$
public UpdateApmDomainRequest.Builder body$(UpdateApmDomainDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateApmDomainRequest,UpdateApmDomainDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateApmDomainRequest buildWithoutInvocationCallback()
Build the instance of UpdateApmDomainRequest 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 UpdateApmDomainRequest
-
-