Interface Descriptors.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Descriptors.Builder,,Descriptors> SdkBuilder<Descriptors.Builder,,Descriptors> SdkPojo
- Enclosing class:
Descriptors
@Mutable
@NotThreadSafe
public static interface Descriptors.Builder
extends SdkPojo, CopyableBuilder<Descriptors.Builder,Descriptors>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Descriptors.Buildera2aAgentCard(Consumer<A2aAgentCardDescriptor.Builder> a2aAgentCard) Sets the value of the A2aAgentCard property for this object.a2aAgentCard(A2aAgentCardDescriptor a2aAgentCard) Sets the value of the A2aAgentCard property for this object.default Descriptors.BuilderagentSkillsDefinition(Consumer<AgentSkillsDefinitionDescriptor.Builder> agentSkillsDefinition) Sets the value of the AgentSkillsDefinition property for this object.agentSkillsDefinition(AgentSkillsDefinitionDescriptor agentSkillsDefinition) Sets the value of the AgentSkillsDefinition property for this object.default Descriptors.Buildercustom(Consumer<CustomDescriptor.Builder> custom) Sets the value of the Custom property for this object.custom(CustomDescriptor custom) Sets the value of the Custom property for this object.default Descriptors.BuildermcpServer(Consumer<McpServerDescriptor.Builder> mcpServer) Sets the value of the McpServer property for this object.mcpServer(McpServerDescriptor mcpServer) Sets the value of the McpServer 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
-
mcpServer
Sets the value of the McpServer property for this object.- Parameters:
mcpServer- The new value for the McpServer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcpServer
Sets the value of the McpServer property for this object. This is a convenience method that creates an instance of theMcpServerDescriptor.Builderavoiding the need to create one manually viaMcpServerDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomcpServer(McpServerDescriptor).- Parameters:
mcpServer- a consumer that will call methods onMcpServerDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
a2aAgentCard
Sets the value of the A2aAgentCard property for this object.- Parameters:
a2aAgentCard- The new value for the A2aAgentCard property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
a2aAgentCard
Sets the value of the A2aAgentCard property for this object. This is a convenience method that creates an instance of theA2aAgentCardDescriptor.Builderavoiding the need to create one manually viaA2aAgentCardDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toa2aAgentCard(A2aAgentCardDescriptor).- Parameters:
a2aAgentCard- a consumer that will call methods onA2aAgentCardDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentSkillsDefinition
Sets the value of the AgentSkillsDefinition property for this object.- Parameters:
agentSkillsDefinition- The new value for the AgentSkillsDefinition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSkillsDefinition
default Descriptors.Builder agentSkillsDefinition(Consumer<AgentSkillsDefinitionDescriptor.Builder> agentSkillsDefinition) Sets the value of the AgentSkillsDefinition property for this object. This is a convenience method that creates an instance of theAgentSkillsDefinitionDescriptor.Builderavoiding the need to create one manually viaAgentSkillsDefinitionDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentSkillsDefinition(AgentSkillsDefinitionDescriptor).- Parameters:
agentSkillsDefinition- a consumer that will call methods onAgentSkillsDefinitionDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
Sets the value of the Custom property for this object.- Parameters:
custom- The new value for the Custom property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
Sets the value of the Custom property for this object. This is a convenience method that creates an instance of theCustomDescriptor.Builderavoiding the need to create one manually viaCustomDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustom(CustomDescriptor).- Parameters:
custom- a consumer that will call methods onCustomDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-