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