Class CfnSecurityProfile.ApplicationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnSecurityProfile.ApplicationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfile.ApplicationProperty>
- Enclosing interface:
CfnSecurityProfile.ApplicationProperty
@Stability(Stable)
public static final class CfnSecurityProfile.ApplicationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfile.ApplicationProperty>
A builder for
CfnSecurityProfile.ApplicationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplicationPermissions
(List<String> applicationPermissions) Sets the value ofCfnSecurityProfile.ApplicationProperty.getApplicationPermissions()
build()
Builds the configured instance.Sets the value ofCfnSecurityProfile.ApplicationProperty.getNamespace()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationPermissions
@Stability(Stable) public CfnSecurityProfile.ApplicationProperty.Builder applicationPermissions(List<String> applicationPermissions) Sets the value ofCfnSecurityProfile.ApplicationProperty.getApplicationPermissions()
- Parameters:
applicationPermissions
- The permissions that the agent is granted on the application. This parameter is required. Only theACCESS
permission is supported.- Returns:
this
-
namespace
@Stability(Stable) public CfnSecurityProfile.ApplicationProperty.Builder namespace(String namespace) Sets the value ofCfnSecurityProfile.ApplicationProperty.getNamespace()
- Parameters:
namespace
- Namespace of the application that you want to give access to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityProfile.ApplicationProperty>
- Returns:
- a new instance of
CfnSecurityProfile.ApplicationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-