public static class ModifySnapshotSettingsRequest.Builder extends Object implements BmcRequest.Builder<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ModifySnapshotSettingsRequest.Builder |
body$(ModifySnapshotSettingsDetails body)
Alternative setter for the body parameter.
|
ModifySnapshotSettingsRequest |
build()
Build the instance of ModifySnapshotSettingsRequest as configured by this builder
|
ModifySnapshotSettingsRequest |
buildWithoutInvocationCallback()
Build the instance of ModifySnapshotSettingsRequest as configured by this builder
|
ModifySnapshotSettingsRequest.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.
|
public ModifySnapshotSettingsRequest.Builder managedDatabaseId(String managedDatabaseId)
The OCID of the Managed Database.
managedDatabaseId
- the value to setpublic ModifySnapshotSettingsRequest.Builder modifySnapshotSettingsDetails(ModifySnapshotSettingsDetails modifySnapshotSettingsDetails)
Request to modify snapshot settings for a Database.
modifySnapshotSettingsDetails
- the value to setpublic ModifySnapshotSettingsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ModifySnapshotSettingsRequest.Builder opcNamedCredentialId(String opcNamedCredentialId)
The OCID of the Named Credential.
opcNamedCredentialId
- the value to setpublic ModifySnapshotSettingsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ModifySnapshotSettingsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ModifySnapshotSettingsRequest.Builder copy(ModifySnapshotSettingsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
o
- other request from which to copy valuespublic ModifySnapshotSettingsRequest build()
Build the instance of ModifySnapshotSettingsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
public ModifySnapshotSettingsRequest.Builder body$(ModifySnapshotSettingsDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<ModifySnapshotSettingsRequest,ModifySnapshotSettingsDetails>
body
- the body parameterpublic ModifySnapshotSettingsRequest buildWithoutInvocationCallback()
Build the instance of ModifySnapshotSettingsRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.