GatewayResiliencyInformationInner Class
- java.
lang. Object - com.
azure. resourcemanager. network. fluent. models. GatewayResiliencyInformationInner
- com.
Implements
public final class GatewayResiliencyInformationInner
implements JsonSerializable<GatewayResiliencyInformationInner>
Gateway Resiliency Information.
Constructor Summary
| Constructor | Description |
|---|---|
| GatewayResiliencyInformationInner() |
Creates an instance of Gateway |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Resiliency |
components()
Get the components property: List of Resiliency based Recommendation Components for the gateway. |
|
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
|
Offset |
lastComputedTime()
Get the last |
| String |
maxScoreFromRecommendations()
Get the max |
| String |
minScoreFromRecommendations()
Get the min |
|
Offset |
nextEligibleComputeTime()
Get the next |
| String |
overallScore()
Get the overall |
| String |
scoreChange()
Get the score |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Gateway |
withComponents(List<ResiliencyRecommendationComponents> components)
Set the components property: List of Resiliency based Recommendation Components for the gateway. |
|
Gateway |
withLastComputedTime(OffsetDateTime lastComputedTime)
Set the last |
|
Gateway |
withMaxScoreFromRecommendations(String maxScoreFromRecommendations)
Set the max |
|
Gateway |
withMinScoreFromRecommendations(String minScoreFromRecommendations)
Set the min |
|
Gateway |
withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime)
Set the next |
|
Gateway |
withOverallScore(String overallScore)
Set the overall |
|
Gateway |
withScoreChange(String scoreChange)
Set the score |
Methods inherited from java.lang.Object
Constructor Details
GatewayResiliencyInformationInner
public GatewayResiliencyInformationInner()
Creates an instance of GatewayResiliencyInformationInner class.
Method Details
components
public List<ResiliencyRecommendationComponents> components()
Get the components property: List of Resiliency based Recommendation Components for the gateway.
Returns:
fromJson
public static GatewayResiliencyInformationInner fromJson(JsonReader jsonReader)
Reads an instance of GatewayResiliencyInformationInner from the JsonReader.
Parameters:
Returns:
Throws:
lastComputedTime
public OffsetDateTime lastComputedTime()
Get the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for the gateway.
Returns:
maxScoreFromRecommendations
public String maxScoreFromRecommendations()
Get the maxScoreFromRecommendations property: Maximum increase expected in the score if all of the recommendations are applied for the gateway.
Returns:
minScoreFromRecommendations
public String minScoreFromRecommendations()
Get the minScoreFromRecommendations property: Minimum increase expected in the score if the at least one of the recommendations is applied for the gateway.
Returns:
nextEligibleComputeTime
public OffsetDateTime nextEligibleComputeTime()
Get the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway.
Returns:
overallScore
public String overallScore()
Get the overallScore property: Current Resiliency Score for the gateway.
Returns:
scoreChange
public String scoreChange()
Get the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score.
Returns:
toJson
validate
public void validate()
Validates the instance.
withComponents
public GatewayResiliencyInformationInner withComponents(List<ResiliencyRecommendationComponents> components)
Set the components property: List of Resiliency based Recommendation Components for the gateway.
Parameters:
Returns:
withLastComputedTime
public GatewayResiliencyInformationInner withLastComputedTime(OffsetDateTime lastComputedTime)
Set the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for the gateway.
Parameters:
Returns:
withMaxScoreFromRecommendations
public GatewayResiliencyInformationInner withMaxScoreFromRecommendations(String maxScoreFromRecommendations)
Set the maxScoreFromRecommendations property: Maximum increase expected in the score if all of the recommendations are applied for the gateway.
Parameters:
Returns:
withMinScoreFromRecommendations
public GatewayResiliencyInformationInner withMinScoreFromRecommendations(String minScoreFromRecommendations)
Set the minScoreFromRecommendations property: Minimum increase expected in the score if the at least one of the recommendations is applied for the gateway.
Parameters:
Returns:
withNextEligibleComputeTime
public GatewayResiliencyInformationInner withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime)
Set the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway.
Parameters:
Returns:
withOverallScore
public GatewayResiliencyInformationInner withOverallScore(String overallScore)
Set the overallScore property: Current Resiliency Score for the gateway.
Parameters:
Returns:
withScoreChange
public GatewayResiliencyInformationInner withScoreChange(String scoreChange)
Set the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score.
Parameters:
Returns: