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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description EnableDataSafeConfigurationRequest.Builderbody$(EnableDataSafeConfigurationDetails body)Alternative setter for the body parameter.EnableDataSafeConfigurationRequestbuild()Build the instance of EnableDataSafeConfigurationRequest as configured by this builderEnableDataSafeConfigurationRequestbuildWithoutInvocationCallback()Build the instance of EnableDataSafeConfigurationRequest as configured by this builderEnableDataSafeConfigurationRequest.BuildercompartmentId(String compartmentId)A filter to return only resources that match the specified compartment OCID.EnableDataSafeConfigurationRequest.Buildercopy(EnableDataSafeConfigurationRequest o)Copy method to populate the builder with values from the given instance.EnableDataSafeConfigurationRequest.BuilderenableDataSafeConfigurationDetails(EnableDataSafeConfigurationDetails enableDataSafeConfigurationDetails)The details used to enable Data Safe.EnableDataSafeConfigurationRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.EnableDataSafeConfigurationRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.EnableDataSafeConfigurationRequest.BuilderopcRequestId(String opcRequestId)Unique identifier for the request.EnableDataSafeConfigurationRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.
 
- 
- 
- 
Method Detail- 
enableDataSafeConfigurationDetailspublic EnableDataSafeConfigurationRequest.Builder enableDataSafeConfigurationDetails(EnableDataSafeConfigurationDetails enableDataSafeConfigurationDetails) The details used to enable Data Safe.- Parameters:
- enableDataSafeConfigurationDetails- the value to set
- Returns:
- this builder instance
 
 - 
compartmentIdpublic 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
 
 - 
ifMatchpublic 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
 
 - 
opcRequestIdpublic EnableDataSafeConfigurationRequest.Builder opcRequestId(String opcRequestId) Unique identifier for the request.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic 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
 
 - 
retryConfigurationpublic 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
 
 - 
copypublic EnableDataSafeConfigurationRequest.Builder copy(EnableDataSafeConfigurationRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic 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:
- buildin interface- BmcRequest.Builder<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationDetails>
- Returns:
- instance of EnableDataSafeConfigurationRequest
 
 - 
body$public EnableDataSafeConfigurationRequest.Builder body$(EnableDataSafeConfigurationDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic 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
 
 
- 
 
-