public static final class CategoryTypes.CreateSpec.Builder
extends java.lang.Object
CategoryTypes.CreateSpec
.Constructor and Description |
---|
Builder(java.lang.String name,
java.lang.String description,
CategoryModel.Cardinality cardinality,
java.util.Set<java.lang.String> associableTypes)
Constructor with parameters for the required properties of
CategoryTypes.CreateSpec . |
Modifier and Type | Method and Description |
---|---|
CategoryTypes.CreateSpec |
build() |
CategoryTypes.CreateSpec.Builder |
setCategoryId(java.lang.String categoryId)
This property was added in vSphere API 6.7.
|
public Builder(java.lang.String name, java.lang.String description, CategoryModel.Cardinality cardinality, java.util.Set<java.lang.String> associableTypes)
CategoryTypes.CreateSpec
.public CategoryTypes.CreateSpec.Builder setCategoryId(java.lang.String categoryId)
null
an identifier will be generated by the servercategoryId
- New value for the property.
When clients pass a value of this class as a parameter, the property must be an
identifier for the resource type: com.vmware.cis.tagging.Category
. When
methods return a value of this class as a return value, the property will be an
identifier for the resource type: com.vmware.cis.tagging.Category
.public CategoryTypes.CreateSpec build()