Class CodeInterpreterCustomAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CodeInterpreterCustomAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CodeInterpreterCustomAttributes>
- Enclosing interface:
CodeInterpreterCustomAttributes
@Stability(Stable)
public static final class CodeInterpreterCustomAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<CodeInterpreterCustomAttributes>
A builder for
CodeInterpreterCustomAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.codeInterpreterArn(String codeInterpreterArn) Sets the value ofCodeInterpreterCustomAttributes.getCodeInterpreterArn()Sets the value ofCodeInterpreterCustomAttributes.getCreatedAt()lastUpdatedAt(String lastUpdatedAt) Sets the value ofCodeInterpreterCustomAttributes.getLastUpdatedAt()Sets the value ofCodeInterpreterCustomAttributes.getRoleArn()securityGroups(List<? extends ISecurityGroup> securityGroups) Sets the value ofCodeInterpreterCustomAttributes.getSecurityGroups()Sets the value ofCodeInterpreterCustomAttributes.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
codeInterpreterArn
@Stability(Stable) public CodeInterpreterCustomAttributes.Builder codeInterpreterArn(String codeInterpreterArn) Sets the value ofCodeInterpreterCustomAttributes.getCodeInterpreterArn()- Parameters:
codeInterpreterArn- The ARN of the agent. This parameter is required.- Returns:
this
-
roleArn
Sets the value ofCodeInterpreterCustomAttributes.getRoleArn()- Parameters:
roleArn- The ARN of the IAM role associated to the code interpreter. This parameter is required.- Returns:
this
-
createdAt
Sets the value ofCodeInterpreterCustomAttributes.getCreatedAt()- Parameters:
createdAt- The created timestamp of the code interpreter.- Returns:
this
-
lastUpdatedAt
@Stability(Stable) public CodeInterpreterCustomAttributes.Builder lastUpdatedAt(String lastUpdatedAt) Sets the value ofCodeInterpreterCustomAttributes.getLastUpdatedAt()- Parameters:
lastUpdatedAt- When this code interpreter was last updated.- Returns:
this
-
securityGroups
@Stability(Stable) public CodeInterpreterCustomAttributes.Builder securityGroups(List<? extends ISecurityGroup> securityGroups) Sets the value ofCodeInterpreterCustomAttributes.getSecurityGroups()- Parameters:
securityGroups- The security groups for this code interpreter, if in a VPC.- Returns:
this
-
status
Sets the value ofCodeInterpreterCustomAttributes.getStatus()- Parameters:
status- The status of the code interpreter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CodeInterpreterCustomAttributes>- Returns:
- a new instance of
CodeInterpreterCustomAttributes - Throws:
NullPointerException- if any required attribute was not provided
-