Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ServerStrategy = ServerStrategy' {}
- newServerStrategy :: ServerStrategy
- serverStrategy_isPreferred :: Lens' ServerStrategy (Maybe Bool)
- serverStrategy_numberOfApplicationComponents :: Lens' ServerStrategy (Maybe Int)
- serverStrategy_recommendation :: Lens' ServerStrategy (Maybe RecommendationSet)
- serverStrategy_status :: Lens' ServerStrategy (Maybe StrategyRecommendation)
Documentation
data ServerStrategy Source #
Contains information about a strategy recommendation for a server.
See: newServerStrategy
smart constructor.
ServerStrategy' | |
|
Instances
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_recommendation :: Lens' ServerStrategy (Maybe RecommendationSet) Source #
Strategy recommendation for the server.
serverStrategy_status :: Lens' ServerStrategy (Maybe StrategyRecommendation) Source #
The recommendation status of the strategy for the server.