@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSecurityProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateSecurityProfileRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateSecurityProfileRequest |
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()
The permissions granted to a security profile.
|
String |
getSecurityProfileId()
The identifier for the security profle.
|
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)
The permissions granted to a security profile.
|
void |
setSecurityProfileId(String securityProfileId)
The identifier for the security profle.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSecurityProfileRequest |
withDescription(String description)
The description of the security profile.
|
UpdateSecurityProfileRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
UpdateSecurityProfileRequest |
withPermissions(Collection<String> permissions)
The permissions granted to a security profile.
|
UpdateSecurityProfileRequest |
withPermissions(String... permissions)
The permissions granted to a security profile.
|
UpdateSecurityProfileRequest |
withSecurityProfileId(String securityProfileId)
The identifier for the security profle.
|
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 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 UpdateSecurityProfileRequest withDescription(String description)
The description of the security profile.
description
- The description of the security profile.public List<String> getPermissions()
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
public void setPermissions(Collection<String> permissions)
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
permissions
- The permissions granted to a security profile. For a list of valid permissions, see List of security
profile permissions.public UpdateSecurityProfileRequest withPermissions(String... permissions)
The permissions granted to a 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
- The permissions granted to a security profile. For a list of valid permissions, see List of security
profile permissions.public UpdateSecurityProfileRequest withPermissions(Collection<String> permissions)
The permissions granted to a security profile. For a list of valid permissions, see List of security profile permissions.
permissions
- The permissions granted to a security profile. For a list of valid permissions, see List of security
profile permissions.public void setSecurityProfileId(String securityProfileId)
The identifier for the security profle.
securityProfileId
- The identifier for the security profle.public String getSecurityProfileId()
The identifier for the security profle.
public UpdateSecurityProfileRequest withSecurityProfileId(String securityProfileId)
The identifier for the security profle.
securityProfileId
- The identifier for the security profle.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 UpdateSecurityProfileRequest 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 String toString()
toString
in class Object
Object.toString()
public UpdateSecurityProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()