Interface UpdatedAgentSkillsMdDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedAgentSkillsMdDescriptor.Builder,,UpdatedAgentSkillsMdDescriptor> SdkBuilder<UpdatedAgentSkillsMdDescriptor.Builder,,UpdatedAgentSkillsMdDescriptor> SdkPojo
- Enclosing class:
UpdatedAgentSkillsMdDescriptor
@Mutable
@NotThreadSafe
public static interface UpdatedAgentSkillsMdDescriptor.Builder
extends SdkPojo, CopyableBuilder<UpdatedAgentSkillsMdDescriptor.Builder,UpdatedAgentSkillsMdDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptionoptionalValue(Consumer<UpdatedAgentSkillsMdDescriptorFields.Builder> optionalValue) The value to set for this field.optionalValue(UpdatedAgentSkillsMdDescriptorFields optionalValue) The value to set for this field.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
UpdatedAgentSkillsMdDescriptor.Builder optionalValue(UpdatedAgentSkillsMdDescriptorFields optionalValue) The value to set for this field. Omit the wrapper to leave the field unchanged.
- Parameters:
optionalValue- The value to set for this field. Omit the wrapper to leave the field unchanged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
optionalValue
default UpdatedAgentSkillsMdDescriptor.Builder optionalValue(Consumer<UpdatedAgentSkillsMdDescriptorFields.Builder> optionalValue) The value to set for this field. Omit the wrapper to leave the field unchanged.
This is a convenience method that creates an instance of theUpdatedAgentSkillsMdDescriptorFields.Builderavoiding the need to create one manually viaUpdatedAgentSkillsMdDescriptorFields.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(UpdatedAgentSkillsMdDescriptorFields).- Parameters:
optionalValue- a consumer that will call methods onUpdatedAgentSkillsMdDescriptorFields.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-