Interface VocabularyEntity.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VocabularyEntity.Builder,,VocabularyEntity> SdkBuilder<VocabularyEntity.Builder,,VocabularyEntity> SdkPojo
- Enclosing class:
VocabularyEntity
@Mutable
@NotThreadSafe
public static interface VocabularyEntity.Builder
extends SdkPojo, CopyableBuilder<VocabularyEntity.Builder,VocabularyEntity>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Sets the value of the Description property for this object.Sets the value of the EntityId property for this object.Sets the value of the Language property for this object.Sets the value of the Language property for this object.lastModifiedTime(Instant lastModifiedTime) Sets the value of the LastModifiedTime property for this object.phrases(Collection<Phrase> phrases) Sets the value of the Phrases property for this object.phrases(Consumer<Phrase.Builder>... phrases) Sets the value of the Phrases property for this object.Sets the value of the Phrases 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
-
entityId
Sets the value of the EntityId property for this object.- Parameters:
entityId- The new value for the EntityId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Sets the value of the Description property for this object.- Parameters:
description- The new value for the Description property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
language
Sets the value of the Language property for this object.- Parameters:
language- The new value for the Language property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
language
Sets the value of the Language property for this object.- Parameters:
language- The new value for the Language property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
phrases
Sets the value of the Phrases property for this object.- Parameters:
phrases- The new value for the Phrases property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phrases
Sets the value of the Phrases property for this object.- Parameters:
phrases- The new value for the Phrases property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phrases
Sets the value of the Phrases property for this object. This is a convenience method that creates an instance of thePhrase.Builderavoiding the need to create one manually viaPhrase.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophrases(List<Phrase>).- Parameters:
phrases- a consumer that will call methods onPhrase.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
Sets the value of the LastModifiedTime property for this object.- Parameters:
lastModifiedTime- The new value for the LastModifiedTime property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-