@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 |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
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 |
getDescription()
The description of the security profile.
|
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.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the security profile.
|
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 |
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 |
withDescription(String description)
The description of the security profile.
|
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 |
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 instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public CreateSecurityProfileRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the 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 String toString()
toString
in class Object
Object.toString()
public CreateSecurityProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()