module Stratosphere.FSx.Volume.SnaplockConfigurationProperty (
        module Exports, SnaplockConfigurationProperty(..),
        mkSnaplockConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.FSx.Volume.AutocommitPeriodProperty as Exports
import {-# SOURCE #-} Stratosphere.FSx.Volume.SnaplockRetentionPeriodProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data SnaplockConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration-snaplockconfiguration.html>
    SnaplockConfigurationProperty {SnaplockConfigurationProperty -> ()
haddock_workaround_ :: (),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration-snaplockconfiguration.html#cfn-fsx-volume-ontapconfiguration-snaplockconfiguration-auditlogvolume>
                                   SnaplockConfigurationProperty -> Maybe (Value Text)
auditLogVolume :: (Prelude.Maybe (Value Prelude.Text)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration-snaplockconfiguration.html#cfn-fsx-volume-ontapconfiguration-snaplockconfiguration-autocommitperiod>
                                   SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
autocommitPeriod :: (Prelude.Maybe AutocommitPeriodProperty),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration-snaplockconfiguration.html#cfn-fsx-volume-ontapconfiguration-snaplockconfiguration-privilegeddelete>
                                   SnaplockConfigurationProperty -> Maybe (Value Text)
privilegedDelete :: (Prelude.Maybe (Value Prelude.Text)),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration-snaplockconfiguration.html#cfn-fsx-volume-ontapconfiguration-snaplockconfiguration-retentionperiod>
                                   SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
retentionPeriod :: (Prelude.Maybe SnaplockRetentionPeriodProperty),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration-snaplockconfiguration.html#cfn-fsx-volume-ontapconfiguration-snaplockconfiguration-snaplocktype>
                                   SnaplockConfigurationProperty -> Value Text
snaplockType :: (Value Prelude.Text),
                                   -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-volume-ontapconfiguration-snaplockconfiguration.html#cfn-fsx-volume-ontapconfiguration-snaplockconfiguration-volumeappendmodeenabled>
                                   SnaplockConfigurationProperty -> Maybe (Value Text)
volumeAppendModeEnabled :: (Prelude.Maybe (Value Prelude.Text))}
  deriving stock (SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> Bool
(SnaplockConfigurationProperty
 -> SnaplockConfigurationProperty -> Bool)
-> (SnaplockConfigurationProperty
    -> SnaplockConfigurationProperty -> Bool)
-> Eq SnaplockConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> Bool
== :: SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> Bool
$c/= :: SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> Bool
/= :: SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> Bool
Prelude.Eq, Int -> SnaplockConfigurationProperty -> ShowS
[SnaplockConfigurationProperty] -> ShowS
SnaplockConfigurationProperty -> String
(Int -> SnaplockConfigurationProperty -> ShowS)
-> (SnaplockConfigurationProperty -> String)
-> ([SnaplockConfigurationProperty] -> ShowS)
-> Show SnaplockConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> SnaplockConfigurationProperty -> ShowS
showsPrec :: Int -> SnaplockConfigurationProperty -> ShowS
$cshow :: SnaplockConfigurationProperty -> String
show :: SnaplockConfigurationProperty -> String
$cshowList :: [SnaplockConfigurationProperty] -> ShowS
showList :: [SnaplockConfigurationProperty] -> ShowS
Prelude.Show)
mkSnaplockConfigurationProperty ::
  Value Prelude.Text -> SnaplockConfigurationProperty
mkSnaplockConfigurationProperty :: Value Text -> SnaplockConfigurationProperty
mkSnaplockConfigurationProperty Value Text
snaplockType
  = SnaplockConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), snaplockType :: Value Text
snaplockType = Value Text
snaplockType,
       auditLogVolume :: Maybe (Value Text)
auditLogVolume = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       autocommitPeriod :: Maybe AutocommitPeriodProperty
autocommitPeriod = Maybe AutocommitPeriodProperty
forall a. Maybe a
Prelude.Nothing,
       privilegedDelete :: Maybe (Value Text)
privilegedDelete = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
retentionPeriod = Maybe SnaplockRetentionPeriodProperty
forall a. Maybe a
Prelude.Nothing,
       volumeAppendModeEnabled :: Maybe (Value Text)
volumeAppendModeEnabled = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties SnaplockConfigurationProperty where
  toResourceProperties :: SnaplockConfigurationProperty -> ResourceProperties
toResourceProperties SnaplockConfigurationProperty {Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: SnaplockConfigurationProperty -> ()
auditLogVolume :: SnaplockConfigurationProperty -> Maybe (Value Text)
autocommitPeriod :: SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
privilegedDelete :: SnaplockConfigurationProperty -> Maybe (Value Text)
retentionPeriod :: SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
snaplockType :: SnaplockConfigurationProperty -> Value Text
volumeAppendModeEnabled :: SnaplockConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::FSx::Volume.SnaplockConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
                           [Key
"SnaplockType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
snaplockType]
                           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                              [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuditLogVolume" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
auditLogVolume,
                               Key -> AutocommitPeriodProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AutocommitPeriod" (AutocommitPeriodProperty -> (Key, Value))
-> Maybe AutocommitPeriodProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AutocommitPeriodProperty
autocommitPeriod,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PrivilegedDelete" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
privilegedDelete,
                               Key -> SnaplockRetentionPeriodProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RetentionPeriod" (SnaplockRetentionPeriodProperty -> (Key, Value))
-> Maybe SnaplockRetentionPeriodProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SnaplockRetentionPeriodProperty
retentionPeriod,
                               Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VolumeAppendModeEnabled"
                                 (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
volumeAppendModeEnabled]))}
instance JSON.ToJSON SnaplockConfigurationProperty where
  toJSON :: SnaplockConfigurationProperty -> Value
toJSON SnaplockConfigurationProperty {Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: SnaplockConfigurationProperty -> ()
auditLogVolume :: SnaplockConfigurationProperty -> Maybe (Value Text)
autocommitPeriod :: SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
privilegedDelete :: SnaplockConfigurationProperty -> Maybe (Value Text)
retentionPeriod :: SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
snaplockType :: SnaplockConfigurationProperty -> Value Text
volumeAppendModeEnabled :: SnaplockConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([(Key, Value)] -> [(Key, Value)] -> [(Key, Value)]
forall a. Semigroup a => a -> a -> a
(Prelude.<>)
              [Key
"SnaplockType" Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
JSON..= Value Text
snaplockType]
              ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                 [Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AuditLogVolume" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
auditLogVolume,
                  Key -> AutocommitPeriodProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"AutocommitPeriod" (AutocommitPeriodProperty -> (Key, Value))
-> Maybe AutocommitPeriodProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AutocommitPeriodProperty
autocommitPeriod,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"PrivilegedDelete" (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
privilegedDelete,
                  Key -> SnaplockRetentionPeriodProperty -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RetentionPeriod" (SnaplockRetentionPeriodProperty -> (Key, Value))
-> Maybe SnaplockRetentionPeriodProperty -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe SnaplockRetentionPeriodProperty
retentionPeriod,
                  Key -> Value Text -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"VolumeAppendModeEnabled"
                    (Value Text -> (Key, Value))
-> Maybe (Value Text) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Text)
volumeAppendModeEnabled])))
instance Property "AuditLogVolume" SnaplockConfigurationProperty where
  type PropertyType "AuditLogVolume" SnaplockConfigurationProperty = Value Prelude.Text
  set :: PropertyType "AuditLogVolume" SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> SnaplockConfigurationProperty
