Class RegisterCapabilityRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.opensearch.model.OpenSearchRequest
software.amazon.awssdk.services.opensearch.model.RegisterCapabilityRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RegisterCapabilityRequest.Builder,RegisterCapabilityRequest>
@Generated("software.amazon.awssdk:codegen")
public final class RegisterCapabilityRequest
extends OpenSearchRequest
implements ToCopyableBuilder<RegisterCapabilityRequest.Builder,RegisterCapabilityRequest>
Container for the parameters to the RegisterCapability operation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe unique identifier of the OpenSearch UI application to register the capability for.builder()The configuration settings for the capability being registered.final StringThe name of the capability to register.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends RegisterCapabilityRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
applicationId
The unique identifier of the OpenSearch UI application to register the capability for.
- Returns:
- The unique identifier of the OpenSearch UI application to register the capability for.
-
capabilityName
The name of the capability to register. Must be between 3 and 30 characters and contain only alphanumeric characters and hyphens. This identifies the type of capability being enabled for the application. For registering AI Assistant capability, use
ai-capability- Returns:
- The name of the capability to register. Must be between 3 and 30 characters and contain only alphanumeric
characters and hyphens. This identifies the type of capability being enabled for the application. For
registering AI Assistant capability, use
ai-capability
-
capabilityConfig
The configuration settings for the capability being registered. This includes capability-specific settings such as AI configuration.
- Returns:
- The configuration settings for the capability being registered. This includes capability-specific settings such as AI configuration.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<RegisterCapabilityRequest.Builder,RegisterCapabilityRequest> - Specified by:
toBuilderin classOpenSearchRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-