Class CfnSecurityProfilePropsMixin.ApplicationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnSecurityProfilePropsMixin.ApplicationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.ApplicationProperty>
- Enclosing interface:
CfnSecurityProfilePropsMixin.ApplicationProperty
@Stability(Stable)
public static final class CfnSecurityProfilePropsMixin.ApplicationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.ApplicationProperty>
A builder for
CfnSecurityProfilePropsMixin.ApplicationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationPermissions(List<String> applicationPermissions) build()Builds the configured instance.Sets the value ofCfnSecurityProfilePropsMixin.ApplicationProperty.getNamespace()Sets the value ofCfnSecurityProfilePropsMixin.ApplicationProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationPermissions
@Stability(Stable) public CfnSecurityProfilePropsMixin.ApplicationProperty.Builder applicationPermissions(List<String> applicationPermissions) - Parameters:
applicationPermissions- The permissions that the agent is granted on the application. For third-party applications, only theACCESSpermission is supported. For MCP Servers, the permissions are tool Identifiers accepted by MCP Server.- Returns:
this
-
namespace
@Stability(Stable) public CfnSecurityProfilePropsMixin.ApplicationProperty.Builder namespace(String namespace) Sets the value ofCfnSecurityProfilePropsMixin.ApplicationProperty.getNamespace()- Parameters:
namespace- Namespace of the application that you want to give access to.- Returns:
this
-
type
@Stability(Stable) public CfnSecurityProfilePropsMixin.ApplicationProperty.Builder type(String type) Sets the value ofCfnSecurityProfilePropsMixin.ApplicationProperty.getType()- Parameters:
type- The type of the application.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityProfilePropsMixin.ApplicationProperty>- Returns:
- a new instance of
CfnSecurityProfilePropsMixin.ApplicationProperty - Throws:
NullPointerException- if any required attribute was not provided
-