public class SecurityProfile
extends java.lang.Object
implements java.io.Serializable
Contains information about a security profile.
| Constructor and Description |
|---|
SecurityProfile() |
| Modifier and Type | Method and Description |
|---|---|
SecurityProfile |
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.
|
SecurityProfile |
addTagsEntry(java.lang.String key,
java.lang.String value)
The tags used to organize, track, or control access for this resource.
|
SecurityProfile |
clearAllowedAccessControlTagsEntries()
Removes all the entries added into AllowedAccessControlTags.
|
SecurityProfile |
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 |
getArn()
The Amazon Resource Name (ARN) for the secruity profile.
|
java.lang.String |
getDescription()
The description of the security profile.
|
java.lang.String |
getId()
The identifier for the security profile.
|
java.lang.String |
getOrganizationResourceId()
The organization resource identifier for the security profile.
|
java.lang.String |
getSecurityProfileName()
The name for 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 |
setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the secruity profile.
|
void |
setDescription(java.lang.String description)
The description of the security profile.
|
void |
setId(java.lang.String id)
The identifier for the security profile.
|
void |
setOrganizationResourceId(java.lang.String organizationResourceId)
The organization resource identifier for the security profile.
|
void |
setSecurityProfileName(java.lang.String securityProfileName)
The name for 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.
|
SecurityProfile |
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.
|
SecurityProfile |
withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the secruity profile.
|
SecurityProfile |
withDescription(java.lang.String description)
The description of the security profile.
|
SecurityProfile |
withId(java.lang.String id)
The identifier for the security profile.
|
SecurityProfile |
withOrganizationResourceId(java.lang.String organizationResourceId)
The organization resource identifier for the security profile.
|
SecurityProfile |
withSecurityProfileName(java.lang.String securityProfileName)
The name for the security profile.
|
SecurityProfile |
withTagRestrictedResources(java.util.Collection<java.lang.String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
SecurityProfile |
withTagRestrictedResources(java.lang.String... tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to
in Amazon Connect.
|
SecurityProfile |
withTags(java.util.Map<java.lang.String,java.lang.String> tags)
The tags used to organize, track, or control access for this resource.
|
public java.lang.String getId()
The identifier for the security profile.
The identifier for the security profile.
public void setId(java.lang.String id)
The identifier for the security profile.
id - The identifier for the security profile.
public SecurityProfile withId(java.lang.String id)
The identifier for the security profile.
Returns a reference to this object so that method calls can be chained together.
id - The identifier for the security profile.
public java.lang.String getOrganizationResourceId()
The organization resource identifier for the security profile.
Constraints:
Length: 1 - 100
The organization resource identifier for the security profile.
public void setOrganizationResourceId(java.lang.String organizationResourceId)
The organization resource identifier for the security profile.
Constraints:
Length: 1 - 100
organizationResourceId - The organization resource identifier for the security profile.
public SecurityProfile withOrganizationResourceId(java.lang.String organizationResourceId)
The organization resource identifier for the security profile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
organizationResourceId - The organization resource identifier for the security profile.
public java.lang.String getArn()
The Amazon Resource Name (ARN) for the secruity profile.
The Amazon Resource Name (ARN) for the secruity profile.
public void setArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the secruity profile.
arn - The Amazon Resource Name (ARN) for the secruity profile.
public SecurityProfile withArn(java.lang.String arn)
The Amazon Resource Name (ARN) for the secruity profile.
Returns a reference to this object so that method calls can be chained together.
arn - The Amazon Resource Name (ARN) for the secruity profile.
public java.lang.String getSecurityProfileName()
The name for the security profile.
The name for the security profile.
public void setSecurityProfileName(java.lang.String securityProfileName)
The name for the security profile.
securityProfileName - The name for the security profile.
public SecurityProfile withSecurityProfileName(java.lang.String securityProfileName)
The name for the security profile.
Returns a reference to this object so that method calls can be chained together.
securityProfileName - The name for 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 SecurityProfile 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.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 SecurityProfile 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 SecurityProfile 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 SecurityProfile 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 SecurityProfile 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 SecurityProfile 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 SecurityProfile 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 SecurityProfile 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 SecurityProfile 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