Class AIDetails
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AIDetails.Builder,AIDetails>
Contains information about self-hosted AI resources and their host resources. The fields that are present depend on the role of the resource.
On a self-hosted AI resource (a resource with a SelfHosted::AI:: resource type, such as
SelfHosted::AI::Model or SelfHosted::AI::Agent), the HostResourceGuid and
HostResourceType fields link the resource to its host. The CanonicalId field identifies
what the resource is, enabling aggregation of identical resources across multiple hosts.
On a host resource (such as an Amazon EC2 instance), the SelfHostedAI*ResourceCount fields contain the
count for each ResourceSubCategory and the total count of self-hosted AI resources detected on the host.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic AIDetails.Builderbuilder()final StringThe canonical identifier for the AI resource, independent of where it is deployed.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()final StringThe identifier of the host resource that hosts the self-hosted AI resource.final StringTheResourceTypeof the host resource that hosts the self-hosted AI resource, such asAWS::EC2::Instance.final IntegerThe number of self-hosted AI resources ofResourceSubCategoryAgentFrameworkdetected on the host resource.final IntegerThe number of self-hosted AI resources ofResourceSubCategoryAgentdetected on the host resource.final IntegerThe number of self-hosted AI resources ofResourceSubCategoryAgentToolsAndIdentitydetected on the host resource.final IntegerThe number of self-hosted AI resources ofResourceSubCategoryDevelopmentdetected on the host resource.final IntegerThe number of self-hosted AI resources ofResourceSubCategoryExternalEndpointdetected on the host resource.final IntegerThe number of self-hosted AI resources ofResourceSubCategoryModeldetected on the host resource.final IntegerThe number of self-hosted AI resources ofResourceSubCategoryModelServingdetected on the host resource.final IntegerThe total number of all self-hosted AI resources detected on the host resource.static Class<? extends AIDetails.Builder> 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
-
hostResourceGuid
The identifier of the host resource that hosts the self-hosted AI resource. Present only on self-hosted AI resources.
- Returns:
- The identifier of the host resource that hosts the self-hosted AI resource. Present only on self-hosted AI resources.
-
hostResourceType
The
ResourceTypeof the host resource that hosts the self-hosted AI resource, such asAWS::EC2::Instance. Present only on self-hosted AI resources.- Returns:
- The
ResourceTypeof the host resource that hosts the self-hosted AI resource, such asAWS::EC2::Instance. Present only on self-hosted AI resources.
-
canonicalId
The canonical identifier for the AI resource, independent of where it is deployed. Multiple occurrences of the same resource on different hosts share the same
CanonicalId. For model resources, the value follows the formatmodel/<purl>, such asmodel/pkg:huggingface/meta-llama/llama-3-8b. Present only on self-hosted AI resources.- Returns:
- The canonical identifier for the AI resource, independent of where it is deployed. Multiple occurrences
of the same resource on different hosts share the same
CanonicalId. For model resources, the value follows the formatmodel/<purl>, such asmodel/pkg:huggingface/meta-llama/llama-3-8b. Present only on self-hosted AI resources.
-
selfHostedAIModelResourceCount
The number of self-hosted AI resources of
ResourceSubCategoryModeldetected on the host resource. Present only on host resources.- Returns:
- The number of self-hosted AI resources of
ResourceSubCategoryModeldetected on the host resource. Present only on host resources.
-
selfHostedAIAgentResourceCount
The number of self-hosted AI resources of
ResourceSubCategoryAgentdetected on the host resource. Present only on host resources.- Returns:
- The number of self-hosted AI resources of
ResourceSubCategoryAgentdetected on the host resource. Present only on host resources.
-
selfHostedAIModelServingResourceCount
The number of self-hosted AI resources of
ResourceSubCategoryModelServingdetected on the host resource. Present only on host resources.- Returns:
- The number of self-hosted AI resources of
ResourceSubCategoryModelServingdetected on the host resource. Present only on host resources.
-
selfHostedAIExternalEndpointResourceCount
The number of self-hosted AI resources of
ResourceSubCategoryExternalEndpointdetected on the host resource. Present only on host resources.- Returns:
- The number of self-hosted AI resources of
ResourceSubCategoryExternalEndpointdetected on the host resource. Present only on host resources.
-
selfHostedAIDevelopmentResourceCount
The number of self-hosted AI resources of
ResourceSubCategoryDevelopmentdetected on the host resource. Present only on host resources.- Returns:
- The number of self-hosted AI resources of
ResourceSubCategoryDevelopmentdetected on the host resource. Present only on host resources.
-
selfHostedAIAgentFrameworkResourceCount
The number of self-hosted AI resources of
ResourceSubCategoryAgentFrameworkdetected on the host resource. Present only on host resources.- Returns:
- The number of self-hosted AI resources of
ResourceSubCategoryAgentFrameworkdetected on the host resource. Present only on host resources.
-
selfHostedAIAgentToolsAndIdentityResourceCount
The number of self-hosted AI resources of
ResourceSubCategoryAgentToolsAndIdentitydetected on the host resource. Present only on host resources.- Returns:
- The number of self-hosted AI resources of
ResourceSubCategoryAgentToolsAndIdentitydetected on the host resource. Present only on host resources.
-
selfHostedTotalAIResourceCount
The total number of all self-hosted AI resources detected on the host resource. Present only on host resources.
- Returns:
- The total number of all self-hosted AI resources detected on the host resource. Present only on host resources.
-
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<AIDetails.Builder,AIDetails> - 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.
-