public static interface CreateKeyPairRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<CreateKeyPairRequest.Builder,CreateKeyPairRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateKeyPairRequest.Builder |
keyPairName(String keyPairName)
The name for your new key pair.
|
CreateKeyPairRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateKeyPairRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateKeyPairRequest.Builder |
tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
|
CreateKeyPairRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
|
CreateKeyPairRequest.Builder |
tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateKeyPairRequest.Builder keyPairName(String keyPairName)
The name for your new key pair.
keyPairName - The name for your new key pair.CreateKeyPairRequest.Builder tags(Collection<Tag> tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
CreateKeyPairRequest.Builder tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
tags - The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
CreateKeyPairRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
Use the TagResource action to tag a resource after it's created.
List.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateKeyPairRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateKeyPairRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.