amazonka-migrationhubstrategy-2.0: Amazon Migration Hub Strategy Recommendations SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MigrationHubStrategy.Types.ServerStrategy

Description

 
Synopsis

Documentation

data ServerStrategy Source #

Contains information about a strategy recommendation for a server.

See: newServerStrategy smart constructor.

Constructors

ServerStrategy' 

Fields

Instances

Instances details
FromJSON ServerStrategy Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.ServerStrategy

Generic ServerStrategy Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.ServerStrategy

Associated Types

type Rep ServerStrategy :: Type -> Type #

Read ServerStrategy Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.ServerStrategy

Show ServerStrategy Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.ServerStrategy

NFData ServerStrategy Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.ServerStrategy

Methods

rnf :: ServerStrategy -> () #

Eq ServerStrategy Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.ServerStrategy

Hashable ServerStrategy Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.ServerStrategy

type Rep ServerStrategy Source # 
Instance details

Defined in Amazonka.MigrationHubStrategy.Types.ServerStrategy

type Rep ServerStrategy = D1 ('MetaData "ServerStrategy" "Amazonka.MigrationHubStrategy.Types.ServerStrategy" "amazonka-migrationhubstrategy-2.0-mnEPazDQ9LCt8OMOo53lQ" 'False) (C1 ('MetaCons "ServerStrategy'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "isPreferred") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "numberOfApplicationComponents") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "recommendation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RecommendationSet)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StrategyRecommendation)))))

newServerStrategy :: ServerStrategy Source #

Create a value of ServerStrategy 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:isPreferred:ServerStrategy', serverStrategy_isPreferred - Set to true if the recommendation is set as preferred.

$sel:numberOfApplicationComponents:ServerStrategy', serverStrategy_numberOfApplicationComponents - The number of application components with this strategy recommendation running on the server.

$sel:recommendation:ServerStrategy', serverStrategy_recommendation - Strategy recommendation for the server.

$sel:status:ServerStrategy', serverStrategy_status - The recommendation status of the strategy for the server.

serverStrategy_isPreferred :: Lens' ServerStrategy (Maybe Bool) Source #

Set to true if the recommendation is set as preferred.

serverStrategy_numberOfApplicationComponents :: Lens' ServerStrategy (Maybe Int) Source #

The number of application components with this strategy recommendation running on the server.

serverStrategy_status :: Lens' ServerStrategy (Maybe StrategyRecommendation) Source #

The recommendation status of the strategy for the server.