Class CfnSecurityProfileProps.Builder
java.lang.Object
software.amazon.awscdk.services.connect.CfnSecurityProfileProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSecurityProfileProps>
- Enclosing interface:
CfnSecurityProfileProps
@Stability(Stable)
public static final class CfnSecurityProfileProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSecurityProfileProps>
A builder for
CfnSecurityProfileProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedAccessControlHierarchyGroupId
(String allowedAccessControlHierarchyGroupId) Sets the value ofCfnSecurityProfileProps.getAllowedAccessControlHierarchyGroupId()
allowedAccessControlTags
(List<? extends Object> allowedAccessControlTags) Sets the value ofCfnSecurityProfileProps.getAllowedAccessControlTags()
allowedAccessControlTags
(IResolvable allowedAccessControlTags) Sets the value ofCfnSecurityProfileProps.getAllowedAccessControlTags()
applications
(List<? extends Object> applications) Sets the value ofCfnSecurityProfileProps.getApplications()
applications
(IResolvable applications) Sets the value ofCfnSecurityProfileProps.getApplications()
build()
Builds the configured instance.description
(String description) Sets the value ofCfnSecurityProfileProps.getDescription()
hierarchyRestrictedResources
(List<String> hierarchyRestrictedResources) Sets the value ofCfnSecurityProfileProps.getHierarchyRestrictedResources()
instanceArn
(String instanceArn) Sets the value ofCfnSecurityProfileProps.getInstanceArn()
permissions
(List<String> permissions) Sets the value ofCfnSecurityProfileProps.getPermissions()
securityProfileName
(String securityProfileName) Sets the value ofCfnSecurityProfileProps.getSecurityProfileName()
tagRestrictedResources
(List<String> tagRestrictedResources) Sets the value ofCfnSecurityProfileProps.getTagRestrictedResources()
Sets the value ofCfnSecurityProfileProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceArn
Sets the value ofCfnSecurityProfileProps.getInstanceArn()
- Parameters:
instanceArn
- The identifier of the Amazon Connect instance. This parameter is required.- Returns:
this
-
securityProfileName
@Stability(Stable) public CfnSecurityProfileProps.Builder securityProfileName(String securityProfileName) Sets the value ofCfnSecurityProfileProps.getSecurityProfileName()
- Parameters:
securityProfileName
- The name for the security profile. This parameter is required.- Returns:
this
-
allowedAccessControlHierarchyGroupId
@Stability(Stable) public CfnSecurityProfileProps.Builder allowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId) Sets the value ofCfnSecurityProfileProps.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 CfnSecurityProfileProps.Builder allowedAccessControlTags(IResolvable allowedAccessControlTags) Sets the value ofCfnSecurityProfileProps.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 CfnSecurityProfileProps.Builder allowedAccessControlTags(List<? extends Object> allowedAccessControlTags) Sets the value ofCfnSecurityProfileProps.getAllowedAccessControlTags()
- Parameters:
allowedAccessControlTags
- The list of tags that a security profile uses to restrict access to resources in Amazon Connect.- Returns:
this
-
applications
Sets the value ofCfnSecurityProfileProps.getApplications()
- Parameters:
applications
- A list of third-party applications that the security profile will give access to.- Returns:
this
-
applications
@Stability(Stable) public CfnSecurityProfileProps.Builder applications(List<? extends Object> applications) Sets the value ofCfnSecurityProfileProps.getApplications()
- Parameters:
applications
- A list of third-party applications that the security profile will give access to.- Returns:
this
-
description
Sets the value ofCfnSecurityProfileProps.getDescription()
- Parameters:
description
- The description of the security profile.- Returns:
this
-
hierarchyRestrictedResources
@Stability(Stable) public CfnSecurityProfileProps.Builder hierarchyRestrictedResources(List<String> hierarchyRestrictedResources) Sets the value ofCfnSecurityProfileProps.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
-
permissions
Sets the value ofCfnSecurityProfileProps.getPermissions()
- Parameters:
permissions
- Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions .- Returns:
this
-
tagRestrictedResources
@Stability(Stable) public CfnSecurityProfileProps.Builder tagRestrictedResources(List<String> tagRestrictedResources) Sets the value ofCfnSecurityProfileProps.getTagRestrictedResources()
- Parameters:
tagRestrictedResources
- The list of resources that a security profile applies tag restrictions to in Amazon Connect.- Returns:
this
-
tags
Sets the value ofCfnSecurityProfileProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnSecurityProfileProps>
- Returns:
- a new instance of
CfnSecurityProfileProps
- Throws:
NullPointerException
- if any required attribute was not provided
-