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.Builder
blockchainPlatformId(String blockchainPlatformId)
Unique service identifier.PreviewScaleBlockchainPlatformRequest.Builder
body$(ScaleBlockchainPlatformDetails body)
Alternative setter for the body parameter.PreviewScaleBlockchainPlatformRequest
build()
Build the instance of PreviewScaleBlockchainPlatformRequest as configured by this builderPreviewScaleBlockchainPlatformRequest
buildWithoutInvocationCallback()
Build the instance of PreviewScaleBlockchainPlatformRequest as configured by this builderPreviewScaleBlockchainPlatformRequest.Builder
copy(PreviewScaleBlockchainPlatformRequest o)
Copy method to populate the builder with values from the given instance.PreviewScaleBlockchainPlatformRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.PreviewScaleBlockchainPlatformRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.PreviewScaleBlockchainPlatformRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.PreviewScaleBlockchainPlatformRequest.Builder
scaleBlockchainPlatformDetails(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:
copy
in 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:
build
in 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
-
-