Interface IndexAttachment.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<IndexAttachment.Builder,,IndexAttachment> SdkBuilder<IndexAttachment.Builder,,IndexAttachment> SdkPojo
- Enclosing class:
IndexAttachment
@Mutable
@NotThreadSafe
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, theObjectIdentifierof the object attached to the index.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAttributeKeyAndValue.builder().When the
Consumercompletes,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
ObjectIdentifierof the object attached to the index. In response to ListAttachedIndices, theObjectIdentifierof the index attached to the object. This field will always contain theObjectIdentifierof the object on the opposite side of the attachment specified in the query.- Parameters:
objectIdentifier- In response to ListIndex, theObjectIdentifierof the object attached to the index. In response to ListAttachedIndices, theObjectIdentifierof the index attached to the object. This field will always contain theObjectIdentifierof 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.
-