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)
Add an optional request override configuration.
|
CreateKeyPairRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildoverrideConfigurationcopyapplyMutation, 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.
To tag a resource after it has been created, see the tag resource operation.
tags - The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
CreateKeyPairRequest.Builder tags(Tag... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
tags - The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
CreateKeyPairRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tag keys and optional values to add to the resource during create.
To tag a resource after it has been created, see the tag resource operation.
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)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateKeyPairRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.