@Generated(value="software.amazon.awssdk:codegen") public final class UploadSshPublicKeyRequest extends IamRequest implements ToCopyableBuilder<UploadSshPublicKeyRequest.Builder,UploadSshPublicKeyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UploadSshPublicKeyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UploadSshPublicKeyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends UploadSshPublicKeyRequest.Builder> |
serializableBuilderClass() |
String |
sshPublicKeyBody()
The SSH public key.
|
UploadSshPublicKeyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The name of the IAM user to associate the SSH public key with.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String userName()
The name of the IAM user to associate the SSH public key with.
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 final String sshPublicKeyBody()
The SSH public key. The public key must be encoded in ssh-rsa format or PEM format. The minimum bit-length of the public key is 2048 bits. For example, you can generate a 2048-bit key, and the resulting PEM file is 1679 bytes long.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of the ASCII
character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
The regex pattern used to validate this parameter is a string of characters consisting of the following:
Any printable ASCII character ranging from the space character ( ) through the end of
the ASCII character range
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
ÿ)
The special characters tab ( ), line feed (
), and carriage return (
)
public UploadSshPublicKeyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UploadSshPublicKeyRequest.Builder,UploadSshPublicKeyRequest>toBuilder in class IamRequestpublic static UploadSshPublicKeyRequest.Builder builder()
public static Class<? extends UploadSshPublicKeyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.