Package org.cdk8s.plus20
Class SshAuthSecret.Builder
- java.lang.Object
-
- org.cdk8s.plus20.SshAuthSecret.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SshAuthSecret>
- Enclosing class:
- SshAuthSecret
@Stability(Stable) public static final class SshAuthSecret.Builder extends Object implements software.amazon.jsii.Builder<SshAuthSecret>
A fluent builder forSshAuthSecret.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SshAuthSecretbuild()static SshAuthSecret.Buildercreate(software.constructs.Construct scope, String id)SshAuthSecret.Buildermetadata(org.cdk8s.ApiObjectMetadata metadata)Metadata that all persisted resources must have, which includes all objects users must create.SshAuthSecret.BuildersshPrivateKey(String sshPrivateKey)The SSH private key to use.
-
-
-
Method Detail
-
create
@Stability(Stable) public static SshAuthSecret.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
SshAuthSecret.Builder.
-
metadata
@Stability(Stable) public SshAuthSecret.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
Metadata that all persisted resources must have, which includes all objects users must create.- Parameters:
metadata- Metadata that all persisted resources must have, which includes all objects users must create. This parameter is required.- Returns:
this
-
sshPrivateKey
@Stability(Stable) public SshAuthSecret.Builder sshPrivateKey(String sshPrivateKey)
The SSH private key to use.- Parameters:
sshPrivateKey- The SSH private key to use. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SshAuthSecret build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SshAuthSecret>
-
-