@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 object for all fields except the handler context.
|
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.
|
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.
|
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, withSdkRequestTimeoutpublic void setUserName(String userName)
The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
userName - The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public String getUserName()
The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public UpdateSSHPublicKeyRequest withUserName(String userName)
The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
userName - The name of the IAM user associated with the SSH public key.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public void setSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
sSHPublicKeyId - The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
public String getSSHPublicKeyId()
The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
public UpdateSSHPublicKeyRequest withSSHPublicKeyId(String sSHPublicKeyId)
The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
sSHPublicKeyId - The unique identifier for the SSH public key.
This parameter allows (through its regex pattern) a string of characters that can consist of any upper or lowercased letter or digit.
public void setStatus(String status)
The status to assign to the SSH public key. Active means that the key can be used for authentication
with an CodeCommit repository. Inactive means that the key cannot be used.
status - The status to assign to the SSH public key. Active means that the key can be used for
authentication with an CodeCommit repository. Inactive means that the key cannot be used.StatusTypepublic String getStatus()
The status to assign to the SSH public key. Active means that the key can be used for authentication
with an CodeCommit repository. Inactive means that the key cannot be used.
Active means that the key can be used for
authentication with an CodeCommit repository. Inactive means that the key cannot be used.StatusTypepublic UpdateSSHPublicKeyRequest withStatus(String status)
The status to assign to the SSH public key. Active means that the key can be used for authentication
with an CodeCommit repository. Inactive means that the key cannot be used.
status - The status to assign to the SSH public key. Active means that the key can be used for
authentication with an CodeCommit repository. Inactive means that the key cannot be used.StatusTypepublic void setStatus(StatusType status)
The status to assign to the SSH public key. Active means that the key can be used for authentication
with an CodeCommit repository. Inactive means that the key cannot be used.
status - The status to assign to the SSH public key. Active means that the key can be used for
authentication with an CodeCommit repository. Inactive means that the key cannot be used.StatusTypepublic UpdateSSHPublicKeyRequest withStatus(StatusType status)
The status to assign to the SSH public key. Active means that the key can be used for authentication
with an CodeCommit repository. Inactive means that the key cannot be used.
status - The status to assign to the SSH public key. Active means that the key can be used for
authentication with an CodeCommit repository. Inactive means that the key cannot be used.StatusTypepublic String toString()
toString in class ObjectObject.toString()public UpdateSSHPublicKeyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()