public class UpdateSSHPublicKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateSSHPublicKeyRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateSSHPublicKeyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getSSHPublicKeyId()
The unique identifier for the SSH public key.
|
String |
getStatus()
The status to assign to the SSH public key.
|
String |
getUserName()
The name of the IAM user associated with the SSH public key.
|
int |
hashCode() |
void |
setSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
|
void |
setStatus(StatusType status)
The status to assign to the SSH public key.
|
void |
setStatus(String status)
The status to assign to the SSH public key.
|
void |
setUserName(String userName)
The name of the IAM user associated with the SSH public key.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateSSHPublicKeyRequest |
withSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
|
UpdateSSHPublicKeyRequest |
withStatus(StatusType status)
The status to assign to the SSH public key.
|
UpdateSSHPublicKeyRequest |
withStatus(String status)
The status to assign to the SSH public key.
|
UpdateSSHPublicKeyRequest |
withUserName(String userName)
The name of the IAM user associated with the SSH public key.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setUserName(String userName)
The name of the IAM user associated with the SSH public key.
userName - The name of the IAM user associated with the SSH public key.public String getUserName()
The name of the IAM user associated with the SSH public key.
public UpdateSSHPublicKeyRequest withUserName(String userName)
The name of the IAM user associated with the SSH public key.
userName - The name of the IAM user associated with the SSH public key.public void setSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
sSHPublicKeyId - The unique identifier for the SSH public key.public String getSSHPublicKeyId()
The unique identifier for the SSH public key.
public UpdateSSHPublicKeyRequest withSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
sSHPublicKeyId - The unique identifier for the SSH public key.public void setStatus(String status)
The status to assign to the SSH public key. Active means the
key can be used for authentication with an AWS CodeCommit repository.
Inactive means the key cannot be used.
status - The status to assign to the SSH public key. Active
means the key can be used for authentication with an AWS
CodeCommit repository. Inactive means the key cannot
be used.StatusTypepublic String getStatus()
The status to assign to the SSH public key. Active means the
key can be used for authentication with an AWS CodeCommit repository.
Inactive means the key cannot be used.
Active
means the key can be used for authentication with an AWS
CodeCommit repository. Inactive means the key cannot
be used.StatusTypepublic UpdateSSHPublicKeyRequest withStatus(String status)
The status to assign to the SSH public key. Active means the
key can be used for authentication with an AWS CodeCommit repository.
Inactive means the key cannot be used.
status - The status to assign to the SSH public key. Active
means the key can be used for authentication with an AWS
CodeCommit repository. Inactive means the key cannot
be used.StatusTypepublic void setStatus(StatusType status)
The status to assign to the SSH public key. Active means the
key can be used for authentication with an AWS CodeCommit repository.
Inactive means the key cannot be used.
status - The status to assign to the SSH public key. Active
means the key can be used for authentication with an AWS
CodeCommit repository. Inactive means the key cannot
be used.StatusTypepublic UpdateSSHPublicKeyRequest withStatus(StatusType status)
The status to assign to the SSH public key. Active means the
key can be used for authentication with an AWS CodeCommit repository.
Inactive means the key cannot be used.
status - The status to assign to the SSH public key. Active
means the key can be used for authentication with an AWS
CodeCommit repository. Inactive means the key cannot
be used.StatusTypepublic String toString()
toString in class ObjectObject.toString()public UpdateSSHPublicKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.