@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) |
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.
|
String |
getId()
The identifier for the security profile.
|
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 |
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 |
setId(String id)
The identifier for the security profile.
|
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 |
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 |
withId(String id)
The identifier for the security profile.
|
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 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.