public static class ResourceType.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ResourceType |
build() |
ResourceType.Builder |
copy(ResourceType model) |
ResourceType.Builder |
fields(List<QueryableFieldDescription> fields)
List of all the fields and their value type that are indexed for querying.
|
ResourceType.Builder |
name(String name)
The unique name of the resource type, which matches the value returned as part of the
ResourceSummary object.
|
public ResourceType.Builder name(String name)
The unique name of the resource type, which matches the value returned as part of the ResourceSummary object.
name
- the value to setpublic ResourceType.Builder fields(List<QueryableFieldDescription> fields)
List of all the fields and their value type that are indexed for querying.
fields
- the value to setpublic ResourceType build()
public ResourceType.Builder copy(ResourceType model)
Copyright © 2016–2024. All rights reserved.