Interface CreateAgentRuntimeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BedrockAgentCoreControlRequest.Builder
,Buildable
,CopyableBuilder<CreateAgentRuntimeRequest.Builder,
,CreateAgentRuntimeRequest> SdkBuilder<CreateAgentRuntimeRequest.Builder,
,CreateAgentRuntimeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateAgentRuntimeRequest
-
Method Summary
Modifier and TypeMethodDescriptionagentRuntimeArtifact
(Consumer<AgentRuntimeArtifact.Builder> agentRuntimeArtifact) The artifact of the AgentCore Runtime.agentRuntimeArtifact
(AgentRuntimeArtifact agentRuntimeArtifact) The artifact of the AgentCore Runtime.agentRuntimeName
(String agentRuntimeName) The name of the AgentCore Runtime.authorizerConfiguration
(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The authorizer configuration for the AgentCore Runtime.authorizerConfiguration
(AuthorizerConfiguration authorizerConfiguration) The authorizer configuration for the AgentCore Runtime.clientToken
(String clientToken) A unique, case-sensitive identifier to ensure idempotency of the request.description
(String description) The description of the AgentCore Runtime.environmentVariables
(Map<String, String> environmentVariables) Environment variables to set in the AgentCore Runtime environment.lifecycleConfiguration
(Consumer<LifecycleConfiguration.Builder> lifecycleConfiguration) The life cycle configuration for the AgentCore Runtime.lifecycleConfiguration
(LifecycleConfiguration lifecycleConfiguration) The life cycle configuration for the AgentCore Runtime.networkConfiguration
(Consumer<NetworkConfiguration.Builder> networkConfiguration) The network configuration for the AgentCore Runtime.networkConfiguration
(NetworkConfiguration networkConfiguration) The network configuration for the AgentCore Runtime.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protocolConfiguration
(Consumer<ProtocolConfiguration.Builder> protocolConfiguration) Sets the value of the ProtocolConfiguration property for this object.protocolConfiguration
(ProtocolConfiguration protocolConfiguration) Sets the value of the ProtocolConfiguration property for this object.requestHeaderConfiguration
(Consumer<RequestHeaderConfiguration.Builder> requestHeaderConfiguration) Configuration for HTTP request headers that will be passed through to the runtime.requestHeaderConfiguration
(RequestHeaderConfiguration requestHeaderConfiguration) Configuration for HTTP request headers that will be passed through to the runtime.The IAM role ARN that provides permissions for the AgentCore Runtime.A map of tag keys and values to assign to the agent runtime.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.bedrockagentcorecontrol.model.BedrockAgentCoreControlRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
agentRuntimeName
The name of the AgentCore Runtime.
- Parameters:
agentRuntimeName
- The name of the AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentRuntimeArtifact
The artifact of the AgentCore Runtime.
- Parameters:
agentRuntimeArtifact
- The artifact of the AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentRuntimeArtifact
default CreateAgentRuntimeRequest.Builder agentRuntimeArtifact(Consumer<AgentRuntimeArtifact.Builder> agentRuntimeArtifact) The artifact of the AgentCore Runtime.
This is a convenience method that creates an instance of theAgentRuntimeArtifact.Builder
avoiding the need to create one manually viaAgentRuntimeArtifact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentRuntimeArtifact(AgentRuntimeArtifact)
.- Parameters:
agentRuntimeArtifact
- a consumer that will call methods onAgentRuntimeArtifact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The IAM role ARN that provides permissions for the AgentCore Runtime.
- Parameters:
roleArn
- The IAM role ARN that provides permissions for the AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
The network configuration for the AgentCore Runtime.
- Parameters:
networkConfiguration
- The network configuration for the AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConfiguration
default CreateAgentRuntimeRequest.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration) The network configuration for the AgentCore Runtime.
This is a convenience method that creates an instance of theNetworkConfiguration.Builder
avoiding the need to create one manually viaNetworkConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonetworkConfiguration(NetworkConfiguration)
.- Parameters:
networkConfiguration
- a consumer that will call methods onNetworkConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier to ensure idempotency of the request.
- Parameters:
clientToken
- A unique, case-sensitive identifier to ensure idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the AgentCore Runtime.
- Parameters:
description
- The description of the AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfiguration
CreateAgentRuntimeRequest.Builder authorizerConfiguration(AuthorizerConfiguration authorizerConfiguration) The authorizer configuration for the AgentCore Runtime.
- Parameters:
authorizerConfiguration
- The authorizer configuration for the AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authorizerConfiguration
default CreateAgentRuntimeRequest.Builder authorizerConfiguration(Consumer<AuthorizerConfiguration.Builder> authorizerConfiguration) The authorizer configuration for the AgentCore Runtime.
This is a convenience method that creates an instance of theAuthorizerConfiguration.Builder
avoiding the need to create one manually viaAuthorizerConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toauthorizerConfiguration(AuthorizerConfiguration)
.- Parameters:
authorizerConfiguration
- a consumer that will call methods onAuthorizerConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestHeaderConfiguration
CreateAgentRuntimeRequest.Builder requestHeaderConfiguration(RequestHeaderConfiguration requestHeaderConfiguration) Configuration for HTTP request headers that will be passed through to the runtime.
- Parameters:
requestHeaderConfiguration
- Configuration for HTTP request headers that will be passed through to the runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestHeaderConfiguration
default CreateAgentRuntimeRequest.Builder requestHeaderConfiguration(Consumer<RequestHeaderConfiguration.Builder> requestHeaderConfiguration) Configuration for HTTP request headers that will be passed through to the runtime.
This is a convenience method that creates an instance of theRequestHeaderConfiguration.Builder
avoiding the need to create one manually viaRequestHeaderConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torequestHeaderConfiguration(RequestHeaderConfiguration)
.- Parameters:
requestHeaderConfiguration
- a consumer that will call methods onRequestHeaderConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protocolConfiguration
CreateAgentRuntimeRequest.Builder protocolConfiguration(ProtocolConfiguration protocolConfiguration) Sets the value of the ProtocolConfiguration property for this object.- Parameters:
protocolConfiguration
- The new value for the ProtocolConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocolConfiguration
default CreateAgentRuntimeRequest.Builder protocolConfiguration(Consumer<ProtocolConfiguration.Builder> protocolConfiguration) Sets the value of the ProtocolConfiguration property for this object. This is a convenience method that creates an instance of theProtocolConfiguration.Builder
avoiding the need to create one manually viaProtocolConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotocolConfiguration(ProtocolConfiguration)
.- Parameters:
protocolConfiguration
- a consumer that will call methods onProtocolConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleConfiguration
CreateAgentRuntimeRequest.Builder lifecycleConfiguration(LifecycleConfiguration lifecycleConfiguration) The life cycle configuration for the AgentCore Runtime.
- Parameters:
lifecycleConfiguration
- The life cycle configuration for the AgentCore Runtime.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycleConfiguration
default CreateAgentRuntimeRequest.Builder lifecycleConfiguration(Consumer<LifecycleConfiguration.Builder> lifecycleConfiguration) The life cycle configuration for the AgentCore Runtime.
This is a convenience method that creates an instance of theLifecycleConfiguration.Builder
avoiding the need to create one manually viaLifecycleConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycleConfiguration(LifecycleConfiguration)
.- Parameters:
lifecycleConfiguration
- a consumer that will call methods onLifecycleConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentVariables
Environment variables to set in the AgentCore Runtime environment.
- Parameters:
environmentVariables
- Environment variables to set in the AgentCore Runtime environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A map of tag keys and values to assign to the agent runtime. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
- Parameters:
tags
- A map of tag keys and values to assign to the agent runtime. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateAgentRuntimeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateAgentRuntimeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-