Interface AgentSkillsDefinitionDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AgentSkillsDefinitionDescriptor.Builder,,AgentSkillsDefinitionDescriptor> SdkBuilder<AgentSkillsDefinitionDescriptor.Builder,,AgentSkillsDefinitionDescriptor> SdkPojo
- Enclosing class:
AgentSkillsDefinitionDescriptor
@Mutable
@NotThreadSafe
public static interface AgentSkillsDefinitionDescriptor.Builder
extends SdkPojo, CopyableBuilder<AgentSkillsDefinitionDescriptor.Builder,AgentSkillsDefinitionDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptionadditionalData(Consumer<AgentSkillsAdditionalData.Builder> additionalData) Additional data for the agent skills definition, such as the skills markdown descriptor.additionalData(AgentSkillsAdditionalData additionalData) Additional data for the agent skills definition, such as the skills markdown descriptor.Sets the value of the Data property for this object.dataSchemaVersion(String dataSchemaVersion) Sets the value of the DataSchemaVersion 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
-
data
Sets the value of the Data property for this object.- Parameters:
data- The new value for the Data property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSchemaVersion
Sets the value of the DataSchemaVersion property for this object.- Parameters:
dataSchemaVersion- The new value for the DataSchemaVersion property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalData
Additional data for the agent skills definition, such as the skills markdown descriptor.
- Parameters:
additionalData- Additional data for the agent skills definition, such as the skills markdown descriptor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalData
default AgentSkillsDefinitionDescriptor.Builder additionalData(Consumer<AgentSkillsAdditionalData.Builder> additionalData) Additional data for the agent skills definition, such as the skills markdown descriptor.
This is a convenience method that creates an instance of theAgentSkillsAdditionalData.Builderavoiding the need to create one manually viaAgentSkillsAdditionalData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalData(AgentSkillsAdditionalData).- Parameters:
additionalData- a consumer that will call methods onAgentSkillsAdditionalData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-