java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.Descriptors
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<Descriptors.Builder,Descriptors>

@Generated("software.amazon.awssdk:codegen") public final class Descriptors extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Descriptors.Builder,Descriptors>

Contains the descriptor configuration for a registry record. Only the field that matches the record's descriptorType is populated.

See Also:
  • Method Details

    • mcp

      public final McpDescriptor mcp()

      The MCP (Model Context Protocol) descriptor configuration. Populated when the record's descriptorType is MCP.

      Returns:
      The MCP (Model Context Protocol) descriptor configuration. Populated when the record's descriptorType is MCP.
    • a2a

      public final A2aDescriptor a2a()

      The A2A (Agent-to-Agent) descriptor configuration. Populated when the record's descriptorType is A2A.

      Returns:
      The A2A (Agent-to-Agent) descriptor configuration. Populated when the record's descriptorType is A2A.
    • custom

      public final CustomDescriptor custom()

      The custom descriptor configuration. Populated when the record's descriptorType is CUSTOM.

      Returns:
      The custom descriptor configuration. Populated when the record's descriptorType is CUSTOM.
    • agentSkills

      public final AgentSkillsDescriptor agentSkills()

      The agent skills descriptor configuration. Populated when the record's descriptorType is AGENT_SKILLS.

      Returns:
      The agent skills descriptor configuration. Populated when the record's descriptorType is AGENT_SKILLS.
    • toBuilder

      public Descriptors.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<Descriptors.Builder,Descriptors>
    • builder

      public static Descriptors.Builder builder()
    • serializableBuilderClass

      public static Class<? extends Descriptors.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo