Interface CreateSecurityProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ConnectRequest.Builder
,CopyableBuilder<CreateSecurityProfileRequest.Builder,
,CreateSecurityProfileRequest> SdkBuilder<CreateSecurityProfileRequest.Builder,
,CreateSecurityProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateSecurityProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionallowedAccessControlTags
(Map<String, String> allowedAccessControlTags) The list of tags that a security profile uses to restrict access to resources in Amazon Connect.applications
(Collection<Application> applications) This API is in preview release for Amazon Connect and is subject to change.applications
(Consumer<Application.Builder>... applications) This API is in preview release for Amazon Connect and is subject to change.applications
(Application... applications) This API is in preview release for Amazon Connect and is subject to change.description
(String description) The description of the security profile.instanceId
(String instanceId) The identifier of the Amazon Connect instance.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissions
(String... permissions) Permissions assigned to the security profile.permissions
(Collection<String> permissions) Permissions assigned to the security profile.securityProfileName
(String securityProfileName) The name of the security profile.tagRestrictedResources
(String... tagRestrictedResources) The list of resources that a security profile applies tag restrictions to in Amazon Connect.tagRestrictedResources
(Collection<String> tagRestrictedResources) The list of resources that a security profile applies tag restrictions to in Amazon Connect.The tags used to organize, track, or control access for this resource.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
securityProfileName
The name of the security profile.
- Parameters:
securityProfileName
- The name of the security profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the security profile.
- Parameters:
description
- The description of the security profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
- Parameters:
permissions
- Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
- Parameters:
permissions
- Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId
- The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
- Parameters:
tags
- The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAccessControlTags
CreateSecurityProfileRequest.Builder allowedAccessControlTags(Map<String, String> allowedAccessControlTags) The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
- Parameters:
allowedAccessControlTags
- The list of tags that a security profile uses to restrict access to resources in Amazon Connect.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagRestrictedResources
CreateSecurityProfileRequest.Builder tagRestrictedResources(Collection<String> tagRestrictedResources) The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
|SecurityProfile
|Queue
|RoutingProfile
- Parameters:
tagRestrictedResources
- The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames:User
|SecurityProfile
|Queue
|RoutingProfile
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagRestrictedResources
The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames:
User
|SecurityProfile
|Queue
|RoutingProfile
- Parameters:
tagRestrictedResources
- The list of resources that a security profile applies tag restrictions to in Amazon Connect. Following are acceptable ResourceNames:User
|SecurityProfile
|Queue
|RoutingProfile
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
This API is in preview release for Amazon Connect and is subject to change.
A list of third-party applications that the security profile will give access to.
- Parameters:
applications
- This API is in preview release for Amazon Connect and is subject to change.A list of third-party applications that the security profile will give access to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
This API is in preview release for Amazon Connect and is subject to change.
A list of third-party applications that the security profile will give access to.
- Parameters:
applications
- This API is in preview release for Amazon Connect and is subject to change.A list of third-party applications that the security profile will give access to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applications
This API is in preview release for Amazon Connect and is subject to change.
A list of third-party applications that the security profile will give access to.
This is a convenience method that creates an instance of theApplication.Builder
avoiding the need to create one manually viaApplication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplications(List<Application>)
.- Parameters:
applications
- a consumer that will call methods onApplication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateSecurityProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateSecurityProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-