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