public class AssociateSecurityKeyRequest extends AmazonWebServiceRequest implements java.io.Serializable
This API is in preview release for Amazon Connect and is subject to change.
Associates a security key to the instance.
Constructor and Description |
---|
AssociateSecurityKeyRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getKey()
A valid security key in PEM format.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setKey(java.lang.String key)
A valid security key in PEM format.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateSecurityKeyRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
AssociateSecurityKeyRequest |
withKey(java.lang.String key)
A valid security key in PEM format.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public AssociateSecurityKeyRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public java.lang.String getKey()
A valid security key in PEM format.
Constraints:
Length: 1 - 1024
A valid security key in PEM format.
public void setKey(java.lang.String key)
A valid security key in PEM format.
Constraints:
Length: 1 - 1024
key
- A valid security key in PEM format.
public AssociateSecurityKeyRequest withKey(java.lang.String key)
A valid security key in PEM format.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
key
- A valid security key in PEM format.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.