Class ModifySnapshotSettingsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.databasemanagement.requests.ModifySnapshotSettingsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
- Enclosing class:
- ModifySnapshotSettingsRequest
public static class ModifySnapshotSettingsRequest.Builder extends Object implements BmcRequest.Builder<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ModifySnapshotSettingsRequest.Builder
body$(ModifySnapshotSettingsDetails body)
Alternative setter for the body parameter.ModifySnapshotSettingsRequest
build()
Build the instance of ModifySnapshotSettingsRequest as configured by this builderModifySnapshotSettingsRequest
buildWithoutInvocationCallback()
Build the instance of ModifySnapshotSettingsRequest as configured by this builderModifySnapshotSettingsRequest.Builder
copy(ModifySnapshotSettingsRequest o)
Copy method to populate the builder with values from the given instance.ModifySnapshotSettingsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ModifySnapshotSettingsRequest.Builder
managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.ModifySnapshotSettingsRequest.Builder
modifySnapshotSettingsDetails(ModifySnapshotSettingsDetails modifySnapshotSettingsDetails)
Request to modify snapshot settings for a Database.ModifySnapshotSettingsRequest.Builder
opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.ModifySnapshotSettingsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ModifySnapshotSettingsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
managedDatabaseId
public ModifySnapshotSettingsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.- Parameters:
managedDatabaseId
- the value to set- Returns:
- this builder instance
-
modifySnapshotSettingsDetails
public ModifySnapshotSettingsRequest.Builder modifySnapshotSettingsDetails(ModifySnapshotSettingsDetails modifySnapshotSettingsDetails)
Request to modify snapshot settings for a Database.- Parameters:
modifySnapshotSettingsDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ModifySnapshotSettingsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
opcNamedCredentialId
public ModifySnapshotSettingsRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.- Parameters:
opcNamedCredentialId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ModifySnapshotSettingsRequest.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 ModifySnapshotSettingsRequest.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 ModifySnapshotSettingsRequest.Builder copy(ModifySnapshotSettingsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ModifySnapshotSettingsRequest build()
Build the instance of ModifySnapshotSettingsRequest 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<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
- Returns:
- instance of ModifySnapshotSettingsRequest
-
body$
public ModifySnapshotSettingsRequest.Builder body$(ModifySnapshotSettingsDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ModifySnapshotSettingsRequest buildWithoutInvocationCallback()
Build the instance of ModifySnapshotSettingsRequest 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 ModifySnapshotSettingsRequest
-
-