Class DatabaseToolsMcpToolsetCustomSqlToolSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.databasetools.model.DatabaseToolsMcpToolsetSummary
-
- com.oracle.bmc.databasetools.model.DatabaseToolsMcpToolsetCustomSqlToolSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public final class DatabaseToolsMcpToolsetCustomSqlToolSummary extends DatabaseToolsMcpToolsetSummarySummary of the Database Tools MCP Toolset.
Note: Objects should always be created or deserialized using theDatabaseToolsMcpToolsetCustomSqlToolSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theDatabaseToolsMcpToolsetCustomSqlToolSummary.Builder, which maintain a set of all explicitly set fields calledDatabaseToolsMcpToolsetCustomSqlToolSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDatabaseToolsMcpToolsetCustomSqlToolSummary.Builder
-
Constructor Summary
Constructors Constructor Description DatabaseToolsMcpToolsetCustomSqlToolSummary(String id, Integer version, String compartmentId, String displayName, String databaseToolsMcpServerId, DatabaseToolsMcpToolsetLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags, List<ResourceLock> locks, String toolName, String toolDescription, List<String> allowedRoles, DatabaseToolsMcpToolsetDefaultExecutionType defaultExecutionType)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseToolsMcpToolsetCustomSqlToolSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<String>getAllowedRoles()The roles granted access to this MCP toolDatabaseToolsMcpToolsetDefaultExecutionTypegetDefaultExecutionType()The default execution type for the toolset.StringgetToolDescription()Instructions describing how to use the MCP toolset and its features.StringgetToolName()Name of the tool returned by the MCP ServerinthashCode()DatabaseToolsMcpToolsetCustomSqlToolSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.databasetools.model.DatabaseToolsMcpToolsetSummary
getCompartmentId, getDatabaseToolsMcpServerId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getLocks, getSystemTags, getTimeCreated, getTimeUpdated, getVersion
-
-
-
-
Constructor Detail
-
DatabaseToolsMcpToolsetCustomSqlToolSummary
@Deprecated public DatabaseToolsMcpToolsetCustomSqlToolSummary(String id, Integer version, String compartmentId, String displayName, String databaseToolsMcpServerId, DatabaseToolsMcpToolsetLifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, Map<String,Map<String,Object>> definedTags, Map<String,String> freeformTags, Map<String,Map<String,Object>> systemTags, List<ResourceLock> locks, String toolName, String toolDescription, List<String> allowedRoles, DatabaseToolsMcpToolsetDefaultExecutionType defaultExecutionType)
Deprecated.
-
-
Method Detail
-
builder
public static DatabaseToolsMcpToolsetCustomSqlToolSummary.Builder builder()
Create a new builder.
-
toBuilder
public DatabaseToolsMcpToolsetCustomSqlToolSummary.Builder toBuilder()
-
getToolName
public String getToolName()
Name of the tool returned by the MCP Server- Returns:
- the value
-
getToolDescription
public String getToolDescription()
Instructions describing how to use the MCP toolset and its features.This can be used to improve the LLM’s understanding of the tool.
- Returns:
- the value
-
getAllowedRoles
public List<String> getAllowedRoles()
The roles granted access to this MCP tool- Returns:
- the value
-
getDefaultExecutionType
public DatabaseToolsMcpToolsetDefaultExecutionType getDefaultExecutionType()
The default execution type for the toolset.The default value is SYNCHRONOUS.
To use ASYNCHRONOUS execution, the MCP Server must have the storage property configured.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classDatabaseToolsMcpToolsetSummary
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDatabaseToolsMcpToolsetSummary- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDatabaseToolsMcpToolsetSummary
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDatabaseToolsMcpToolsetSummary
-
-