StructuredPojo, ToCopyableBuilder<KeyPair.Builder,KeyPair>@Generated("software.amazon.awssdk:codegen") public class KeyPair extends Object implements StructuredPojo, 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() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
privateKey() |
The private key.
|
String |
publicKey() |
The public key.
|
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 publicKey()
The public key.
public String privateKey()
The private key.
public KeyPair.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<KeyPair.Builder,KeyPair>public static KeyPair.Builder builder()
public static Class<? extends KeyPair.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.