Interface UpdatedAgentSkillsPackageDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdatedAgentSkillsPackageDescriptor.Builder,,UpdatedAgentSkillsPackageDescriptor> SdkBuilder<UpdatedAgentSkillsPackageDescriptor.Builder,,UpdatedAgentSkillsPackageDescriptor> SdkPojo
- Enclosing class:
UpdatedAgentSkillsPackageDescriptor
@Mutable
@NotThreadSafe
public static interface UpdatedAgentSkillsPackageDescriptor.Builder
extends SdkPojo, CopyableBuilder<UpdatedAgentSkillsPackageDescriptor.Builder,UpdatedAgentSkillsPackageDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptionoptionalValue(Consumer<AgentSkillsPackageDescriptor.Builder> optionalValue) The value to set for this field.optionalValue(AgentSkillsPackageDescriptor 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
UpdatedAgentSkillsPackageDescriptor.Builder optionalValue(AgentSkillsPackageDescriptor 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 UpdatedAgentSkillsPackageDescriptor.Builder optionalValue(Consumer<AgentSkillsPackageDescriptor.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 theAgentSkillsPackageDescriptor.Builderavoiding the need to create one manually viaAgentSkillsPackageDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooptionalValue(AgentSkillsPackageDescriptor).- Parameters:
optionalValue- a consumer that will call methods onAgentSkillsPackageDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-