Class ChangePlanRetentionRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.ChangePlanRetentionRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ChangePlanRetentionRequest,ChangePlanRetentionDetails>
- Enclosing class:
- ChangePlanRetentionRequest
public static class ChangePlanRetentionRequest.Builder extends Object implements BmcRequest.Builder<ChangePlanRetentionRequest,ChangePlanRetentionDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChangePlanRetentionRequest.Builderbody$(ChangePlanRetentionDetails body)Alternative setter for the body parameter.ChangePlanRetentionRequestbuild()Build the instance of ChangePlanRetentionRequest as configured by this builderChangePlanRetentionRequestbuildWithoutInvocationCallback()Build the instance of ChangePlanRetentionRequest as configured by this builderChangePlanRetentionRequest.BuilderchangePlanRetentionDetails(ChangePlanRetentionDetails changePlanRetentionDetails)The details required to change the plan retention period.ChangePlanRetentionRequest.Buildercopy(ChangePlanRetentionRequest o)Copy method to populate the builder with values from the given instance.ChangePlanRetentionRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ChangePlanRetentionRequest.BuildermanagedDatabaseId(String managedDatabaseId)The OCID of the Managed Database.ChangePlanRetentionRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ChangePlanRetentionRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
managedDatabaseId
public ChangePlanRetentionRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId- the value to set- Returns:
- this builder instance
-
changePlanRetentionDetails
public ChangePlanRetentionRequest.Builder changePlanRetentionDetails(ChangePlanRetentionDetails changePlanRetentionDetails)
The details required to change the plan retention period.- Parameters:
changePlanRetentionDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public ChangePlanRetentionRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ChangePlanRetentionRequest.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 ChangePlanRetentionRequest.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 ChangePlanRetentionRequest.Builder copy(ChangePlanRetentionRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ChangePlanRetentionRequest,ChangePlanRetentionDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ChangePlanRetentionRequest build()
Build the instance of ChangePlanRetentionRequest 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 interfaceBmcRequest.Builder<ChangePlanRetentionRequest,ChangePlanRetentionDetails>- Returns:
- instance of ChangePlanRetentionRequest
-
body$
public ChangePlanRetentionRequest.Builder body$(ChangePlanRetentionDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<ChangePlanRetentionRequest,ChangePlanRetentionDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ChangePlanRetentionRequest buildWithoutInvocationCallback()
Build the instance of ChangePlanRetentionRequest 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 ChangePlanRetentionRequest
-
-