@Generated(value="software.amazon.awssdk:codegen") public final class CreateKeyPairResponse extends LightsailResponse implements ToCopyableBuilder<CreateKeyPairResponse.Builder,CreateKeyPairResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateKeyPairResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateKeyPairResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
KeyPair |
keyPair()
An array of key-value pairs containing information about the new key pair you just created.
|
Operation |
operation()
An array of objects that describe the result of the action, such as the status of the request, the timestamp of
the request, and the resources affected by the request.
|
String |
privateKeyBase64()
A base64-encoded RSA private key.
|
String |
publicKeyBase64()
A base64-encoded public key of the
ssh-rsa type. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateKeyPairResponse.Builder> |
serializableBuilderClass() |
CreateKeyPairResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final KeyPair keyPair()
An array of key-value pairs containing information about the new key pair you just created.
public final String publicKeyBase64()
A base64-encoded public key of the ssh-rsa type.
ssh-rsa type.public final String privateKeyBase64()
A base64-encoded RSA private key.
public final Operation operation()
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
public CreateKeyPairResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateKeyPairResponse.Builder,CreateKeyPairResponse>toBuilder in class AwsResponsepublic static CreateKeyPairResponse.Builder builder()
public static Class<? extends CreateKeyPairResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2023. All rights reserved.