Interface CfnSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:44.022Z")
@Stability(Stable)
public interface CfnSnapshotProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnSnapshot.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.redshiftserverless.*;
CfnSnapshotProps cfnSnapshotProps = CfnSnapshotProps.builder()
.snapshotName("snapshotName")
// the properties below are optional
.namespaceName("namespaceName")
.retentionPeriod(123)
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSnapshotPropsstatic final classAn implementation forCfnSnapshotProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSnapshotProps.Builderbuilder()default StringThe name of the namepsace.default NumberThe retention period of the snapshot created by the scheduled action.The name of the snapshot.getTags()An array of Tag objects to associate with the snapshot.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSnapshotName
The name of the snapshot.- See Also:
-
getNamespaceName
The name of the namepsace.- See Also:
-
getRetentionPeriod
The retention period of the snapshot created by the scheduled action.- See Also:
-
getTags
An array of Tag objects to associate with the snapshot.- See Also:
-
builder
- Returns:
- a
CfnSnapshotProps.BuilderofCfnSnapshotProps
-