Condividi tramite


GatewayResiliencyRecommendation Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.GatewayResiliencyRecommendation

Implements

public final class GatewayResiliencyRecommendation
implements JsonSerializable<GatewayResiliencyRecommendation>

Resiliency Recommendation details.

Constructor Summary

Constructor Description
GatewayResiliencyRecommendation()

Creates an instance of GatewayResiliencyRecommendation class.

Method Summary

Modifier and Type Method and Description
String callToActionLink()

Get the callToActionLink property: Link to the public documentation for the associated recommendation.

String callToActionText()

Get the callToActionText property: Acton items to apply the recommendation.

static GatewayResiliencyRecommendation fromJson(JsonReader jsonReader)

Reads an instance of GatewayResiliencyRecommendation from the JsonReader.

String recommendationId()

Get the recommendationId property: Recommendation Id.

String recommendationText()

Get the recommendationText property: Recommendation details.

String recommendationTitle()

Get the recommendationTitle property: Recommendation Title.

String severity()

Get the severity property: Impact associated with the recommendation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

GatewayResiliencyRecommendation withCallToActionLink(String callToActionLink)

Set the callToActionLink property: Link to the public documentation for the associated recommendation.

GatewayResiliencyRecommendation withCallToActionText(String callToActionText)

Set the callToActionText property: Acton items to apply the recommendation.

GatewayResiliencyRecommendation withRecommendationId(String recommendationId)

Set the recommendationId property: Recommendation Id.

GatewayResiliencyRecommendation withRecommendationText(String recommendationText)

Set the recommendationText property: Recommendation details.

GatewayResiliencyRecommendation withRecommendationTitle(String recommendationTitle)

Set the recommendationTitle property: Recommendation Title.

GatewayResiliencyRecommendation withSeverity(String severity)

Set the severity property: Impact associated with the recommendation.

Methods inherited from java.lang.Object

Constructor Details

GatewayResiliencyRecommendation

public GatewayResiliencyRecommendation()

Creates an instance of GatewayResiliencyRecommendation class.

Method Details

callToActionLink

public String callToActionLink()

Get the callToActionLink property: Link to the public documentation for the associated recommendation.

Returns:

the callToActionLink value.

callToActionText

public String callToActionText()

Get the callToActionText property: Acton items to apply the recommendation.

Returns:

the callToActionText value.

fromJson

public static GatewayResiliencyRecommendation fromJson(JsonReader jsonReader)

Reads an instance of GatewayResiliencyRecommendation from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of GatewayResiliencyRecommendation 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 GatewayResiliencyRecommendation.

recommendationId

public String recommendationId()

Get the recommendationId property: Recommendation Id.

Returns:

the recommendationId value.

recommendationText

public String recommendationText()

Get the recommendationText property: Recommendation details.

Returns:

the recommendationText value.

recommendationTitle

public String recommendationTitle()

Get the recommendationTitle property: Recommendation Title.

Returns:

the recommendationTitle value.

severity

public String severity()

Get the severity property: Impact associated with the recommendation.

Returns:

the severity value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCallToActionLink

public GatewayResiliencyRecommendation withCallToActionLink(String callToActionLink)

Set the callToActionLink property: Link to the public documentation for the associated recommendation.

Parameters:

callToActionLink - the callToActionLink value to set.

Returns:

the GatewayResiliencyRecommendation object itself.

withCallToActionText

public GatewayResiliencyRecommendation withCallToActionText(String callToActionText)

Set the callToActionText property: Acton items to apply the recommendation.

Parameters:

callToActionText - the callToActionText value to set.

Returns:

the GatewayResiliencyRecommendation object itself.

withRecommendationId

public GatewayResiliencyRecommendation withRecommendationId(String recommendationId)

Set the recommendationId property: Recommendation Id.

Parameters:

recommendationId - the recommendationId value to set.

Returns:

the GatewayResiliencyRecommendation object itself.

withRecommendationText

public GatewayResiliencyRecommendation withRecommendationText(String recommendationText)

Set the recommendationText property: Recommendation details.

Parameters:

recommendationText - the recommendationText value to set.

Returns:

the GatewayResiliencyRecommendation object itself.

withRecommendationTitle

public GatewayResiliencyRecommendation withRecommendationTitle(String recommendationTitle)

Set the recommendationTitle property: Recommendation Title.

Parameters:

recommendationTitle - the recommendationTitle value to set.

Returns:

the GatewayResiliencyRecommendation object itself.

withSeverity

public GatewayResiliencyRecommendation withSeverity(String severity)

Set the severity property: Impact associated with the recommendation.

Parameters:

severity - the severity value to set.

Returns:

the GatewayResiliencyRecommendation object itself.

Applies to