public class CreateSecurityProfileRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Creates a security profile.
| Constructor and Description |
|---|
CreateSecurityProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateSecurityProfileRequest |
addAllowedAccessControlTagsEntry(java.lang.String key,
java.lang.String value)
The list of tags that a security profile uses to restrict access to
resources in Amazon Connect.
|
CreateSecurityProfileRequest |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
CreateSecurityProfileRequest |
clearAllowedAccessControlTagsEntries()
Removes all the entries added into AllowedAccessControlTags.
|
CreateSecurityProfileRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.String> |
getAllowedAccessControlTags()
The list of tags that a security profile uses to restrict access to
resources in Amazon Connect.
|
java.lang.String |
getDescription()
The description of the security profile.
|
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.util.List<java.lang.String> |
getPermissions()
Permissions assigned to the security profile.
|
java.lang.String |
getSecurityProfileName()
The name of the security profile.
|
java.util.List<java.lang.String> |
getTagRestrictedResources()
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
java.util.Map<java.lang.String,java.lang.String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setAllowedAccessControlTags(java.util.Map<java.lang.String,java.lang.String> allowedAccessControlTags)
The list of tags that a security profile uses to restrict access to
resources in Amazon Connect.
|
void |
setDescription(java.lang.String description)
The description of the security profile.
|
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setPermissions(java.util.Collection<java.lang.String> permissions)
Permissions assigned to the security profile.
|
void |
setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
|
void |
setTagRestrictedResources(java.util.Collection<java.lang.String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
void |
setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSecurityProfileRequest |
withAllowedAccessControlTags(java.util.Map<java.lang.String,java.lang.String> allowedAccessControlTags)
The list of tags that a security profile uses to restrict access to
resources in Amazon Connect.
|
CreateSecurityProfileRequest |
withDescription(java.lang.String description)
The description of the security profile.
|
CreateSecurityProfileRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateSecurityProfileRequest |
withPermissions(java.util.Collection<java.lang.String> permissions)
Permissions assigned to the security profile.
|
CreateSecurityProfileRequest |
withPermissions(java.lang.String... permissions)
Permissions assigned to the security profile.
|
CreateSecurityProfileRequest |
withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
|
CreateSecurityProfileRequest |
withTagRestrictedResources(java.util.Collection<java.lang.String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
CreateSecurityProfileRequest |
withTagRestrictedResources(java.lang.String... tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
CreateSecurityProfileRequest |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getSecurityProfileName()
The name of the security profile.
Constraints:
Length: 1 - 127
Pattern: ^[ a-zA-Z0-9_@-]+$
The name of the security profile.
public void setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
Constraints:
Length: 1 - 127
Pattern: ^[ a-zA-Z0-9_@-]+$
securityProfileName - The name of the security profile.
public CreateSecurityProfileRequest withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
Pattern: ^[ a-zA-Z0-9_@-]+$
securityProfileName - The name of the security profile.
public java.lang.String getDescription()
The description of the security profile.
Constraints:
Length: - 250
The description of the security profile.
public void setDescription(java.lang.String description)
The description of the security profile.
Constraints:
Length: - 250
description - The description of the security profile.
public CreateSecurityProfileRequest withDescription(java.lang.String description)
The description of the security profile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 250
description - The description of the security profile.
public java.util.List<java.lang.String> getPermissions()
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
public void setPermissions(java.util.Collection<java.lang.String> permissions)
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
permissions - Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
public CreateSecurityProfileRequest withPermissions(java.lang.String... permissions)
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
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.
public CreateSecurityProfileRequest withPermissions(java.util.Collection<java.lang.String> permissions)
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
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.
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreateSecurityProfileRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public java.util.Map<java.lang.String,java.lang.String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public CreateSecurityProfileRequest withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
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"} }.
public CreateSecurityProfileRequest addTagsEntry(java.lang.String key, java.lang.String value)
The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
The method adds a new key-value pair into Tags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into Tags.value - The corresponding value of the entry to be added into Tags.public CreateSecurityProfileRequest clearTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.Map<java.lang.String,java.lang.String> getAllowedAccessControlTags()
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
public void setAllowedAccessControlTags(java.util.Map<java.lang.String,java.lang.String> allowedAccessControlTags)
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
allowedAccessControlTags - The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
public CreateSecurityProfileRequest withAllowedAccessControlTags(java.util.Map<java.lang.String,java.lang.String> allowedAccessControlTags)
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
Returns a reference to this object so that method calls can be chained together.
allowedAccessControlTags - The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
public CreateSecurityProfileRequest addAllowedAccessControlTagsEntry(java.lang.String key, java.lang.String value)
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
The method adds a new key-value pair into AllowedAccessControlTags parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into
AllowedAccessControlTags.value - The corresponding value of the entry to be added into
AllowedAccessControlTags.public CreateSecurityProfileRequest clearAllowedAccessControlTagsEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<java.lang.String> getTagRestrictedResources()
The list of resources that a security profile applies tag restrictions to
in Amazon Connect. Following are acceptable ResourceNames:
User | SecurityProfile | Queue |
RoutingProfile
The list of resources that a security profile applies tag
restrictions to in Amazon Connect. Following are acceptable
ResourceNames: User | SecurityProfile |
Queue | RoutingProfile
public void setTagRestrictedResources(java.util.Collection<java.lang.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
tagRestrictedResources -
The list of resources that a security profile applies tag
restrictions to in Amazon Connect. Following are acceptable
ResourceNames: User |
SecurityProfile | Queue |
RoutingProfile
public CreateSecurityProfileRequest withTagRestrictedResources(java.lang.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
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
public CreateSecurityProfileRequest withTagRestrictedResources(java.util.Collection<java.lang.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
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
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object