Interface CfnSnapshotProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSnapshotProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-02T11:25:39.176Z")
@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 class
A builder forCfnSnapshotProps
static final class
An implementation forCfnSnapshotProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnSnapshotProps.Builder
builder()
default String
The name of the namepsace.default Number
The 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.Builder
ofCfnSnapshotProps
-