Package com.oracle.bmc.oda.requests
Class ExportSkillRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.requests.ExportSkillRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ExportSkillRequest,ExportSkillDetails>
- Enclosing class:
- ExportSkillRequest
public static class ExportSkillRequest.Builder extends Object implements BmcRequest.Builder<ExportSkillRequest,ExportSkillDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExportSkillRequest.Builder
body$(ExportSkillDetails body)
Alternative setter for the body parameter.ExportSkillRequest
build()
Build the instance of ExportSkillRequest as configured by this builderExportSkillRequest
buildWithoutInvocationCallback()
Build the instance of ExportSkillRequest as configured by this builderExportSkillRequest.Builder
copy(ExportSkillRequest o)
Copy method to populate the builder with values from the given instance.ExportSkillRequest.Builder
exportSkillDetails(ExportSkillDetails exportSkillDetails)
Where in Object Storage to export the Skill to.ExportSkillRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ExportSkillRequest.Builder
odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.ExportSkillRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ExportSkillRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ExportSkillRequest.Builder
skillId(String skillId)
Unique Skill identifier.
-
-
-
Method Detail
-
odaInstanceId
public ExportSkillRequest.Builder odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.- Parameters:
odaInstanceId
- the value to set- Returns:
- this builder instance
-
skillId
public ExportSkillRequest.Builder skillId(String skillId)
Unique Skill identifier.- Parameters:
skillId
- the value to set- Returns:
- this builder instance
-
exportSkillDetails
public ExportSkillRequest.Builder exportSkillDetails(ExportSkillDetails exportSkillDetails)
Where in Object Storage to export the Skill to.- Parameters:
exportSkillDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ExportSkillRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.This value is included in the opc-request-id response header.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ExportSkillRequest.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 ExportSkillRequest.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 ExportSkillRequest.Builder copy(ExportSkillRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ExportSkillRequest,ExportSkillDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ExportSkillRequest build()
Build the instance of ExportSkillRequest 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<ExportSkillRequest,ExportSkillDetails>
- Returns:
- instance of ExportSkillRequest
-
body$
public ExportSkillRequest.Builder body$(ExportSkillDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<ExportSkillRequest,ExportSkillDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public ExportSkillRequest buildWithoutInvocationCallback()
Build the instance of ExportSkillRequest 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 ExportSkillRequest
-
-