Class GatewayTargetAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.GatewayTargetAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<GatewayTargetAttributes>
- Enclosing interface:
GatewayTargetAttributes
@Stability(Stable)
public static final class GatewayTargetAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<GatewayTargetAttributes>
A builder for
GatewayTargetAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofGatewayTargetAttributes.getCreatedAt()Sets the value ofGatewayTargetAttributes.getGateway()gatewayTargetName(String gatewayTargetName) Sets the value ofGatewayTargetAttributes.getGatewayTargetName()Sets the value ofGatewayTargetAttributes.getStatus()Sets the value ofGatewayTargetAttributes.getTargetArn()Sets the value ofGatewayTargetAttributes.getTargetId()Sets the value ofGatewayTargetAttributes.getUpdatedAt()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gateway
Sets the value ofGatewayTargetAttributes.getGateway()- Parameters:
gateway- The gateway this target belongs to. This parameter is required.- Returns:
this
-
gatewayTargetName
@Stability(Stable) public GatewayTargetAttributes.Builder gatewayTargetName(String gatewayTargetName) Sets the value ofGatewayTargetAttributes.getGatewayTargetName()- Parameters:
gatewayTargetName- The name of the gateway target. This parameter is required.- Returns:
this
-
targetArn
Sets the value ofGatewayTargetAttributes.getTargetArn()- Parameters:
targetArn- The ARN of the gateway target. This parameter is required.- Returns:
this
-
targetId
Sets the value ofGatewayTargetAttributes.getTargetId()- Parameters:
targetId- The ID of the gateway target. This parameter is required.- Returns:
this
-
createdAt
Sets the value ofGatewayTargetAttributes.getCreatedAt()- Parameters:
createdAt- Optional creation timestamp.- Returns:
this
-
status
Sets the value ofGatewayTargetAttributes.getStatus()- Parameters:
status- Optional status of the target.- Returns:
this
-
updatedAt
Sets the value ofGatewayTargetAttributes.getUpdatedAt()- Parameters:
updatedAt- Optional last update timestamp.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<GatewayTargetAttributes>- Returns:
- a new instance of
GatewayTargetAttributes - Throws:
NullPointerException- if any required attribute was not provided
-