Class CfnSecurityProfileMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnSecurityProfileMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfileMixinProps>
- Enclosing interface:
CfnSecurityProfileMixinProps
@Stability(Stable)
public static final class CfnSecurityProfileMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfileMixinProps>
A builder for
CfnSecurityProfileMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId) Sets the value ofCfnSecurityProfileMixinProps.getAllowedAccessControlHierarchyGroupId()allowedAccessControlTags(List<? extends Object> allowedAccessControlTags) Sets the value ofCfnSecurityProfileMixinProps.getAllowedAccessControlTags()allowedAccessControlTags(IResolvable allowedAccessControlTags) Sets the value ofCfnSecurityProfileMixinProps.getAllowedAccessControlTags()allowedFlowModules(List<? extends Object> allowedFlowModules) Sets the value ofCfnSecurityProfileMixinProps.getAllowedFlowModules()allowedFlowModules(IResolvable allowedFlowModules) Sets the value ofCfnSecurityProfileMixinProps.getAllowedFlowModules()applications(List<? extends Object> applications) Sets the value ofCfnSecurityProfileMixinProps.getApplications()applications(IResolvable applications) Sets the value ofCfnSecurityProfileMixinProps.getApplications()build()Builds the configured instance.description(String description) Sets the value ofCfnSecurityProfileMixinProps.getDescription()granularAccessControlConfiguration(CfnSecurityProfilePropsMixin.GranularAccessControlConfigurationProperty granularAccessControlConfiguration) Sets the value ofCfnSecurityProfileMixinProps.getGranularAccessControlConfiguration()granularAccessControlConfiguration(IResolvable granularAccessControlConfiguration) Sets the value ofCfnSecurityProfileMixinProps.getGranularAccessControlConfiguration()hierarchyRestrictedResources(List<String> hierarchyRestrictedResources) Sets the value ofCfnSecurityProfileMixinProps.getHierarchyRestrictedResources()instanceArn(String instanceArn) Sets the value ofCfnSecurityProfileMixinProps.getInstanceArn()instanceArn(IInstanceRef instanceArn) Sets the value ofCfnSecurityProfileMixinProps.getInstanceArn()permissions(List<String> permissions) Sets the value ofCfnSecurityProfileMixinProps.getPermissions()securityProfileName(String securityProfileName) Sets the value ofCfnSecurityProfileMixinProps.getSecurityProfileName()tagRestrictedResources(List<String> tagRestrictedResources) Sets the value ofCfnSecurityProfileMixinProps.getTagRestrictedResources()Sets the value ofCfnSecurityProfileMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
allowedAccessControlHierarchyGroupId
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder allowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId) Sets the value ofCfnSecurityProfileMixinProps.getAllowedAccessControlHierarchyGroupId()- Parameters:
allowedAccessControlHierarchyGroupId- The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.- Returns:
this
-
allowedAccessControlTags
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder allowedAccessControlTags(IResolvable allowedAccessControlTags) Sets the value ofCfnSecurityProfileMixinProps.getAllowedAccessControlTags()- Parameters:
allowedAccessControlTags- The list of tags that a security profile uses to restrict access to resources in Amazon Connect.- Returns:
this
-
allowedAccessControlTags
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder allowedAccessControlTags(List<? extends Object> allowedAccessControlTags) Sets the value ofCfnSecurityProfileMixinProps.getAllowedAccessControlTags()- Parameters:
allowedAccessControlTags- The list of tags that a security profile uses to restrict access to resources in Amazon Connect.- Returns:
this
-
allowedFlowModules
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder allowedFlowModules(IResolvable allowedFlowModules) Sets the value ofCfnSecurityProfileMixinProps.getAllowedFlowModules()- Parameters:
allowedFlowModules- The list of flow-module resources to be linked to a security profile in Amazon Connect.- Returns:
this
-
allowedFlowModules
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder allowedFlowModules(List<? extends Object> allowedFlowModules) Sets the value ofCfnSecurityProfileMixinProps.getAllowedFlowModules()- Parameters:
allowedFlowModules- The list of flow-module resources to be linked to a security profile in Amazon Connect.- Returns:
this
-
applications
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder applications(IResolvable applications) Sets the value ofCfnSecurityProfileMixinProps.getApplications()- Parameters:
applications- A list of third-party applications that the security profile will give access to.- Returns:
this
-
applications
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder applications(List<? extends Object> applications) Sets the value ofCfnSecurityProfileMixinProps.getApplications()- Parameters:
applications- A list of third-party applications that the security profile will give access to.- Returns:
this
-
description
Sets the value ofCfnSecurityProfileMixinProps.getDescription()- Parameters:
description- The description of the security profile.- Returns:
this
-
granularAccessControlConfiguration
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder granularAccessControlConfiguration(IResolvable granularAccessControlConfiguration) Sets the value ofCfnSecurityProfileMixinProps.getGranularAccessControlConfiguration()- Parameters:
granularAccessControlConfiguration- The granular access control configuration for the security profile, including data table permissions.- Returns:
this
-
granularAccessControlConfiguration
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder granularAccessControlConfiguration(CfnSecurityProfilePropsMixin.GranularAccessControlConfigurationProperty granularAccessControlConfiguration) Sets the value ofCfnSecurityProfileMixinProps.getGranularAccessControlConfiguration()- Parameters:
granularAccessControlConfiguration- The granular access control configuration for the security profile, including data table permissions.- Returns:
this
-
hierarchyRestrictedResources
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder hierarchyRestrictedResources(List<String> hierarchyRestrictedResources) Sets the value ofCfnSecurityProfileMixinProps.getHierarchyRestrictedResources()- Parameters:
hierarchyRestrictedResources- The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are acceptable ResourceNames:User.- Returns:
this
-
instanceArn
Sets the value ofCfnSecurityProfileMixinProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance.- Returns:
this
-
instanceArn
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder instanceArn(IInstanceRef instanceArn) Sets the value ofCfnSecurityProfileMixinProps.getInstanceArn()- Parameters:
instanceArn- The identifier of the Amazon Connect instance.- Returns:
this
-
permissions
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder permissions(List<String> permissions) Sets the value ofCfnSecurityProfileMixinProps.getPermissions()- Parameters:
permissions- Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions .- Returns:
this
-
securityProfileName
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder securityProfileName(String securityProfileName) Sets the value ofCfnSecurityProfileMixinProps.getSecurityProfileName()- Parameters:
securityProfileName- The name for the security profile.- Returns:
this
-
tagRestrictedResources
@Stability(Stable) public CfnSecurityProfileMixinProps.Builder tagRestrictedResources(List<String> tagRestrictedResources) Sets the value ofCfnSecurityProfileMixinProps.getTagRestrictedResources()- Parameters:
tagRestrictedResources- The list of resources that a security profile applies tag restrictions to in Amazon Connect.- Returns:
this
-
tags
Sets the value ofCfnSecurityProfileMixinProps.getTags()- Parameters:
tags- The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityProfileMixinProps>- Returns:
- a new instance of
CfnSecurityProfileMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-