Interface UpdatedSkillDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedSkillDefinition.Builder,,UpdatedSkillDefinition> SdkBuilder<UpdatedSkillDefinition.Builder,,UpdatedSkillDefinition> SdkPojo
- Enclosing class:
UpdatedSkillDefinition
@Mutable
@NotThreadSafe
public static interface UpdatedSkillDefinition.Builder
extends SdkPojo, CopyableBuilder<UpdatedSkillDefinition.Builder,UpdatedSkillDefinition>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdatedSkillDefinition.BuilderoptionalValue(Consumer<SkillDefinition.Builder> optionalValue) The updated skill definition value.optionalValue(SkillDefinition optionalValue) The updated skill definition value.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
-
optionalValue
The updated skill definition value.
- Parameters:
optionalValue- The updated skill definition value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalValue
default UpdatedSkillDefinition.Builder optionalValue(Consumer<SkillDefinition.Builder> optionalValue) The updated skill definition value.
This is a convenience method that creates an instance of theSkillDefinition.Builderavoiding the need to create one manually viaSkillDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(SkillDefinition).- Parameters:
optionalValue- a consumer that will call methods onSkillDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-