Interface RuntimeTargetConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RuntimeTargetConfiguration.Builder,,RuntimeTargetConfiguration> SdkBuilder<RuntimeTargetConfiguration.Builder,,RuntimeTargetConfiguration> SdkPojo
- Enclosing class:
RuntimeTargetConfiguration
@Mutable
@NotThreadSafe
public static interface RuntimeTargetConfiguration.Builder
extends SdkPojo, CopyableBuilder<RuntimeTargetConfiguration.Builder,RuntimeTargetConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the AgentCore Runtime to route requests to.The qualifier for the agent runtime, used to target a specific endpoint version.The API schema configuration that defines the structure of the runtime target's API.schema(HttpApiSchemaConfiguration schema) The API schema configuration that defines the structure of the runtime target's API.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the AgentCore Runtime to route requests to.
- Parameters:
arn- The Amazon Resource Name (ARN) of the AgentCore Runtime to route requests to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
qualifier
The qualifier for the agent runtime, used to target a specific endpoint version. If not specified, the default endpoint is used.
- Parameters:
qualifier- The qualifier for the agent runtime, used to target a specific endpoint version. If not specified, the default endpoint is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
The API schema configuration that defines the structure of the runtime target's API.
- Parameters:
schema- The API schema configuration that defines the structure of the runtime target's API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schema
default RuntimeTargetConfiguration.Builder schema(Consumer<HttpApiSchemaConfiguration.Builder> schema) The API schema configuration that defines the structure of the runtime target's API.
This is a convenience method that creates an instance of theHttpApiSchemaConfiguration.Builderavoiding the need to create one manually viaHttpApiSchemaConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschema(HttpApiSchemaConfiguration).- Parameters:
schema- a consumer that will call methods onHttpApiSchemaConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-