Interface TypedLinkAttributeDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TypedLinkAttributeDefinition.Builder,TypedLinkAttributeDefinition>,SdkBuilder<TypedLinkAttributeDefinition.Builder,TypedLinkAttributeDefinition>,SdkPojo
- Enclosing class:
- TypedLinkAttributeDefinition
public static interface TypedLinkAttributeDefinition.Builder extends SdkPojo, CopyableBuilder<TypedLinkAttributeDefinition.Builder,TypedLinkAttributeDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TypedLinkAttributeDefinition.BuilderdefaultValue(Consumer<TypedAttributeValue.Builder> defaultValue)The default value of the attribute (if configured).TypedLinkAttributeDefinition.BuilderdefaultValue(TypedAttributeValue defaultValue)The default value of the attribute (if configured).TypedLinkAttributeDefinition.BuilderisImmutable(Boolean isImmutable)Whether the attribute is mutable or not.TypedLinkAttributeDefinition.Buildername(String name)The unique name of the typed link attribute.TypedLinkAttributeDefinition.BuilderrequiredBehavior(String requiredBehavior)The required behavior of theTypedLinkAttributeDefinition.TypedLinkAttributeDefinition.BuilderrequiredBehavior(RequiredAttributeBehavior requiredBehavior)The required behavior of theTypedLinkAttributeDefinition.TypedLinkAttributeDefinition.Builderrules(Map<String,Rule> rules)Validation rules that are attached to the attribute definition.TypedLinkAttributeDefinition.Buildertype(String type)The type of the attribute.TypedLinkAttributeDefinition.Buildertype(FacetAttributeType type)The type of the attribute.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
TypedLinkAttributeDefinition.Builder name(String name)
The unique name of the typed link attribute.
- Parameters:
name- The unique name of the typed link attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
TypedLinkAttributeDefinition.Builder type(String type)
The type of the attribute.
- Parameters:
type- The type of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FacetAttributeType,FacetAttributeType
-
type
TypedLinkAttributeDefinition.Builder type(FacetAttributeType type)
The type of the attribute.
- Parameters:
type- The type of the attribute.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
FacetAttributeType,FacetAttributeType
-
defaultValue
TypedLinkAttributeDefinition.Builder defaultValue(TypedAttributeValue defaultValue)
The default value of the attribute (if configured).
- Parameters:
defaultValue- The default value of the attribute (if configured).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValue
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.Builderavoiding the need to create one manually viaTypedAttributeValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultValue(TypedAttributeValue).- Parameters:
defaultValue- a consumer that will call methods onTypedAttributeValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultValue(TypedAttributeValue)
-
isImmutable
TypedLinkAttributeDefinition.Builder isImmutable(Boolean isImmutable)
Whether the attribute is mutable or not.
- Parameters:
isImmutable- Whether the attribute is mutable or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
TypedLinkAttributeDefinition.Builder rules(Map<String,Rule> rules)
Validation rules that are attached to the attribute definition.
- Parameters:
rules- Validation rules that are attached to the attribute definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requiredBehavior
TypedLinkAttributeDefinition.Builder requiredBehavior(String requiredBehavior)
The required behavior of the
TypedLinkAttributeDefinition.- Parameters:
requiredBehavior- The required behavior of theTypedLinkAttributeDefinition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RequiredAttributeBehavior,RequiredAttributeBehavior
-
requiredBehavior
TypedLinkAttributeDefinition.Builder requiredBehavior(RequiredAttributeBehavior requiredBehavior)
The required behavior of the
TypedLinkAttributeDefinition.- Parameters:
requiredBehavior- The required behavior of theTypedLinkAttributeDefinition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RequiredAttributeBehavior,RequiredAttributeBehavior
-
-