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