Class GatewayTargetReference.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.GatewayTargetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayTargetReference>
- Enclosing interface:
GatewayTargetReference
@Stability(Stable)
public static final class GatewayTargetReference.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayTargetReference>
A builder for
GatewayTargetReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.gatewayIdentifier
(String gatewayIdentifier) Sets the value ofGatewayTargetReference.getGatewayIdentifier()
Sets the value ofGatewayTargetReference.getTargetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gatewayIdentifier
@Stability(Stable) public GatewayTargetReference.Builder gatewayIdentifier(String gatewayIdentifier) Sets the value ofGatewayTargetReference.getGatewayIdentifier()
- Parameters:
gatewayIdentifier
- The GatewayIdentifier of the GatewayTarget resource. This parameter is required.- Returns:
this
-
targetId
Sets the value ofGatewayTargetReference.getTargetId()
- Parameters:
targetId
- The TargetId of the GatewayTarget resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<GatewayTargetReference>
- Returns:
- a new instance of
GatewayTargetReference
- Throws:
NullPointerException
- if any required attribute was not provided
-