Package com.oracle.bmc.datasafe.requests
Class EnableDataSafeConfigurationRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.datasafe.requests.EnableDataSafeConfigurationRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationDetails>
- Enclosing class:
- EnableDataSafeConfigurationRequest
public static class EnableDataSafeConfigurationRequest.Builder extends Object implements BmcRequest.Builder<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableDataSafeConfigurationRequest.Builder
body$(EnableDataSafeConfigurationDetails body)
Alternative setter for the body parameter.EnableDataSafeConfigurationRequest
build()
Build the instance of EnableDataSafeConfigurationRequest as configured by this builderEnableDataSafeConfigurationRequest
buildWithoutInvocationCallback()
Build the instance of EnableDataSafeConfigurationRequest as configured by this builderEnableDataSafeConfigurationRequest.Builder
compartmentId(String compartmentId)
A filter to return only resources that match the specified compartment OCID.EnableDataSafeConfigurationRequest.Builder
copy(EnableDataSafeConfigurationRequest o)
Copy method to populate the builder with values from the given instance.EnableDataSafeConfigurationRequest.Builder
enableDataSafeConfigurationDetails(EnableDataSafeConfigurationDetails enableDataSafeConfigurationDetails)
The details used to enable Data Safe.EnableDataSafeConfigurationRequest.Builder
ifMatch(String ifMatch)
For optimistic concurrency control.EnableDataSafeConfigurationRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.EnableDataSafeConfigurationRequest.Builder
opcRequestId(String opcRequestId)
Unique identifier for the request.EnableDataSafeConfigurationRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
enableDataSafeConfigurationDetails
public EnableDataSafeConfigurationRequest.Builder enableDataSafeConfigurationDetails(EnableDataSafeConfigurationDetails enableDataSafeConfigurationDetails)
The details used to enable Data Safe.- Parameters:
enableDataSafeConfigurationDetails
- the value to set- Returns:
- this builder instance
-
compartmentId
public EnableDataSafeConfigurationRequest.Builder compartmentId(String compartmentId)
A filter to return only resources that match the specified compartment OCID.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
ifMatch
public EnableDataSafeConfigurationRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
opcRequestId
public EnableDataSafeConfigurationRequest.Builder opcRequestId(String opcRequestId)
Unique identifier for the request.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public EnableDataSafeConfigurationRequest.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 EnableDataSafeConfigurationRequest.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 EnableDataSafeConfigurationRequest.Builder copy(EnableDataSafeConfigurationRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public EnableDataSafeConfigurationRequest build()
Build the instance of EnableDataSafeConfigurationRequest 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<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationDetails>
- Returns:
- instance of EnableDataSafeConfigurationRequest
-
body$
public EnableDataSafeConfigurationRequest.Builder body$(EnableDataSafeConfigurationDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public EnableDataSafeConfigurationRequest buildWithoutInvocationCallback()
Build the instance of EnableDataSafeConfigurationRequest 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 EnableDataSafeConfigurationRequest
-
-