Class CfnHostKeyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.transfer.CfnHostKeyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnHostKeyPropsMixin>
- Enclosing class:
CfnHostKeyPropsMixin
@Stability(Stable)
public static final class CfnHostKeyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnHostKeyPropsMixin>
A fluent builder for
CfnHostKeyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnHostKeyPropsMixin.Buildercreate()static CfnHostKeyPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) The text description for this host key.hostKeyBody(String hostKeyBody) The private key portion of an SSH key pair.The identifier of the server that contains the host key.Key-value pairs that can be used to group and search for host keys.
-
Method Details
-
create
@Stability(Stable) public static CfnHostKeyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnHostKeyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnHostKeyPropsMixin.Builder.
-
description
The text description for this host key.- Parameters:
description- The text description for this host key. This parameter is required.- Returns:
this- See Also:
-
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. This parameter is required.- Returns:
this- See Also:
-
serverId
The identifier of the server that contains the host key.- Parameters:
serverId- The identifier of the server that contains the host key. This parameter is required.- Returns:
this- See Also:
-
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. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnHostKeyPropsMixin>- Returns:
- a newly built instance of
CfnHostKeyPropsMixin.
-