Class PutToggleAutoActivateRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.apmtraces.requests.PutToggleAutoActivateRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<PutToggleAutoActivateRequest,Void>
- Enclosing class:
- PutToggleAutoActivateRequest
public static class PutToggleAutoActivateRequest.Builder extends Object implements BmcRequest.Builder<PutToggleAutoActivateRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutToggleAutoActivateRequest.Builder
apmDomainId(String apmDomainId)
The APM Domain ID for the intended request.PutToggleAutoActivateRequest
build()
Build the instance of PutToggleAutoActivateRequest as configured by this builderPutToggleAutoActivateRequest
buildWithoutInvocationCallback()
Build the instance of PutToggleAutoActivateRequest as configured by this builderPutToggleAutoActivateRequest.Builder
copy(PutToggleAutoActivateRequest o)
Copy method to populate the builder with values from the given instance.PutToggleAutoActivateRequest.Builder
dataKeyType(PutToggleAutoActivateRequest.DataKeyType dataKeyType)
Data key type for which auto-activate needs to be turned on or off.PutToggleAutoActivateRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.PutToggleAutoActivateRequest.Builder
isAutoActivateOn(Boolean isAutoActivateOn)
Autoactivate toggle switch.PutToggleAutoActivateRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.PutToggleAutoActivateRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
apmDomainId
public PutToggleAutoActivateRequest.Builder apmDomainId(String apmDomainId)
The APM Domain ID for the intended request.- Parameters:
apmDomainId
- the value to set- Returns:
- this builder instance
-
isAutoActivateOn
public PutToggleAutoActivateRequest.Builder isAutoActivateOn(Boolean isAutoActivateOn)
Autoactivate toggle switch.Set to true to turn on auto-activate. Set to false to turn off auto-activate.
- Parameters:
isAutoActivateOn
- the value to set- Returns:
- this builder instance
-
dataKeyType
public PutToggleAutoActivateRequest.Builder dataKeyType(PutToggleAutoActivateRequest.DataKeyType dataKeyType)
Data key type for which auto-activate needs to be turned on or off.- Parameters:
dataKeyType
- the value to set- Returns:
- this builder instance
-
opcRequestId
public PutToggleAutoActivateRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public PutToggleAutoActivateRequest.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 PutToggleAutoActivateRequest.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 PutToggleAutoActivateRequest.Builder copy(PutToggleAutoActivateRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<PutToggleAutoActivateRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public PutToggleAutoActivateRequest build()
Build the instance of PutToggleAutoActivateRequest 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<PutToggleAutoActivateRequest,Void>
- Returns:
- instance of PutToggleAutoActivateRequest
-
buildWithoutInvocationCallback
public PutToggleAutoActivateRequest buildWithoutInvocationCallback()
Build the instance of PutToggleAutoActivateRequest 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 PutToggleAutoActivateRequest
-
-