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