Interface ImportHostKeyRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ImportHostKeyRequest.Builder,ImportHostKeyRequest>,SdkBuilder<ImportHostKeyRequest.Builder,ImportHostKeyRequest>,SdkPojo,SdkRequest.Builder,TransferRequest.Builder
- Enclosing class:
- ImportHostKeyRequest
public static interface ImportHostKeyRequest.Builder extends TransferRequest.Builder, SdkPojo, CopyableBuilder<ImportHostKeyRequest.Builder,ImportHostKeyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportHostKeyRequest.Builderdescription(String description)The text description that identifies this host key.ImportHostKeyRequest.BuilderhostKeyBody(String hostKeyBody)The private key portion of an SSH key pair.ImportHostKeyRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportHostKeyRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportHostKeyRequest.BuilderserverId(String serverId)The identifier of the server that contains the host key that you are importing.ImportHostKeyRequest.Buildertags(Collection<Tag> tags)Key-value pairs that can be used to group and search for host keys.ImportHostKeyRequest.Buildertags(Consumer<Tag.Builder>... tags)Key-value pairs that can be used to group and search for host keys.ImportHostKeyRequest.Buildertags(Tag... tags)Key-value pairs that can be used to group and search for host keys.-
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.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.transfer.model.TransferRequest.Builder
build
-
-
-
-
Method Detail
-
serverId
ImportHostKeyRequest.Builder serverId(String serverId)
The identifier of the server that contains the host key that you are importing.
- Parameters:
serverId- The identifier of the server that contains the host key that you are importing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostKeyBody
ImportHostKeyRequest.Builder hostKeyBody(String hostKeyBody)
The private key portion of an SSH key pair.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
- Parameters:
hostKeyBody- The private key portion of an SSH key pair.Transfer Family accepts RSA, ECDSA, and ED25519 keys.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
ImportHostKeyRequest.Builder description(String description)
The text description that identifies this host key.
- Parameters:
description- The text description that identifies this host key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportHostKeyRequest.Builder tags(Collection<Tag> tags)
Key-value pairs that can be used to group and search for host keys.
- Parameters:
tags- Key-value pairs that can be used to group and search for host keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportHostKeyRequest.Builder tags(Tag... tags)
Key-value pairs that can be used to group and search for host keys.
- Parameters:
tags- Key-value pairs that can be used to group and search for host keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
ImportHostKeyRequest.Builder tags(Consumer<Tag.Builder>... tags)
Key-value pairs that can be used to group and search for host keys.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
ImportHostKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportHostKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-