module Stratosphere.FSx.FileSystem.RootVolumeConfigurationProperty (
        module Exports, RootVolumeConfigurationProperty(..),
        mkRootVolumeConfigurationProperty
    ) where
import qualified Data.Aeson as JSON
import qualified Stratosphere.Prelude as Prelude
import Stratosphere.Property
import {-# SOURCE #-} Stratosphere.FSx.FileSystem.NfsExportsProperty as Exports
import {-# SOURCE #-} Stratosphere.FSx.FileSystem.UserAndGroupQuotasProperty as Exports
import Stratosphere.ResourceProperties
import Stratosphere.Value
data RootVolumeConfigurationProperty
  = -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html>
    RootVolumeConfigurationProperty {RootVolumeConfigurationProperty -> ()
haddock_workaround_ :: (),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-copytagstosnapshots>
                                     RootVolumeConfigurationProperty -> Maybe (Value Bool)
copyTagsToSnapshots :: (Prelude.Maybe (Value Prelude.Bool)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-datacompressiontype>
                                     RootVolumeConfigurationProperty -> Maybe (Value Text)
dataCompressionType :: (Prelude.Maybe (Value Prelude.Text)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-nfsexports>
                                     RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
nfsExports :: (Prelude.Maybe [NfsExportsProperty]),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-readonly>
                                     RootVolumeConfigurationProperty -> Maybe (Value Bool)
readOnly :: (Prelude.Maybe (Value Prelude.Bool)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-recordsizekib>
                                     RootVolumeConfigurationProperty -> Maybe (Value Integer)
recordSizeKiB :: (Prelude.Maybe (Value Prelude.Integer)),
                                     -- | See: <http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration.html#cfn-fsx-filesystem-openzfsconfiguration-rootvolumeconfiguration-userandgroupquotas>
                                     RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas :: (Prelude.Maybe [UserAndGroupQuotasProperty])}
  deriving stock (RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty -> Bool
(RootVolumeConfigurationProperty
 -> RootVolumeConfigurationProperty -> Bool)
-> (RootVolumeConfigurationProperty
    -> RootVolumeConfigurationProperty -> Bool)
-> Eq RootVolumeConfigurationProperty
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty -> Bool
== :: RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty -> Bool
$c/= :: RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty -> Bool
/= :: RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty -> Bool
Prelude.Eq, Int -> RootVolumeConfigurationProperty -> ShowS
[RootVolumeConfigurationProperty] -> ShowS
RootVolumeConfigurationProperty -> String
(Int -> RootVolumeConfigurationProperty -> ShowS)
-> (RootVolumeConfigurationProperty -> String)
-> ([RootVolumeConfigurationProperty] -> ShowS)
-> Show RootVolumeConfigurationProperty
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> RootVolumeConfigurationProperty -> ShowS
showsPrec :: Int -> RootVolumeConfigurationProperty -> ShowS
$cshow :: RootVolumeConfigurationProperty -> String
show :: RootVolumeConfigurationProperty -> String
$cshowList :: [RootVolumeConfigurationProperty] -> ShowS
showList :: [RootVolumeConfigurationProperty] -> ShowS
Prelude.Show)
mkRootVolumeConfigurationProperty ::
  RootVolumeConfigurationProperty
mkRootVolumeConfigurationProperty :: RootVolumeConfigurationProperty
mkRootVolumeConfigurationProperty
  = RootVolumeConfigurationProperty
      {haddock_workaround_ :: ()
haddock_workaround_ = (), copyTagsToSnapshots :: Maybe (Value Bool)
copyTagsToSnapshots = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       dataCompressionType :: Maybe (Value Text)
dataCompressionType = Maybe (Value Text)
forall a. Maybe a
Prelude.Nothing,
       nfsExports :: Maybe [NfsExportsProperty]
nfsExports = Maybe [NfsExportsProperty]
forall a. Maybe a
Prelude.Nothing, readOnly :: Maybe (Value Bool)
readOnly = Maybe (Value Bool)
forall a. Maybe a
Prelude.Nothing,
       recordSizeKiB :: Maybe (Value Integer)
recordSizeKiB = Maybe (Value Integer)
forall a. Maybe a
Prelude.Nothing,
       userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas = Maybe [UserAndGroupQuotasProperty]
forall a. Maybe a
Prelude.Nothing}
instance ToResourceProperties RootVolumeConfigurationProperty where
  toResourceProperties :: RootVolumeConfigurationProperty -> ResourceProperties
toResourceProperties RootVolumeConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: RootVolumeConfigurationProperty -> ()
copyTagsToSnapshots :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: RootVolumeConfigurationProperty -> Maybe (Value Text)
nfsExports :: RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
readOnly :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: RootVolumeConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = ResourceProperties
        {awsType :: Text
awsType = Text
"AWS::FSx::FileSystem.RootVolumeConfiguration",
         supportsTags :: Bool
supportsTags = Bool
Prelude.False,
         properties :: Object
properties = [Item Object] -> Object
forall l. IsList l => [Item l] -> l
Prelude.fromList
                        ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
                           [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CopyTagsToSnapshots" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
copyTagsToSnapshots,
                            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
"DataCompressionType" (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)
dataCompressionType,
                            Key -> [NfsExportsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NfsExports" ([NfsExportsProperty] -> (Key, Value))
-> Maybe [NfsExportsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [NfsExportsProperty]
nfsExports,
                            Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReadOnly" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
readOnly,
                            Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RecordSizeKiB" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
recordSizeKiB,
                            Key -> [UserAndGroupQuotasProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserAndGroupQuotas" ([UserAndGroupQuotasProperty] -> (Key, Value))
-> Maybe [UserAndGroupQuotasProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas])}
instance JSON.ToJSON RootVolumeConfigurationProperty where
  toJSON :: RootVolumeConfigurationProperty -> Value
toJSON RootVolumeConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: RootVolumeConfigurationProperty -> ()
copyTagsToSnapshots :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: RootVolumeConfigurationProperty -> Maybe (Value Text)
nfsExports :: RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
readOnly :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: RootVolumeConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = [(Key, Value)] -> Value
JSON.object
        ([Item [(Key, Value)]] -> [(Key, Value)]
forall l. IsList l => [Item l] -> l
Prelude.fromList
           ([Maybe (Key, Value)] -> [(Key, Value)]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
              [Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"CopyTagsToSnapshots" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
copyTagsToSnapshots,
               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
"DataCompressionType" (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)
dataCompressionType,
               Key -> [NfsExportsProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"NfsExports" ([NfsExportsProperty] -> (Key, Value))
-> Maybe [NfsExportsProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [NfsExportsProperty]
nfsExports,
               Key -> Value Bool -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"ReadOnly" (Value Bool -> (Key, Value))
-> Maybe (Value Bool) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Bool)
readOnly,
               Key -> Value Integer -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"RecordSizeKiB" (Value Integer -> (Key, Value))
-> Maybe (Value Integer) -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (Value Integer)
recordSizeKiB,
               Key -> [UserAndGroupQuotasProperty] -> (Key, Value)
forall v. ToJSON v => Key -> v -> (Key, Value)
forall e kv v. (KeyValue e kv, ToJSON v) => Key -> v -> kv
(JSON..=) Key
"UserAndGroupQuotas" ([UserAndGroupQuotasProperty] -> (Key, Value))
-> Maybe [UserAndGroupQuotasProperty] -> Maybe (Key, Value)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas]))
instance Property "CopyTagsToSnapshots" RootVolumeConfigurationProperty where
  type PropertyType "CopyTagsToSnapshots" RootVolumeConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "CopyTagsToSnapshots" RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
set PropertyType "CopyTagsToSnapshots" RootVolumeConfigurationProperty
newValue RootVolumeConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: RootVolumeConfigurationProperty -> ()
copyTagsToSnapshots :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: RootVolumeConfigurationProperty -> Maybe (Value Text)
nfsExports :: RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
readOnly :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: RootVolumeConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = RootVolumeConfigurationProperty
        {copyTagsToSnapshots :: Maybe (Value Bool)
copyTagsToSnapshots = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "CopyTagsToSnapshots" RootVolumeConfigurationProperty
Value Bool
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "DataCompressionType" RootVolumeConfigurationProperty where
  type PropertyType "DataCompressionType" RootVolumeConfigurationProperty = Value Prelude.Text
  set :: PropertyType "DataCompressionType" RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
set PropertyType "DataCompressionType" RootVolumeConfigurationProperty
newValue RootVolumeConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: RootVolumeConfigurationProperty -> ()
copyTagsToSnapshots :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: RootVolumeConfigurationProperty -> Maybe (Value Text)
nfsExports :: RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
readOnly :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: RootVolumeConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = RootVolumeConfigurationProperty
        {dataCompressionType :: Maybe (Value Text)
dataCompressionType = Value Text -> Maybe (Value Text)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "DataCompressionType" RootVolumeConfigurationProperty
Value Text
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
()
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "NfsExports" RootVolumeConfigurationProperty where
  type PropertyType "NfsExports" RootVolumeConfigurationProperty = [NfsExportsProperty]
  set :: PropertyType "NfsExports" RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
set PropertyType "NfsExports" RootVolumeConfigurationProperty
newValue RootVolumeConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: RootVolumeConfigurationProperty -> ()
copyTagsToSnapshots :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: RootVolumeConfigurationProperty -> Maybe (Value Text)
nfsExports :: RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
readOnly :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: RootVolumeConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = RootVolumeConfigurationProperty
        {nfsExports :: Maybe [NfsExportsProperty]
nfsExports = [NfsExportsProperty] -> Maybe [NfsExportsProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [NfsExportsProperty]
PropertyType "NfsExports" RootVolumeConfigurationProperty
newValue, Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "ReadOnly" RootVolumeConfigurationProperty where
  type PropertyType "ReadOnly" RootVolumeConfigurationProperty = Value Prelude.Bool
  set :: PropertyType "ReadOnly" RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
set PropertyType "ReadOnly" RootVolumeConfigurationProperty
newValue RootVolumeConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: RootVolumeConfigurationProperty -> ()
copyTagsToSnapshots :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: RootVolumeConfigurationProperty -> Maybe (Value Text)
nfsExports :: RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
readOnly :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: RootVolumeConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = RootVolumeConfigurationProperty
        {readOnly :: Maybe (Value Bool)
readOnly = Value Bool -> Maybe (Value Bool)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "ReadOnly" RootVolumeConfigurationProperty
Value Bool
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "RecordSizeKiB" RootVolumeConfigurationProperty where
  type PropertyType "RecordSizeKiB" RootVolumeConfigurationProperty = Value Prelude.Integer
  set :: PropertyType "RecordSizeKiB" RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
set PropertyType "RecordSizeKiB" RootVolumeConfigurationProperty
newValue RootVolumeConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: RootVolumeConfigurationProperty -> ()
copyTagsToSnapshots :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: RootVolumeConfigurationProperty -> Maybe (Value Text)
nfsExports :: RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
readOnly :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: RootVolumeConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = RootVolumeConfigurationProperty
        {recordSizeKiB :: Maybe (Value Integer)
recordSizeKiB = Value Integer -> Maybe (Value Integer)
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure PropertyType "RecordSizeKiB" RootVolumeConfigurationProperty
Value Integer
newValue, Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Text)
()
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
instance Property "UserAndGroupQuotas" RootVolumeConfigurationProperty where
  type PropertyType "UserAndGroupQuotas" RootVolumeConfigurationProperty = [UserAndGroupQuotasProperty]
  set :: PropertyType "UserAndGroupQuotas" RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
-> RootVolumeConfigurationProperty
set PropertyType "UserAndGroupQuotas" RootVolumeConfigurationProperty
newValue RootVolumeConfigurationProperty {Maybe [NfsExportsProperty]
Maybe [UserAndGroupQuotasProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: RootVolumeConfigurationProperty -> ()
copyTagsToSnapshots :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
dataCompressionType :: RootVolumeConfigurationProperty -> Maybe (Value Text)
nfsExports :: RootVolumeConfigurationProperty -> Maybe [NfsExportsProperty]
readOnly :: RootVolumeConfigurationProperty -> Maybe (Value Bool)
recordSizeKiB :: RootVolumeConfigurationProperty -> Maybe (Value Integer)
userAndGroupQuotas :: RootVolumeConfigurationProperty
-> Maybe [UserAndGroupQuotasProperty]
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
..}
    = RootVolumeConfigurationProperty
        {userAndGroupQuotas :: Maybe [UserAndGroupQuotasProperty]
userAndGroupQuotas = [UserAndGroupQuotasProperty] -> Maybe [UserAndGroupQuotasProperty]
forall a. a -> Maybe a
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure [UserAndGroupQuotasProperty]
PropertyType "UserAndGroupQuotas" RootVolumeConfigurationProperty
newValue, Maybe [NfsExportsProperty]
Maybe (Value Bool)
Maybe (Value Integer)
Maybe (Value Text)
()
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
haddock_workaround_ :: ()
copyTagsToSnapshots :: Maybe (Value Bool)
dataCompressionType :: Maybe (Value Text)
nfsExports :: Maybe [NfsExportsProperty]
readOnly :: Maybe (Value Bool)
recordSizeKiB :: Maybe (Value Integer)
..}