Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(Map<String,Object> attributes)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Record.Builder |
attributes(Map<String,Object> attributes)
Set the attributes.
|
Record |
build()
Builds a Record.
|
Record.Builder |
entityCount(long entityCount)
Set the entityCount.
|
Record.Builder |
id(String id)
Set the id.
|
Record.Builder |
recordNumber(long recordNumber)
Set the recordNumber.
|
Record.Builder |
type(String type)
Set the type.
|
Record.Builder |
typeName(String typeName)
Set the typeName.
|
public Record build()
public Record.Builder type(String type)
type
- the typepublic Record.Builder id(String id)
id
- the idpublic Record.Builder attributes(Map<String,Object> attributes)
attributes
- the attributespublic Record.Builder typeName(String typeName)
typeName
- the typeNamepublic Record.Builder entityCount(long entityCount)
entityCount
- the entityCountpublic Record.Builder recordNumber(long recordNumber)
recordNumber
- the recordNumberCopyright © 2021 IBM Cloud. All rights reserved.