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 TypeMethodDescriptionallowedAccessControlTags(List<? extends Object> allowedAccessControlTags) Sets the value ofCfnSecurityProfileProps.getAllowedAccessControlTags()allowedAccessControlTags(IResolvable allowedAccessControlTags) Sets the value ofCfnSecurityProfileProps.getAllowedAccessControlTags()build()Builds the configured instance.description(String description) Sets the value ofCfnSecurityProfileProps.getDescription()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
-
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
-
description
Sets the value ofCfnSecurityProfileProps.getDescription()- Parameters:
description- The description of the security profile.- 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnSecurityProfileProps>- Returns:
- a new instance of
CfnSecurityProfileProps - Throws:
NullPointerException- if any required attribute was not provided
-