Interface ImportKeyPairRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportKeyPairRequest.Builder,ImportKeyPairRequest>,LightsailRequest.Builder,SdkBuilder<ImportKeyPairRequest.Builder,ImportKeyPairRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportKeyPairRequest
public static interface ImportKeyPairRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<ImportKeyPairRequest.Builder,ImportKeyPairRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportKeyPairRequest.BuilderkeyPairName(String keyPairName)The name of the key pair for which you want to import the public key.ImportKeyPairRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportKeyPairRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportKeyPairRequest.BuilderpublicKeyBase64(String publicKeyBase64)A base64-encoded public key of thessh-rsatype.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
keyPairName
ImportKeyPairRequest.Builder keyPairName(String keyPairName)
The name of the key pair for which you want to import the public key.
- Parameters:
keyPairName- The name of the key pair for which you want to import the public key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publicKeyBase64
ImportKeyPairRequest.Builder publicKeyBase64(String publicKeyBase64)
A base64-encoded public key of the
ssh-rsatype.- Parameters:
publicKeyBase64- A base64-encoded public key of thessh-rsatype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportKeyPairRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportKeyPairRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-