Class NestedAttributeName.Builder
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.NestedAttributeName.Builder
- 
Method SummaryModifier and TypeMethodDescriptionaddElement(String element) Adds a single element of NestedAttributeName.addElements(String... elements) Adds a single element of NestedAttributeName.addElements(List<String> elements) Adds a List of elements to NestedAttributeName.build()Set elements of NestedAttributeName with list of Strings.Sets the elements that compose a nested attribute name.
- 
Method Details- 
addElementAdds a single element of NestedAttributeName. Subsequent calls to this method can add attribute Names at subsequent nesting levels.Example:builder().addElement("foo").addElement("bar") will add elements in NestedAttributeName which represent a Nested Attribute Name foo.bar - Parameters:
- element- Attribute Name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
addElementsAdds a single element of NestedAttributeName. Subsequent calls to this method will append the new elements to the end of the existing chain of elements creating new levels of nesting.Example:builder().addElements("foo","bar") will add elements in NestedAttributeName which represent a Nested Attribute Name foo.bar - Parameters:
- elements- Nested Attribute Names. Each of strings in varargs represent the nested attribute name at subsequent levels.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
addElementsAdds a List of elements to NestedAttributeName. Subsequent calls to this method will append the new elements to the end of the existing chain of elements creating new levels of nesting.Example:builder().addElements(Arrays.asList("foo","bar")) will add elements in NestedAttributeName to represent a Nested Attribute Name foo.bar - Parameters:
- elements- List of Strings where each string corresponds to subsequent nesting attribute name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
elementsSet elements of NestedAttributeName with list of Strings. Will overwrite any existing elements stored by this builder.Example:builder().elements("foo","bar") will set the elements in NestedAttributeName to represent a nested attribute name of 'foo.bar' - Parameters:
- elements- a list of strings that correspond to the elements in a nested attribute name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
elementsSets the elements that compose a nested attribute name. Will overwrite any existing elements stored by this builder.Example:builder().elements(Arrays.asList("foo","bar")) will add elements in NestedAttributeName which represent a Nested Attribute Name foo.bar - Parameters:
- elements- a list of strings that correspond to the elements in a nested attribute name.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
build
 
-