Builder for
AppSearchSchema.BytesPropertyConfig
.
Public Constructor Summary
Public Method Summary
AppSearchSchema.BytesPropertyConfig |
build()
Constructs a new
AppSearchSchema.BytesPropertyConfig from the contents of this
builder.
|
AppSearchSchema.BytesPropertyConfig.Builder |
setCardinality(int cardinality)
Sets the cardinality of the property (whether it is optional, required or
repeated).
|
AppSearchSchema.BytesPropertyConfig.Builder |
Inherited Method Summary
Public Constructors
publicBuilder(String propertyName)
Creates a new
AppSearchSchema.BytesPropertyConfig.Builder
.
Public Methods
public AppSearchSchema.BytesPropertyConfigbuild()
Constructs a new
AppSearchSchema.BytesPropertyConfig
from the contents of this builder.
public AppSearchSchema.BytesPropertyConfig.BuildersetCardinality(int cardinality)
Sets the cardinality of the property (whether it is optional, required or repeated).
If this method is not called, the default cardinality is
AppSearchSchema.PropertyConfig.CARDINALITY_OPTIONAL
.
public AppSearchSchema.BytesPropertyConfig.BuildersetDescription(String description)
Sets a natural language description of this property.
For more details about the description field, see
AppSearchSchema.PropertyConfig.getDescription()
.