libZSservicesZSamazonka-mgnZSamazonka-mgn
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MGN.Types.CPU

Description

 
Synopsis

Documentation

data CPU Source #

Source server CPU information.

See: newCPU smart constructor.

Constructors

CPU' 

Fields

Instances

Instances details
Eq CPU Source # 
Instance details

Defined in Amazonka.MGN.Types.CPU

Methods

(==) :: CPU -> CPU -> Bool #

(/=) :: CPU -> CPU -> Bool #

Read CPU Source # 
Instance details

Defined in Amazonka.MGN.Types.CPU

Show CPU Source # 
Instance details

Defined in Amazonka.MGN.Types.CPU

Methods

showsPrec :: Int -> CPU -> ShowS #

show :: CPU -> String #

showList :: [CPU] -> ShowS #

Generic CPU Source # 
Instance details

Defined in Amazonka.MGN.Types.CPU

Associated Types

type Rep CPU :: Type -> Type #

Methods

from :: CPU -> Rep CPU x #

to :: Rep CPU x -> CPU #

NFData CPU Source # 
Instance details

Defined in Amazonka.MGN.Types.CPU

Methods

rnf :: CPU -> () #

Hashable CPU Source # 
Instance details

Defined in Amazonka.MGN.Types.CPU

Methods

hashWithSalt :: Int -> CPU -> Int #

hash :: CPU -> Int #

FromJSON CPU Source # 
Instance details

Defined in Amazonka.MGN.Types.CPU

type Rep CPU Source # 
Instance details

Defined in Amazonka.MGN.Types.CPU

type Rep CPU = D1 ('MetaData "CPU" "Amazonka.MGN.Types.CPU" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "CPU'" 'PrefixI 'True) (S1 ('MetaSel ('Just "modelName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newCPU :: CPU Source #

Create a value of CPU with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:modelName:CPU', cpu_modelName - The source server's CPU model name.

$sel:cores:CPU', cpu_cores - The number of CPU cores on the source server.

cpu_modelName :: Lens' CPU (Maybe Text) Source #

The source server's CPU model name.

cpu_cores :: Lens' CPU (Maybe Natural) Source #

The number of CPU cores on the source server.