Class CfnRegistryMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.agentregistry.CfnRegistryMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryMixinProps>
- Enclosing interface:
CfnRegistryMixinProps
@Stability(Stable)
public static final class CfnRegistryMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryMixinProps>
A builder for
CfnRegistryMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapprovalConfiguration(CfnRegistryPropsMixin.ApprovalConfigurationProperty approvalConfiguration) Sets the value ofCfnRegistryMixinProps.getApprovalConfiguration()approvalConfiguration(IResolvable approvalConfiguration) Sets the value ofCfnRegistryMixinProps.getApprovalConfiguration()authorizerType(String authorizerType) Sets the value ofCfnRegistryMixinProps.getAuthorizerType()build()Builds the configured instance.description(String description) Sets the value ofCfnRegistryMixinProps.getDescription()discoveryConfiguration(CfnRegistryPropsMixin.DiscoveryConfigurationProperty discoveryConfiguration) Sets the value ofCfnRegistryMixinProps.getDiscoveryConfiguration()discoveryConfiguration(IResolvable discoveryConfiguration) Sets the value ofCfnRegistryMixinProps.getDiscoveryConfiguration()Sets the value ofCfnRegistryMixinProps.getName()Sets the value ofCfnRegistryMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
approvalConfiguration
@Stability(Stable) public CfnRegistryMixinProps.Builder approvalConfiguration(IResolvable approvalConfiguration) Sets the value ofCfnRegistryMixinProps.getApprovalConfiguration()- Parameters:
approvalConfiguration- Configuration for the registry's record approval workflow.- Returns:
this
-
approvalConfiguration
@Stability(Stable) public CfnRegistryMixinProps.Builder approvalConfiguration(CfnRegistryPropsMixin.ApprovalConfigurationProperty approvalConfiguration) Sets the value ofCfnRegistryMixinProps.getApprovalConfiguration()- Parameters:
approvalConfiguration- Configuration for the registry's record approval workflow.- Returns:
this
-
authorizerType
Sets the value ofCfnRegistryMixinProps.getAuthorizerType()- Parameters:
authorizerType- The type of authorizer that controls how consumers access the registry's search and MCP invoke operations.- Returns:
this
-
description
Sets the value ofCfnRegistryMixinProps.getDescription()- Parameters:
description- The description of the registry.- Returns:
this
-
discoveryConfiguration
@Stability(Stable) public CfnRegistryMixinProps.Builder discoveryConfiguration(IResolvable discoveryConfiguration) Sets the value ofCfnRegistryMixinProps.getDiscoveryConfiguration()- Parameters:
discoveryConfiguration- Discovery configuration for the registry. Controls how consumers are authorized to search the registry and invoke its MCP endpoint.- Returns:
this
-
discoveryConfiguration
@Stability(Stable) public CfnRegistryMixinProps.Builder discoveryConfiguration(CfnRegistryPropsMixin.DiscoveryConfigurationProperty discoveryConfiguration) Sets the value ofCfnRegistryMixinProps.getDiscoveryConfiguration()- Parameters:
discoveryConfiguration- Discovery configuration for the registry. Controls how consumers are authorized to search the registry and invoke its MCP endpoint.- Returns:
this
-
name
Sets the value ofCfnRegistryMixinProps.getName()- Parameters:
name- The name of the registry.- Returns:
this
-
tags
Sets the value ofCfnRegistryMixinProps.getTags()- Parameters:
tags- Tags to assign to the registry.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryMixinProps>- Returns:
- a new instance of
CfnRegistryMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-