Class CreateEntityShapeRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.dataintegration.requests.CreateEntityShapeRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<CreateEntityShapeRequest,CreateEntityShapeDetails>
- Enclosing class:
- CreateEntityShapeRequest
public static class CreateEntityShapeRequest.Builder extends Object implements BmcRequest.Builder<CreateEntityShapeRequest,CreateEntityShapeDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateEntityShapeRequest.Builderbody$(CreateEntityShapeDetails body)Alternative setter for the body parameter.CreateEntityShapeRequestbuild()Build the instance of CreateEntityShapeRequest as configured by this builderCreateEntityShapeRequestbuildWithoutInvocationCallback()Build the instance of CreateEntityShapeRequest as configured by this builderCreateEntityShapeRequest.BuilderconnectionKey(String connectionKey)The connection key.CreateEntityShapeRequest.Buildercopy(CreateEntityShapeRequest o)Copy method to populate the builder with values from the given instance.CreateEntityShapeRequest.BuildercreateEntityShapeDetails(CreateEntityShapeDetails createEntityShapeDetails)The details needed to create the data entity shape.CreateEntityShapeRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.CreateEntityShapeRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateEntityShapeRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateEntityShapeRequest.BuilderopcRetryToken(String opcRetryToken)A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.CreateEntityShapeRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.CreateEntityShapeRequest.BuilderschemaResourceName(String schemaResourceName)The schema resource name used for retrieving schemas.CreateEntityShapeRequest.BuilderworkspaceId(String workspaceId)The workspace ID.
-
-
-
Method Detail
-
workspaceId
public CreateEntityShapeRequest.Builder workspaceId(String workspaceId)
The workspace ID.- Parameters:
workspaceId- the value to set- Returns:
- this builder instance
-
connectionKey
public CreateEntityShapeRequest.Builder connectionKey(String connectionKey)
The connection key.- Parameters:
connectionKey- the value to set- Returns:
- this builder instance
-
schemaResourceName
public CreateEntityShapeRequest.Builder schemaResourceName(String schemaResourceName)
The schema resource name used for retrieving schemas.- Parameters:
schemaResourceName- the value to set- Returns:
- this builder instance
-
createEntityShapeDetails
public CreateEntityShapeRequest.Builder createEntityShapeDetails(CreateEntityShapeDetails createEntityShapeDetails)
The details needed to create the data entity shape.- Parameters:
createEntityShapeDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public CreateEntityShapeRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
opcRetryToken
public CreateEntityShapeRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.- Parameters:
opcRetryToken- the value to set- Returns:
- this builder instance
-
ifMatch
public CreateEntityShapeRequest.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. When ‘if-match’ is provided and its value does not exactly match the ‘etag’ of the resource on the server, the request fails with the 412 response code.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
invocationCallback
public CreateEntityShapeRequest.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 CreateEntityShapeRequest.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 CreateEntityShapeRequest.Builder copy(CreateEntityShapeRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<CreateEntityShapeRequest,CreateEntityShapeDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateEntityShapeRequest build()
Build the instance of CreateEntityShapeRequest 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 interfaceBmcRequest.Builder<CreateEntityShapeRequest,CreateEntityShapeDetails>- Returns:
- instance of CreateEntityShapeRequest
-
body$
public CreateEntityShapeRequest.Builder body$(CreateEntityShapeDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<CreateEntityShapeRequest,CreateEntityShapeDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public CreateEntityShapeRequest buildWithoutInvocationCallback()
Build the instance of CreateEntityShapeRequest 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 CreateEntityShapeRequest
-
-