public static class CreateRecordDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateRecordDetails |
build() |
CreateRecordDetails.Builder |
compartmentId(String compartmentId)
The OCID of the compartment for the record.
|
CreateRecordDetails.Builder |
copy(CreateRecordDetails model) |
CreateRecordDetails.Builder |
datasetId(String datasetId)
The OCID of the dataset to associate the record with.
|
CreateRecordDetails.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags for this resource.
|
CreateRecordDetails.Builder |
freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope.
|
CreateRecordDetails.Builder |
name(String name)
The name is automatically assigned by the service.
|
CreateRecordDetails.Builder |
recordMetadata(RecordMetadata recordMetadata) |
CreateRecordDetails.Builder |
sourceDetails(CreateSourceDetails sourceDetails) |
public CreateRecordDetails.Builder name(String name)
The name is automatically assigned by the service. It is unique and immutable.
name
- the value to setpublic CreateRecordDetails.Builder datasetId(String datasetId)
The OCID of the dataset to associate the record with.
datasetId
- the value to setpublic CreateRecordDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment for the record. This is tied to the dataset. It is not changeable on the record itself.
compartmentId
- the value to setpublic CreateRecordDetails.Builder sourceDetails(CreateSourceDetails sourceDetails)
public CreateRecordDetails.Builder recordMetadata(RecordMetadata recordMetadata)
public CreateRecordDetails.Builder freeformTags(Map<String,String> freeformTags)
A simple key-value pair that is applied without any predefined name, type, or scope. It
exists for cross-compatibility only. For example: {"bar-key": "value"}
freeformTags
- the value to setpublic CreateRecordDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
The defined tags for this resource. Each key is predefined and scoped to a namespace. For
example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic CreateRecordDetails build()
public CreateRecordDetails.Builder copy(CreateRecordDetails model)
Copyright © 2016–2024. All rights reserved.