Class AddAttributeTypeRequest.Builder
Object
Builder
- Enclosing class:
AddAttributeTypeRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowedValues(List<String> allowedValues) List of allowed values.build()but()Deprecated.This method will be removed in the future.description(String description) The description of the new Attribute Type.The ID of the new Attribute Type.Whether Attribute Type holds an integer value.kind(AttributeKind kind) Required. The kind of the new Attribute Type.Deprecated.This parameter will be removed from the next major release, and has no effect.Required. The name of the new Attribute Type.The public id that will be assigned to the new Attribute Type.statisticsEnabled(Boolean statisticsEnabled) Whether statistics should be enabled.stringType(StringType stringType) toString()
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useAddAttributeTypeRequest.builder().Clone method for this Builder. -
id
The ID of the new Attribute Type. Should be unique within all Attribute Types.It should have a format of universally unique identifier (UUID) and should not start with
00000000-0000-0000-which is a reserved prefix.- Returns:
this.
-
publicId
The public id that will be assigned to the new Attribute Type.It must be unique within all Attribute Types. It should contain only ASCII letters and digits. It must start with an uppercase ASCII character. It must end with "_C". If no public id is provided, a valid public id will be generated.
- Returns:
this.
-
name
Required. The name of the new Attribute Type. Should be unique within all Attribute Types.- Returns:
this.
-
description
The description of the new Attribute Type.- Returns:
this.
-
kind
Required. The kind of the new Attribute Type.- Returns:
this.
-
language
Deprecated.This parameter will be removed from the next major release, and has no effect.The script language of the new Attribute Type, for script Attribute Types.- Returns:
this.
-
statisticsEnabled
Whether statistics should be enabled. This property is only applicable to Attribute Types of kind "Numeric" or "Boolean".- Returns:
this.
-
isInteger
Whether Attribute Type holds an integer value. This property is only applicable to Attribute Types of kind "Numeric".- Returns:
this.
-
allowedValues
List of allowed values. This property is only applicable to Attribute Types of kind "Single Value List" or "Multi Value List".- Returns:
this.
-
stringType
- Returns:
this.
-
build
-
toString
-