public class UpdateSecurityProfileRequest
extends com.amazonaws.AmazonWebServiceRequest
implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Updates a security profile.
| Constructor and Description |
|---|
UpdateSecurityProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateSecurityProfileRequest |
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.
|
UpdateSecurityProfileRequest |
clearAllowedAccessControlTagsEntries()
Removes all the entries added into AllowedAccessControlTags.
|
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()
The permissions granted to a security profile.
|
java.lang.String |
getSecurityProfileId()
The identifier for the security profle.
|
java.util.List<java.lang.String> |
getTagRestrictedResources()
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
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)
The permissions granted to a security profile.
|
void |
setSecurityProfileId(java.lang.String securityProfileId)
The identifier for the security profle.
|
void |
setTagRestrictedResources(java.util.Collection<java.lang.String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateSecurityProfileRequest |
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.
|
UpdateSecurityProfileRequest |
withDescription(java.lang.String description)
The description of the security profile.
|
UpdateSecurityProfileRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateSecurityProfileRequest |
withPermissions(java.util.Collection<java.lang.String> permissions)
The permissions granted to a security profile.
|
UpdateSecurityProfileRequest |
withPermissions(java.lang.String... permissions)
The permissions granted to a security profile.
|
UpdateSecurityProfileRequest |
withSecurityProfileId(java.lang.String securityProfileId)
The identifier for the security profle.
|
UpdateSecurityProfileRequest |
withTagRestrictedResources(java.util.Collection<java.lang.String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
UpdateSecurityProfileRequest |
withTagRestrictedResources(java.lang.String... tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic 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 UpdateSecurityProfileRequest 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()
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
public void setPermissions(java.util.Collection<java.lang.String> permissions)
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
permissions - The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
public UpdateSecurityProfileRequest withPermissions(java.lang.String... permissions)
The permissions granted to a 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 - The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
public UpdateSecurityProfileRequest withPermissions(java.util.Collection<java.lang.String> permissions)
The permissions granted to a 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 - The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
public java.lang.String getSecurityProfileId()
The identifier for the security profle.
The identifier for the security profle.
public void setSecurityProfileId(java.lang.String securityProfileId)
The identifier for the security profle.
securityProfileId - The identifier for the security profle.
public UpdateSecurityProfileRequest withSecurityProfileId(java.lang.String securityProfileId)
The identifier for the security profle.
Returns a reference to this object so that method calls can be chained together.
securityProfileId - The identifier for the security profle.
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 UpdateSecurityProfileRequest 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> 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 UpdateSecurityProfileRequest 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 UpdateSecurityProfileRequest 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 UpdateSecurityProfileRequest 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.
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
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.
tagRestrictedResources - The list of resources that a security profile applies tag restrictions to in Amazon Connect.
public UpdateSecurityProfileRequest withTagRestrictedResources(java.lang.String... tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
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.
public UpdateSecurityProfileRequest withTagRestrictedResources(java.util.Collection<java.lang.String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
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.
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