ToCopyableBuilder<KeyPair.Builder,KeyPair>
@Generated("software.amazon.awssdk:codegen") public class KeyPair extends Object implements ToCopyableBuilder<KeyPair.Builder,KeyPair>
Describes a key pair.
Modifier and Type | Class | Description |
---|---|---|
static interface |
KeyPair.Builder |
Modifier and Type | Method | Description |
---|---|---|
static KeyPair.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
keyFingerprint() |
The SHA-1 digest of the DER encoded private key.
|
String |
keyMaterial() |
An unencrypted PEM encoded RSA private key.
|
String |
keyName() |
The name of the key pair.
|
static Class<? extends KeyPair.Builder> |
serializableBuilderClass() |
|
KeyPair.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String keyFingerprint()
The SHA-1 digest of the DER encoded private key.
public String keyMaterial()
An unencrypted PEM encoded RSA private key.
public String keyName()
The name of the key pair.
public KeyPair.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<KeyPair.Builder,KeyPair>
public static KeyPair.Builder builder()
public static Class<? extends KeyPair.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.