Interface IndexAttachment.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IndexAttachment.Builder,
,IndexAttachment> SdkBuilder<IndexAttachment.Builder,
,IndexAttachment> SdkPojo
- Enclosing class:
IndexAttachment
public static interface IndexAttachment.Builder
extends SdkPojo, CopyableBuilder<IndexAttachment.Builder,IndexAttachment>
-
Method Summary
Modifier and TypeMethodDescriptionindexedAttributes
(Collection<AttributeKeyAndValue> indexedAttributes) The indexed attribute values.indexedAttributes
(Consumer<AttributeKeyAndValue.Builder>... indexedAttributes) The indexed attribute values.indexedAttributes
(AttributeKeyAndValue... indexedAttributes) The indexed attribute values.objectIdentifier
(String objectIdentifier) In response to ListIndex, theObjectIdentifier
of the object attached to the index.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 Details
-
indexedAttributes
The indexed attribute values.
- Parameters:
indexedAttributes
- The indexed attribute values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexedAttributes
The indexed attribute values.
- Parameters:
indexedAttributes
- The indexed attribute values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
indexedAttributes
IndexAttachment.Builder indexedAttributes(Consumer<AttributeKeyAndValue.Builder>... indexedAttributes) The indexed attribute values.
This is a convenience method that creates an instance of theAttributeKeyAndValue.Builder
avoiding the need to create one manually viaAttributeKeyAndValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toindexedAttributes(List<AttributeKeyAndValue>)
.- Parameters:
indexedAttributes
- a consumer that will call methods onAttributeKeyAndValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
objectIdentifier
In response to ListIndex, the
ObjectIdentifier
of the object attached to the index. In response to ListAttachedIndices, theObjectIdentifier
of the index attached to the object. This field will always contain theObjectIdentifier
of the object on the opposite side of the attachment specified in the query.- Parameters:
objectIdentifier
- In response to ListIndex, theObjectIdentifier
of the object attached to the index. In response to ListAttachedIndices, theObjectIdentifier
of the index attached to the object. This field will always contain theObjectIdentifier
of the object on the opposite side of the attachment specified in the query.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-