Interface UpsertEntityInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpsertEntityInfo.Builder,,UpsertEntityInfo> SdkBuilder<UpsertEntityInfo.Builder,,UpsertEntityInfo> SdkPojo
- Enclosing class:
UpsertEntityInfo
@Mutable
@NotThreadSafe
public static interface UpsertEntityInfo.Builder
extends SdkPojo, CopyableBuilder<UpsertEntityInfo.Builder,UpsertEntityInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpsertEntityInfo.Buildervocabulary(Consumer<VocabularyEntityInfo.Builder> vocabulary) Sets the value of the Vocabulary property for this object.vocabulary(VocabularyEntityInfo vocabulary) Sets the value of the Vocabulary property for this object.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
-
vocabulary
Sets the value of the Vocabulary property for this object.- Parameters:
vocabulary- The new value for the Vocabulary property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vocabulary
Sets the value of the Vocabulary property for this object. This is a convenience method that creates an instance of theVocabularyEntityInfo.Builderavoiding the need to create one manually viaVocabularyEntityInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovocabulary(VocabularyEntityInfo).- Parameters:
vocabulary- a consumer that will call methods onVocabularyEntityInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-