Package com.anthropic.models.beta.agents
Interface BetaManagedAgentsExecutionIdentity.Visitor
-
- All Implemented Interfaces:
public interface BetaManagedAgentsExecutionIdentity.Visitor<T extends Object>An interface that defines how to map each variant of BetaManagedAgentsExecutionIdentity to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitAwsRole(BetaManagedAgentsAwsRoleExecutionIdentity awsRole)An AWS IAM role principal as returned in API responses. abstract TvisitServiceAccount(BetaManagedAgentsServiceAccountExecutionIdentity serviceAccount)The Anthropic-managed service account as returned in API responses. Tunknown(JsonValue json)Maps an unknown variant of BetaManagedAgentsExecutionIdentity to a value of type T. -
-
Method Detail
-
visitAwsRole
abstract T visitAwsRole(BetaManagedAgentsAwsRoleExecutionIdentity awsRole)
An AWS IAM role principal as returned in API responses.
-
visitServiceAccount
abstract T visitServiceAccount(BetaManagedAgentsServiceAccountExecutionIdentity serviceAccount)
The Anthropic-managed service account as returned in API responses.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaManagedAgentsExecutionIdentity to a value of type T.
An instance of BetaManagedAgentsExecutionIdentity can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-