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