public static class CreateReleaseImportOptions.Builder extends Object
| Constructor and Description |
|---|
Builder()
Instantiates a new builder.
|
Builder(String assistantId,
InputStream body)
Instantiates a new builder with required properties.
|
| Modifier and Type | Method and Description |
|---|---|
CreateReleaseImportOptions.Builder |
assistantId(String assistantId)
Set the assistantId.
|
CreateReleaseImportOptions.Builder |
body(File body)
Set the body.
|
CreateReleaseImportOptions.Builder |
body(InputStream body)
Set the body.
|
CreateReleaseImportOptions |
build()
Builds a CreateReleaseImportOptions.
|
CreateReleaseImportOptions.Builder |
includeAudit(Boolean includeAudit)
Set the includeAudit.
|
public Builder()
public Builder(String assistantId, InputStream body)
assistantId - the assistantIdbody - the bodypublic CreateReleaseImportOptions build()
public CreateReleaseImportOptions.Builder assistantId(String assistantId)
assistantId - the assistantIdpublic CreateReleaseImportOptions.Builder body(InputStream body)
body - the bodypublic CreateReleaseImportOptions.Builder includeAudit(Boolean includeAudit)
includeAudit - the includeAuditpublic CreateReleaseImportOptions.Builder body(File body) throws FileNotFoundException
body - the bodyFileNotFoundException - if the file could not be foundCopyright © 2025 IBM Cloud. All rights reserved.