Interface KeyPair.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyPair.Builder,KeyPair>
,SdkBuilder<KeyPair.Builder,KeyPair>
,SdkPojo
- Enclosing class:
- KeyPair
public static interface KeyPair.Builder extends SdkPojo, CopyableBuilder<KeyPair.Builder,KeyPair>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyPair.Builder
privateKey(String privateKey)
The private key.KeyPair.Builder
publicKey(String publicKey)
The public key.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
publicKey
KeyPair.Builder publicKey(String publicKey)
The public key.
- Parameters:
publicKey
- The public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateKey
KeyPair.Builder privateKey(String privateKey)
The private key.
- Parameters:
privateKey
- The private key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-