Class GatewayAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.GatewayAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayAttributes>
- Enclosing interface:
GatewayAttributes
@Stability(Stable)
public static final class GatewayAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayAttributes>
A builder for
GatewayAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gatewayArn(String gatewayArn) Sets the value ofGatewayAttributes.getGatewayArn()Sets the value ofGatewayAttributes.getGatewayId()gatewayName(String gatewayName) Sets the value ofGatewayAttributes.getGatewayName()Sets the value ofGatewayAttributes.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayArn
Sets the value ofGatewayAttributes.getGatewayArn()- Parameters:
gatewayArn- The ARN of the gateway. This parameter is required.- Returns:
this
-
gatewayId
Sets the value ofGatewayAttributes.getGatewayId()- Parameters:
gatewayId- The ID of the gateway. This parameter is required.- Returns:
this
-
gatewayName
Sets the value ofGatewayAttributes.getGatewayName()- Parameters:
gatewayName- The name of the gateway. This parameter is required.- Returns:
this
-
role
Sets the value ofGatewayAttributes.getRole()- Parameters:
role- The IAM role that provides permissions for the gateway. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GatewayAttributes>- Returns:
- a new instance of
GatewayAttributes - Throws:
NullPointerException- if any required attribute was not provided
-