Class RuntimeEndpointAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.RuntimeEndpointAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RuntimeEndpointAttributes>
- Enclosing interface:
RuntimeEndpointAttributes
@Stability(Stable)
public static final class RuntimeEndpointAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<RuntimeEndpointAttributes>
A builder for
RuntimeEndpointAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentRuntimeArn(String agentRuntimeArn) Sets the value ofRuntimeEndpointAttributes.getAgentRuntimeArn()agentRuntimeEndpointArn(String agentRuntimeEndpointArn) Sets the value ofRuntimeEndpointAttributes.getAgentRuntimeEndpointArn()build()Builds the configured instance.Sets the value ofRuntimeEndpointAttributes.getCreatedAt()description(String description) Sets the value ofRuntimeEndpointAttributes.getDescription()endpointId(String endpointId) Sets the value ofRuntimeEndpointAttributes.getEndpointId()endpointName(String endpointName) Sets the value ofRuntimeEndpointAttributes.getEndpointName()lastUpdatedAt(String lastUpdatedAt) Sets the value ofRuntimeEndpointAttributes.getLastUpdatedAt()liveVersion(String liveVersion) Sets the value ofRuntimeEndpointAttributes.getLiveVersion()Sets the value ofRuntimeEndpointAttributes.getStatus()targetVersion(String targetVersion) Sets the value ofRuntimeEndpointAttributes.getTargetVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
agentRuntimeArn
Sets the value ofRuntimeEndpointAttributes.getAgentRuntimeArn()- Parameters:
agentRuntimeArn- The ARN of the parent agent runtime. This parameter is required.- Returns:
this
-
agentRuntimeEndpointArn
@Stability(Stable) public RuntimeEndpointAttributes.Builder agentRuntimeEndpointArn(String agentRuntimeEndpointArn) Sets the value ofRuntimeEndpointAttributes.getAgentRuntimeEndpointArn()- Parameters:
agentRuntimeEndpointArn- The ARN of the runtime endpoint. This parameter is required.- Returns:
this
-
endpointName
Sets the value ofRuntimeEndpointAttributes.getEndpointName()- Parameters:
endpointName- The name of the runtime endpoint. This parameter is required.- Returns:
this
-
createdAt
Sets the value ofRuntimeEndpointAttributes.getCreatedAt()- Parameters:
createdAt- When the endpoint was created.- Returns:
this
-
description
Sets the value ofRuntimeEndpointAttributes.getDescription()- Parameters:
description- The description of the runtime endpoint.- Returns:
this
-
endpointId
Sets the value ofRuntimeEndpointAttributes.getEndpointId()- Parameters:
endpointId- The unique identifier of the runtime endpoint.- Returns:
this
-
lastUpdatedAt
Sets the value ofRuntimeEndpointAttributes.getLastUpdatedAt()- Parameters:
lastUpdatedAt- When the endpoint was last updated.- Returns:
this
-
liveVersion
Sets the value ofRuntimeEndpointAttributes.getLiveVersion()- Parameters:
liveVersion- The live version of the agent runtime that is currently serving requests.- Returns:
this
-
status
Sets the value ofRuntimeEndpointAttributes.getStatus()- Parameters:
status- The current status of the runtime endpoint.- Returns:
this
-
targetVersion
Sets the value ofRuntimeEndpointAttributes.getTargetVersion()- Parameters:
targetVersion- The target version the endpoint is transitioning to (during updates).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<RuntimeEndpointAttributes>- Returns:
- a new instance of
RuntimeEndpointAttributes - Throws:
NullPointerException- if any required attribute was not provided
-