Package org.cdk8s.plus20
Class SshAuthSecretProps.Builder
- java.lang.Object
-
- org.cdk8s.plus20.SshAuthSecretProps.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SshAuthSecretProps>
- Enclosing interface:
- SshAuthSecretProps
@Stability(Stable) public static final class SshAuthSecretProps.Builder extends Object implements software.amazon.jsii.Builder<SshAuthSecretProps>
A builder forSshAuthSecretProps
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SshAuthSecretPropsbuild()Builds the configured instance.SshAuthSecretProps.Buildermetadata(org.cdk8s.ApiObjectMetadata metadata)Sets the value ofResourceProps.getMetadata()SshAuthSecretProps.BuildersshPrivateKey(String sshPrivateKey)Sets the value ofSshAuthSecretProps.getSshPrivateKey()
-
-
-
Method Detail
-
sshPrivateKey
@Stability(Stable) public SshAuthSecretProps.Builder sshPrivateKey(String sshPrivateKey)
Sets the value ofSshAuthSecretProps.getSshPrivateKey()- Parameters:
sshPrivateKey- The SSH private key to use. This parameter is required.- Returns:
this
-
metadata
@Stability(Stable) public SshAuthSecretProps.Builder metadata(org.cdk8s.ApiObjectMetadata metadata)
Sets the value ofResourceProps.getMetadata()- Parameters:
metadata- Metadata that all persisted resources must have, which includes all objects users must create.- Returns:
this
-
build
@Stability(Stable) public SshAuthSecretProps build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SshAuthSecretProps>- Returns:
- a new instance of
SshAuthSecretProps - Throws:
NullPointerException- if any required attribute was not provided
-
-