Condividi tramite


GatewayResiliencyInformationInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.GatewayResiliencyInformationInner

Implements

public final class GatewayResiliencyInformationInner
implements JsonSerializable<GatewayResiliencyInformationInner>

Gateway Resiliency Information.

Constructor Summary

Constructor Description
GatewayResiliencyInformationInner()

Creates an instance of GatewayResiliencyInformationInner class.

Method Summary

Modifier and Type Method and Description
List<ResiliencyRecommendationComponents> components()

Get the components property: List of Resiliency based Recommendation Components for the gateway.

static GatewayResiliencyInformationInner fromJson(JsonReader jsonReader)

Reads an instance of GatewayResiliencyInformationInner from the JsonReader.

OffsetDateTime lastComputedTime()

Get the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for the gateway.

String maxScoreFromRecommendations()

Get the maxScoreFromRecommendations property: Maximum increase expected in the score if all of the recommendations are applied for the gateway.

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.

OffsetDateTime nextEligibleComputeTime()

Get the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway.

String overallScore()

Get the overallScore property: Current Resiliency Score for the gateway.

String scoreChange()

Get the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GatewayResiliencyInformationInner withComponents(List<ResiliencyRecommendationComponents> components)

Set the components property: List of Resiliency based Recommendation Components for the gateway.

GatewayResiliencyInformationInner withLastComputedTime(OffsetDateTime lastComputedTime)

Set the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for the gateway.

GatewayResiliencyInformationInner withMaxScoreFromRecommendations(String maxScoreFromRecommendations)

Set the maxScoreFromRecommendations property: Maximum increase expected in the score if all of the recommendations are applied for the gateway.

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.

GatewayResiliencyInformationInner withNextEligibleComputeTime(OffsetDateTime nextEligibleComputeTime)

Set the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway.

GatewayResiliencyInformationInner withOverallScore(String overallScore)

Set the overallScore property: Current Resiliency Score for the gateway.

GatewayResiliencyInformationInner withScoreChange(String scoreChange)

Set the scoreChange property: Update in the Resiliency Score for the gateway from the last computed 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:

the components value.

fromJson

public static GatewayResiliencyInformationInner fromJson(JsonReader jsonReader)

Reads an instance of GatewayResiliencyInformationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GatewayResiliencyInformationInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the GatewayResiliencyInformationInner.

lastComputedTime

public OffsetDateTime lastComputedTime()

Get the lastComputedTime property: Timestamp denoting the last time when the resiliency score was computed for the gateway.

Returns:

the lastComputedTime value.

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:

the maxScoreFromRecommendations value.

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:

the minScoreFromRecommendations value.

nextEligibleComputeTime

public OffsetDateTime nextEligibleComputeTime()

Get the nextEligibleComputeTime property: Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway.

Returns:

the nextEligibleComputeTime value.

overallScore

public String overallScore()

Get the overallScore property: Current Resiliency Score for the gateway.

Returns:

the overallScore value.

scoreChange

public String scoreChange()

Get the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score.

Returns:

the scoreChange value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

components - the components value to set.

Returns:

the GatewayResiliencyInformationInner object itself.

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:

lastComputedTime - the lastComputedTime value to set.

Returns:

the GatewayResiliencyInformationInner object itself.

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:

maxScoreFromRecommendations - the maxScoreFromRecommendations value to set.

Returns:

the GatewayResiliencyInformationInner object itself.

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:

minScoreFromRecommendations - the minScoreFromRecommendations value to set.

Returns:

the GatewayResiliencyInformationInner object itself.

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:

nextEligibleComputeTime - the nextEligibleComputeTime value to set.

Returns:

the GatewayResiliencyInformationInner object itself.

withOverallScore

public GatewayResiliencyInformationInner withOverallScore(String overallScore)

Set the overallScore property: Current Resiliency Score for the gateway.

Parameters:

overallScore - the overallScore value to set.

Returns:

the GatewayResiliencyInformationInner object itself.

withScoreChange

public GatewayResiliencyInformationInner withScoreChange(String scoreChange)

Set the scoreChange property: Update in the Resiliency Score for the gateway from the last computed score.

Parameters:

scoreChange - the scoreChange value to set.

Returns:

the GatewayResiliencyInformationInner object itself.

Applies to