SnapshotArgs class
The set of arguments for Snapshot. The set of arguments for Snapshot.
Constructors
-
SnapshotArgs({required Input<
String> namespaceName, Input<String?> ? region, Input<int?> ? retentionPeriod, required Input<String> snapshotName}) -
Creates a new SnapshotArgs.
namespaceNameThe namespace to create a snapshot for.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.retentionPeriodHow long to retain the created snapshot. Default value is-1.snapshotNameThe name of the snapshot.const -
SnapshotArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
namespaceName
→ Input<
String> -
The namespace to create a snapshot for.
final
-
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
retentionPeriod
→ Input<
int?> ? -
How long to retain the created snapshot. Default value is
-1.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
snapshotName
→ Input<
String> -
The name of the snapshot.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited