@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SecurityProfile extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a security profile.
Constructor and Description |
---|
SecurityProfile() |
Modifier and Type | Method and Description |
---|---|
SecurityProfile |
addAllowedAccessControlTagsEntry(String key,
String value)
Add a single AllowedAccessControlTags entry
|
SecurityProfile |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
SecurityProfile |
clearAllowedAccessControlTagsEntries()
Removes all the entries added into AllowedAccessControlTags.
|
SecurityProfile |
clearTagsEntries()
Removes all the entries added into Tags.
|
SecurityProfile |
clone() |
boolean |
equals(Object obj) |
String |
getAllowedAccessControlHierarchyGroupId()
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon
Connect.
|
Map<String,String> |
getAllowedAccessControlTags()
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
|
String |
getArn()
The Amazon Resource Name (ARN) for the secruity profile.
|
String |
getDescription()
The description of the security profile.
|
List<String> |
getHierarchyRestrictedResources()
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
|
String |
getId()
The identifier for the security profile.
|
String |
getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
|
Date |
getLastModifiedTime()
The timestamp when this resource was last modified.
|
String |
getOrganizationResourceId()
The organization resource identifier for the security profile.
|
String |
getSecurityProfileName()
The name for the security profile.
|
List<String> |
getTagRestrictedResources()
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId)
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon
Connect.
|
void |
setAllowedAccessControlTags(Map<String,String> allowedAccessControlTags)
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the secruity profile.
|
void |
setDescription(String description)
The description of the security profile.
|
void |
setHierarchyRestrictedResources(Collection<String> hierarchyRestrictedResources)
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
|
void |
setId(String id)
The identifier for the security profile.
|
void |
setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
void |
setOrganizationResourceId(String organizationResourceId)
The organization resource identifier for the security profile.
|
void |
setSecurityProfileName(String securityProfileName)
The name for the security profile.
|
void |
setTagRestrictedResources(Collection<String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
SecurityProfile |
withAllowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId)
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon
Connect.
|
SecurityProfile |
withAllowedAccessControlTags(Map<String,String> allowedAccessControlTags)
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
|
SecurityProfile |
withArn(String arn)
The Amazon Resource Name (ARN) for the secruity profile.
|
SecurityProfile |
withDescription(String description)
The description of the security profile.
|
SecurityProfile |
withHierarchyRestrictedResources(Collection<String> hierarchyRestrictedResources)
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
|
SecurityProfile |
withHierarchyRestrictedResources(String... hierarchyRestrictedResources)
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
|
SecurityProfile |
withId(String id)
The identifier for the security profile.
|
SecurityProfile |
withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
|
SecurityProfile |
withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
|
SecurityProfile |
withOrganizationResourceId(String organizationResourceId)
The organization resource identifier for the security profile.
|
SecurityProfile |
withSecurityProfileName(String securityProfileName)
The name for the security profile.
|
SecurityProfile |
withTagRestrictedResources(Collection<String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
SecurityProfile |
withTagRestrictedResources(String... tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
SecurityProfile |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
public void setId(String id)
The identifier for the security profile.
id
- The identifier for the security profile.public String getId()
The identifier for the security profile.
public SecurityProfile withId(String id)
The identifier for the security profile.
id
- The identifier for the security profile.public void setOrganizationResourceId(String organizationResourceId)
The organization resource identifier for the security profile.
organizationResourceId
- The organization resource identifier for the security profile.public String getOrganizationResourceId()
The organization resource identifier for the security profile.
public SecurityProfile withOrganizationResourceId(String organizationResourceId)
The organization resource identifier for the security profile.
organizationResourceId
- The organization resource identifier for the security profile.public void setArn(String arn)
The Amazon Resource Name (ARN) for the secruity profile.
arn
- The Amazon Resource Name (ARN) for the secruity profile.public String getArn()
The Amazon Resource Name (ARN) for the secruity profile.
public SecurityProfile withArn(String arn)
The Amazon Resource Name (ARN) for the secruity profile.
arn
- The Amazon Resource Name (ARN) for the secruity profile.public void setSecurityProfileName(String securityProfileName)
The name for the security profile.
securityProfileName
- The name for the security profile.public String getSecurityProfileName()
The name for the security profile.
public SecurityProfile withSecurityProfileName(String securityProfileName)
The name for the security profile.
securityProfileName
- The name for the security profile.public void setDescription(String description)
The description of the security profile.
description
- The description of the security profile.public String getDescription()
The description of the security profile.
public SecurityProfile withDescription(String description)
The description of the security profile.
description
- The description of the security profile.public Map<String,String> getTags()
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,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(Map<String,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 addTagsEntry(String key, String value)
public SecurityProfile clearTagsEntries()
public Map<String,String> getAllowedAccessControlTags()
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
public void setAllowedAccessControlTags(Map<String,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(Map<String,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 addAllowedAccessControlTagsEntry(String key, String value)
public SecurityProfile clearAllowedAccessControlTagsEntries()
public List<String> getTagRestrictedResources()
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
public void setTagRestrictedResources(Collection<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(String... tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
NOTE: This method appends the values to the existing list (if any). Use
setTagRestrictedResources(java.util.Collection)
or
withTagRestrictedResources(java.util.Collection)
if you want to override the existing values.
tagRestrictedResources
- The list of resources that a security profile applies tag restrictions to in Amazon Connect.public SecurityProfile withTagRestrictedResources(Collection<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 void setLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public Date getLastModifiedTime()
The timestamp when this resource was last modified.
public SecurityProfile withLastModifiedTime(Date lastModifiedTime)
The timestamp when this resource was last modified.
lastModifiedTime
- The timestamp when this resource was last modified.public void setLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public String getLastModifiedRegion()
The Amazon Web Services Region where this resource was last modified.
public SecurityProfile withLastModifiedRegion(String lastModifiedRegion)
The Amazon Web Services Region where this resource was last modified.
lastModifiedRegion
- The Amazon Web Services Region where this resource was last modified.public List<String> getHierarchyRestrictedResources()
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are
acceptable ResourceNames: User
.
User
.public void setHierarchyRestrictedResources(Collection<String> hierarchyRestrictedResources)
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are
acceptable ResourceNames: User
.
hierarchyRestrictedResources
- The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
Following are acceptable ResourceNames: User
.public SecurityProfile withHierarchyRestrictedResources(String... hierarchyRestrictedResources)
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are
acceptable ResourceNames: User
.
NOTE: This method appends the values to the existing list (if any). Use
setHierarchyRestrictedResources(java.util.Collection)
or
withHierarchyRestrictedResources(java.util.Collection)
if you want to override the existing values.
hierarchyRestrictedResources
- The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
Following are acceptable ResourceNames: User
.public SecurityProfile withHierarchyRestrictedResources(Collection<String> hierarchyRestrictedResources)
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect. Following are
acceptable ResourceNames: User
.
hierarchyRestrictedResources
- The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
Following are acceptable ResourceNames: User
.public void setAllowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId)
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
allowedAccessControlHierarchyGroupId
- The identifier of the hierarchy group that a security profile uses to restrict access to resources in
Amazon Connect.public String getAllowedAccessControlHierarchyGroupId()
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
public SecurityProfile withAllowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId)
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon Connect.
allowedAccessControlHierarchyGroupId
- The identifier of the hierarchy group that a security profile uses to restrict access to resources in
Amazon Connect.public String toString()
toString
in class Object
Object.toString()
public SecurityProfile clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.