Class CfnKeyPairPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lightsail.CfnKeyPairPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnKeyPairPropsMixin>
- Enclosing class:
CfnKeyPairPropsMixin
@Stability(Stable)
public static final class CfnKeyPairPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnKeyPairPropsMixin>
A fluent builder for
CfnKeyPairPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnKeyPairPropsMixin.Buildercreate()static CfnKeyPairPropsMixin.Buildercreate(CfnPropertyMixinOptions options) keyPairName(String keyPairName) The name of the key pair.The tag keys and optional values to add to the resource during create.
-
Method Details
-
create
@Stability(Stable) public static CfnKeyPairPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnKeyPairPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnKeyPairPropsMixin.Builder.
-
keyPairName
The name of the key pair.- Parameters:
keyPairName- The name of the key pair. This parameter is required.- Returns:
this- See Also:
-
tags
The tag keys and optional values to add to the resource during create.- Parameters:
tags- The tag keys and optional values to add to the resource during create. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnKeyPairPropsMixin>- Returns:
- a newly built instance of
CfnKeyPairPropsMixin.
-