@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSecurityProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSecurityProfileRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSecurityProfileRequest |
addAllowedAccessControlTagsEntry(String key,
String value)
Add a single AllowedAccessControlTags entry
|
CreateSecurityProfileRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSecurityProfileRequest |
clearAllowedAccessControlTagsEntries()
Removes all the entries added into AllowedAccessControlTags.
|
CreateSecurityProfileRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSecurityProfileRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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.
|
List<Application> |
getApplications()
A list of third-party applications that the security profile will give access to.
|
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 |
getInstanceId()
The identifier of the Amazon Connect instance.
|
List<String> |
getPermissions()
Permissions assigned to the security profile.
|
String |
getSecurityProfileName()
The name of 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 |
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 |
setApplications(Collection<Application> applications)
A list of third-party applications that the security profile will give access to.
|
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 |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setPermissions(Collection<String> permissions)
Permissions assigned to the security profile.
|
void |
setSecurityProfileName(String securityProfileName)
The name of 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.
|
CreateSecurityProfileRequest |
withAllowedAccessControlHierarchyGroupId(String allowedAccessControlHierarchyGroupId)
The identifier of the hierarchy group that a security profile uses to restrict access to resources in Amazon
Connect.
|
CreateSecurityProfileRequest |
withAllowedAccessControlTags(Map<String,String> allowedAccessControlTags)
The list of tags that a security profile uses to restrict access to resources in Amazon Connect.
|
CreateSecurityProfileRequest |
withApplications(Application... applications)
A list of third-party applications that the security profile will give access to.
|
CreateSecurityProfileRequest |
withApplications(Collection<Application> applications)
A list of third-party applications that the security profile will give access to.
|
CreateSecurityProfileRequest |
withDescription(String description)
The description of the security profile.
|
CreateSecurityProfileRequest |
withHierarchyRestrictedResources(Collection<String> hierarchyRestrictedResources)
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
|
CreateSecurityProfileRequest |
withHierarchyRestrictedResources(String... hierarchyRestrictedResources)
The list of resources that a security profile applies hierarchy restrictions to in Amazon Connect.
|
CreateSecurityProfileRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateSecurityProfileRequest |
withPermissions(Collection<String> permissions)
Permissions assigned to the security profile.
|
CreateSecurityProfileRequest |
withPermissions(String... permissions)
Permissions assigned to the security profile.
|
CreateSecurityProfileRequest |
withSecurityProfileName(String securityProfileName)
The name of the security profile.
|
CreateSecurityProfileRequest |
withTagRestrictedResources(Collection<String> tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
CreateSecurityProfileRequest |
withTagRestrictedResources(String... tagRestrictedResources)
The list of resources that a security profile applies tag restrictions to in Amazon Connect.
|
CreateSecurityProfileRequest |
withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setSecurityProfileName(String securityProfileName)
The name of the security profile.
securityProfileName
- The name of the security profile.public String getSecurityProfileName()
The name of the security profile.
public CreateSecurityProfileRequest withSecurityProfileName(String securityProfileName)
The name of the security profile.
securityProfileName
- The name of 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 CreateSecurityProfileRequest withDescription(String description)
The description of the security profile.
description
- The description of the security profile.public List<String> getPermissions()
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
public void setPermissions(Collection<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(String... permissions)
Permissions assigned to the security profile. For a list of valid permissions, see List of security profile permissions.
NOTE: This method appends the values to the existing list (if any). Use
setPermissions(java.util.Collection)
or withPermissions(java.util.Collection)
if you want to
override the existing values.
permissions
- Permissions assigned to the security profile. For a list of valid permissions, see List of security
profile permissions.public CreateSecurityProfileRequest withPermissions(Collection<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 void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
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(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.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 CreateSecurityProfileRequest 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 CreateSecurityProfileRequest addTagsEntry(String key, String value)
public CreateSecurityProfileRequest 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 CreateSecurityProfileRequest 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 CreateSecurityProfileRequest addAllowedAccessControlTagsEntry(String key, String value)
public CreateSecurityProfileRequest clearAllowedAccessControlTagsEntries()
public List<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
User
| SecurityProfile
| Queue
|
RoutingProfile
public void setTagRestrictedResources(Collection<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(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
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. Following are
acceptable ResourceNames: User
| SecurityProfile
| Queue
|
RoutingProfile
public CreateSecurityProfileRequest withTagRestrictedResources(Collection<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 List<Application> getApplications()
A list of third-party applications that the security profile will give access to.
public void setApplications(Collection<Application> applications)
A list of third-party applications that the security profile will give access to.
applications
- A list of third-party applications that the security profile will give access to.public CreateSecurityProfileRequest withApplications(Application... applications)
A list of third-party applications that the security profile will give access to.
NOTE: This method appends the values to the existing list (if any). Use
setApplications(java.util.Collection)
or withApplications(java.util.Collection)
if you want to
override the existing values.
applications
- A list of third-party applications that the security profile will give access to.public CreateSecurityProfileRequest withApplications(Collection<Application> applications)
A list of third-party applications that the security profile will give access to.
applications
- A list of third-party applications that the security profile will give access to.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 CreateSecurityProfileRequest 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 CreateSecurityProfileRequest 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 CreateSecurityProfileRequest 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 CreateSecurityProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()