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