Class Attributes.AttributeBuilder
java.lang.Object
org.springframework.restdocs.snippet.Attributes.AttributeBuilder
- Enclosing class:
- Attributes
A simple builder for an attribute (key-value pair).
-
Method Summary
Modifier and TypeMethodDescriptionConfigures the value of the attribute.
-
Method Details
-
value
Configures the value of the attribute.- Parameters:
value
- the attribute's value- Returns:
- a newly created
Attribute
-