Class ResourceType.Builder
- java.lang.Object
-
- com.oracle.bmc.resourcesearch.model.ResourceType.Builder
-
- Enclosing class:
- ResourceType
public static class ResourceType.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
name
public ResourceType.Builder name(String name)
The unique name of the resource type, which matches the value returned as part of the ResourceSummary object.- Parameters:
name
- the value to set- Returns:
- this builder
-
fields
public ResourceType.Builder fields(List<QueryableFieldDescription> fields)
List of all the fields and their value type that are indexed for querying.- Parameters:
fields
- the value to set- Returns:
- this builder
-
build
public ResourceType build()
-
copy
public ResourceType.Builder copy(ResourceType model)
-
-