Class McpServerDescriptor
java.lang.Object
software.amazon.awssdk.services.agentregistrycontrol.model.McpServerDescriptor
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<McpServerDescriptor.Builder,McpServerDescriptor>
@Generated("software.amazon.awssdk:codegen")
public final class McpServerDescriptor
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<McpServerDescriptor.Builder,McpServerDescriptor>
Descriptor that defines the content of an MCP (Model Context Protocol) server registry record, including the server definition and its tool definitions. The content is validated against the MCP protocol schema.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal McpServerAdditionalDataAdditional data associated with the MCP server descriptor, such as tool definitions.static McpServerDescriptor.Builderbuilder()final Stringdata()The MCP server descriptor content, serialized as descriptor payload data.final StringThe schema version of the descriptor payload.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends McpServerDescriptor.Builder> final DescriptorSourcesource()The optional source configuration used to synchronize the MCP server descriptor content.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
data
The MCP server descriptor content, serialized as descriptor payload data.
- Returns:
- The MCP server descriptor content, serialized as descriptor payload data.
-
dataSchemaVersion
The schema version of the descriptor payload.
- Returns:
- The schema version of the descriptor payload.
-
additionalData
Additional data associated with the MCP server descriptor, such as tool definitions.
- Returns:
- Additional data associated with the MCP server descriptor, such as tool definitions.
-
source
The optional source configuration used to synchronize the MCP server descriptor content.
- Returns:
- The optional source configuration used to synchronize the MCP server descriptor content.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<McpServerDescriptor.Builder,McpServerDescriptor> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-