set PropertyType "AuditLogVolume" SnaplockConfigurationProperty
newValue SnaplockConfigurationProperty {Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: SnaplockConfigurationProperty -> ()
auditLogVolume :: SnaplockConfigurationProperty -> Maybe (Value Text)
autocommitPeriod :: SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
privilegedDelete :: SnaplockConfigurationProperty -> Maybe (Value Text)
retentionPeriod :: SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
snaplockType :: SnaplockConfigurationProperty -> Value Text
volumeAppendModeEnabled :: SnaplockConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
    = SnaplockConfigurationProperty
        {auditLogVolume :: Maybe (Value Text)
auditLogVolume = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AuditLogVolume" SnaplockConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: ()
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
haddock_workaround_ :: ()
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
instance Property "AutocommitPeriod" SnaplockConfigurationProperty where
  type PropertyType "AutocommitPeriod" SnaplockConfigurationProperty = AutocommitPeriodProperty
  set :: PropertyType "AutocommitPeriod" SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> SnaplockConfigurationProperty
set PropertyType "AutocommitPeriod" SnaplockConfigurationProperty
newValue SnaplockConfigurationProperty {Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: SnaplockConfigurationProperty -> ()
auditLogVolume :: SnaplockConfigurationProperty -> Maybe (Value Text)
autocommitPeriod :: SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
privilegedDelete :: SnaplockConfigurationProperty -> Maybe (Value Text)
retentionPeriod :: SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
snaplockType :: SnaplockConfigurationProperty -> Value Text
volumeAppendModeEnabled :: SnaplockConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
    = SnaplockConfigurationProperty
        {autocommitPeriod :: Maybe AutocommitPeriodProperty
autocommitPeriod = AutocommitPeriodProperty -> Maybe AutocommitPeriodProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "AutocommitPeriod" SnaplockConfigurationProperty
AutocommitPeriodProperty
newValue, Maybe (Value Text)
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
instance Property "PrivilegedDelete" SnaplockConfigurationProperty where
  type PropertyType "PrivilegedDelete" SnaplockConfigurationProperty = Value Prelude.Text
  set :: PropertyType "PrivilegedDelete" SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> SnaplockConfigurationProperty
set PropertyType "PrivilegedDelete" SnaplockConfigurationProperty
newValue SnaplockConfigurationProperty {Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: SnaplockConfigurationProperty -> ()
auditLogVolume :: SnaplockConfigurationProperty -> Maybe (Value Text)
autocommitPeriod :: SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
privilegedDelete :: SnaplockConfigurationProperty -> Maybe (Value Text)
retentionPeriod :: SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
snaplockType :: SnaplockConfigurationProperty -> Value Text
volumeAppendModeEnabled :: SnaplockConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
    = SnaplockConfigurationProperty
        {privilegedDelete :: Maybe (Value Text)
privilegedDelete = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "PrivilegedDelete" SnaplockConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
instance Property "RetentionPeriod" SnaplockConfigurationProperty where
  type PropertyType "RetentionPeriod" SnaplockConfigurationProperty = SnaplockRetentionPeriodProperty
  set :: PropertyType "RetentionPeriod" SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> SnaplockConfigurationProperty
set PropertyType "RetentionPeriod" SnaplockConfigurationProperty
newValue SnaplockConfigurationProperty {Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: SnaplockConfigurationProperty -> ()
auditLogVolume :: SnaplockConfigurationProperty -> Maybe (Value Text)
autocommitPeriod :: SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
privilegedDelete :: SnaplockConfigurationProperty -> Maybe (Value Text)
retentionPeriod :: SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
snaplockType :: SnaplockConfigurationProperty -> Value Text
volumeAppendModeEnabled :: SnaplockConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
    = SnaplockConfigurationProperty
        {retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
retentionPeriod = SnaplockRetentionPeriodProperty
-> Maybe SnaplockRetentionPeriodProperty
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RetentionPeriod" SnaplockConfigurationProperty
SnaplockRetentionPeriodProperty
newValue, Maybe (Value Text)
Maybe AutocommitPeriodProperty
()
Value Text
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
instance Property "SnaplockType" SnaplockConfigurationProperty where
  type PropertyType "SnaplockType" SnaplockConfigurationProperty = Value Prelude.Text
  set :: PropertyType "SnaplockType" SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> SnaplockConfigurationProperty
set PropertyType "SnaplockType" SnaplockConfigurationProperty
newValue SnaplockConfigurationProperty {Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: SnaplockConfigurationProperty -> ()
auditLogVolume :: SnaplockConfigurationProperty -> Maybe (Value Text)
autocommitPeriod :: SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
privilegedDelete :: SnaplockConfigurationProperty -> Maybe (Value Text)
retentionPeriod :: SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
snaplockType :: SnaplockConfigurationProperty -> Value Text
volumeAppendModeEnabled :: SnaplockConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
    = SnaplockConfigurationProperty {snaplockType :: Value Text
snaplockType = PropertyType "SnaplockType" SnaplockConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
volumeAppendModeEnabled :: Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
volumeAppendModeEnabled :: Maybe (Value Text)
..}
instance Property "VolumeAppendModeEnabled" SnaplockConfigurationProperty where
  type PropertyType "VolumeAppendModeEnabled" SnaplockConfigurationProperty = Value Prelude.Text
  set :: PropertyType
  "VolumeAppendModeEnabled" SnaplockConfigurationProperty
-> SnaplockConfigurationProperty -> SnaplockConfigurationProperty
set PropertyType
  "VolumeAppendModeEnabled" SnaplockConfigurationProperty
newValue SnaplockConfigurationProperty {Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: SnaplockConfigurationProperty -> ()
auditLogVolume :: SnaplockConfigurationProperty -> Maybe (Value Text)
autocommitPeriod :: SnaplockConfigurationProperty -> Maybe AutocommitPeriodProperty
privilegedDelete :: SnaplockConfigurationProperty -> Maybe (Value Text)
retentionPeriod :: SnaplockConfigurationProperty
-> Maybe SnaplockRetentionPeriodProperty
snaplockType :: SnaplockConfigurationProperty -> Value Text
volumeAppendModeEnabled :: SnaplockConfigurationProperty -> Maybe (Value Text)
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
volumeAppendModeEnabled :: Maybe (Value Text)
..}
    = SnaplockConfigurationProperty
        {volumeAppendModeEnabled :: Maybe (Value Text)
volumeAppendModeEnabled = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType
  "VolumeAppendModeEnabled" SnaplockConfigurationProperty
Value Text
newValue, Maybe (Value Text)
Maybe AutocommitPeriodProperty
Maybe SnaplockRetentionPeriodProperty
()
Value Text
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
haddock_workaround_ :: ()
auditLogVolume :: Maybe (Value Text)
autocommitPeriod :: Maybe AutocommitPeriodProperty
privilegedDelete :: Maybe (Value Text)
retentionPeriod :: Maybe SnaplockRetentionPeriodProperty
snaplockType :: Value Text
..}