public static final class CfnPlaybackKeyPairProps.Builder
extends java.lang.Object
CfnPlaybackKeyPairProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPlaybackKeyPairProps |
build()
Builds the configured instance.
|
CfnPlaybackKeyPairProps.Builder |
name(java.lang.String name)
Sets the value of
CfnPlaybackKeyPairProps.getName() |
CfnPlaybackKeyPairProps.Builder |
publicKeyMaterial(java.lang.String publicKeyMaterial)
Sets the value of
CfnPlaybackKeyPairProps.getPublicKeyMaterial() |
CfnPlaybackKeyPairProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnPlaybackKeyPairProps.getTags() |
public CfnPlaybackKeyPairProps.Builder publicKeyMaterial(java.lang.String publicKeyMaterial)
CfnPlaybackKeyPairProps.getPublicKeyMaterial()
publicKeyMaterial
- The public portion of a customer-generated key pair. This parameter is required.this
public CfnPlaybackKeyPairProps.Builder name(java.lang.String name)
CfnPlaybackKeyPairProps.getName()
name
- Playback-key-pair name.
The value does not need to be unique.this
public CfnPlaybackKeyPairProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnPlaybackKeyPairProps.getTags()
tags
- An array of key-value pairs to apply to this resource.
For more information, see Tag .this
public CfnPlaybackKeyPairProps build()
CfnPlaybackKeyPairProps
java.lang.NullPointerException
- if any required attribute was not provided