Class CfnGatewayTarget.SchemaDefinitionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.SchemaDefinitionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTarget.SchemaDefinitionProperty>
- Enclosing interface:
CfnGatewayTarget.SchemaDefinitionProperty
@Stability(Stable)
public static final class CfnGatewayTarget.SchemaDefinitionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTarget.SchemaDefinitionProperty>
A builder for
CfnGatewayTarget.SchemaDefinitionProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getDescription()
items
(IResolvable items) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getItems()
Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getItems()
properties
(Map<String, ? extends Object> properties) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getProperties()
properties
(IResolvable properties) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getProperties()
Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getRequired()
Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getType()
- Parameters:
type
- The scheme definition type for the gateway target. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnGatewayTarget.SchemaDefinitionProperty.Builder description(String description) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getDescription()
- Parameters:
description
- The workload identity details for the gateway.- Returns:
this
-
items
@Stability(Stable) public CfnGatewayTarget.SchemaDefinitionProperty.Builder items(IResolvable items) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getItems()
- Parameters:
items
- the value to be set.- Returns:
this
-
items
@Stability(Stable) public CfnGatewayTarget.SchemaDefinitionProperty.Builder items(CfnGatewayTarget.SchemaDefinitionProperty items) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getItems()
- Parameters:
items
- the value to be set.- Returns:
this
-
properties
@Stability(Stable) public CfnGatewayTarget.SchemaDefinitionProperty.Builder properties(IResolvable properties) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getProperties()
- Parameters:
properties
- The schema definition properties for the gateway target.- Returns:
this
-
properties
@Stability(Stable) public CfnGatewayTarget.SchemaDefinitionProperty.Builder properties(Map<String, ? extends Object> properties) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getProperties()
- Parameters:
properties
- The schema definition properties for the gateway target.- Returns:
this
-
required
@Stability(Stable) public CfnGatewayTarget.SchemaDefinitionProperty.Builder required(List<String> required) Sets the value ofCfnGatewayTarget.SchemaDefinitionProperty.getRequired()
- Parameters:
required
- The schema definition.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnGatewayTarget.SchemaDefinitionProperty>
- Returns:
- a new instance of
CfnGatewayTarget.SchemaDefinitionProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-