public static interface TypedLinkAttributeDefinition.Builder extends SdkPojo, CopyableBuilder<TypedLinkAttributeDefinition.Builder,TypedLinkAttributeDefinition>
| Modifier and Type | Method and Description |
|---|---|
default TypedLinkAttributeDefinition.Builder |
defaultValue(Consumer<TypedAttributeValue.Builder> defaultValue)
The default value of the attribute (if configured).
|
TypedLinkAttributeDefinition.Builder |
defaultValue(TypedAttributeValue defaultValue)
The default value of the attribute (if configured).
|
TypedLinkAttributeDefinition.Builder |
isImmutable(Boolean isImmutable)
Whether the attribute is mutable or not.
|
TypedLinkAttributeDefinition.Builder |
name(String name)
The unique name of the typed link attribute.
|
TypedLinkAttributeDefinition.Builder |
requiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the
TypedLinkAttributeDefinition. |
TypedLinkAttributeDefinition.Builder |
requiredBehavior(String requiredBehavior)
The required behavior of the
TypedLinkAttributeDefinition. |
TypedLinkAttributeDefinition.Builder |
rules(Map<String,Rule> rules)
Validation rules that are attached to the attribute definition.
|
TypedLinkAttributeDefinition.Builder |
type(FacetAttributeType type)
The type of the attribute.
|
TypedLinkAttributeDefinition.Builder |
type(String type)
The type of the attribute.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTypedLinkAttributeDefinition.Builder name(String name)
The unique name of the typed link attribute.
name - The unique name of the typed link attribute.TypedLinkAttributeDefinition.Builder type(String type)
The type of the attribute.
type - The type of the attribute.FacetAttributeType,
FacetAttributeTypeTypedLinkAttributeDefinition.Builder type(FacetAttributeType type)
The type of the attribute.
type - The type of the attribute.FacetAttributeType,
FacetAttributeTypeTypedLinkAttributeDefinition.Builder defaultValue(TypedAttributeValue defaultValue)
The default value of the attribute (if configured).
defaultValue - The default value of the attribute (if configured).default TypedLinkAttributeDefinition.Builder defaultValue(Consumer<TypedAttributeValue.Builder> defaultValue)
The default value of the attribute (if configured).
This is a convenience method that creates an instance of theTypedAttributeValue.Builder avoiding the
need to create one manually via TypedAttributeValue.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to defaultValue(TypedAttributeValue).
defaultValue - a consumer that will call methods on TypedAttributeValue.BuilderdefaultValue(TypedAttributeValue)TypedLinkAttributeDefinition.Builder isImmutable(Boolean isImmutable)
Whether the attribute is mutable or not.
isImmutable - Whether the attribute is mutable or not.TypedLinkAttributeDefinition.Builder rules(Map<String,Rule> rules)
Validation rules that are attached to the attribute definition.
rules - Validation rules that are attached to the attribute definition.TypedLinkAttributeDefinition.Builder requiredBehavior(String requiredBehavior)
The required behavior of the TypedLinkAttributeDefinition.
requiredBehavior - The required behavior of the TypedLinkAttributeDefinition.RequiredAttributeBehavior,
RequiredAttributeBehaviorTypedLinkAttributeDefinition.Builder requiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the TypedLinkAttributeDefinition.
requiredBehavior - The required behavior of the TypedLinkAttributeDefinition.RequiredAttributeBehavior,
RequiredAttributeBehaviorCopyright © 2022. All rights reserved.