Class PreviewScaleBlockchainPlatformRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.blockchain.requests.PreviewScaleBlockchainPlatformRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<PreviewScaleBlockchainPlatformRequest,ScaleBlockchainPlatformDetails>
- Enclosing class:
- PreviewScaleBlockchainPlatformRequest
public static class PreviewScaleBlockchainPlatformRequest.Builder extends Object implements BmcRequest.Builder<PreviewScaleBlockchainPlatformRequest,ScaleBlockchainPlatformDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PreviewScaleBlockchainPlatformRequest.BuilderblockchainPlatformId(String blockchainPlatformId)Unique service identifier.PreviewScaleBlockchainPlatformRequest.Builderbody$(ScaleBlockchainPlatformDetails body)Alternative setter for the body parameter.PreviewScaleBlockchainPlatformRequestbuild()Build the instance of PreviewScaleBlockchainPlatformRequest as configured by this builderPreviewScaleBlockchainPlatformRequestbuildWithoutInvocationCallback()Build the instance of PreviewScaleBlockchainPlatformRequest as configured by this builderPreviewScaleBlockchainPlatformRequest.Buildercopy(PreviewScaleBlockchainPlatformRequest o)Copy method to populate the builder with values from the given instance.PreviewScaleBlockchainPlatformRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.PreviewScaleBlockchainPlatformRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.PreviewScaleBlockchainPlatformRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.PreviewScaleBlockchainPlatformRequest.BuilderscaleBlockchainPlatformDetails(ScaleBlockchainPlatformDetails scaleBlockchainPlatformDetails)Input payload to scaleout blockchain platform.
-
-
-
Method Detail
-
blockchainPlatformId
public PreviewScaleBlockchainPlatformRequest.Builder blockchainPlatformId(String blockchainPlatformId)
Unique service identifier.- Parameters:
blockchainPlatformId- the value to set- Returns:
- this builder instance
-
scaleBlockchainPlatformDetails
public PreviewScaleBlockchainPlatformRequest.Builder scaleBlockchainPlatformDetails(ScaleBlockchainPlatformDetails scaleBlockchainPlatformDetails)
Input payload to scaleout blockchain platform.The payload cannot be empty.
- Parameters:
scaleBlockchainPlatformDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public PreviewScaleBlockchainPlatformRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public PreviewScaleBlockchainPlatformRequest.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 PreviewScaleBlockchainPlatformRequest.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 PreviewScaleBlockchainPlatformRequest.Builder copy(PreviewScaleBlockchainPlatformRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<PreviewScaleBlockchainPlatformRequest,ScaleBlockchainPlatformDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public PreviewScaleBlockchainPlatformRequest build()
Build the instance of PreviewScaleBlockchainPlatformRequest 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<PreviewScaleBlockchainPlatformRequest,ScaleBlockchainPlatformDetails>- Returns:
- instance of PreviewScaleBlockchainPlatformRequest
-
body$
public PreviewScaleBlockchainPlatformRequest.Builder body$(ScaleBlockchainPlatformDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<PreviewScaleBlockchainPlatformRequest,ScaleBlockchainPlatformDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public PreviewScaleBlockchainPlatformRequest buildWithoutInvocationCallback()
Build the instance of PreviewScaleBlockchainPlatformRequest 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 PreviewScaleBlockchainPlatformRequest
-
-