OnErrorDeploymentExtended Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.OnErrorDeploymentExtended

Implements

public final class OnErrorDeploymentExtended
implements JsonSerializable<OnErrorDeploymentExtended>

Deployment on error behavior with additional details.

Constructor Summary

Constructor Description
OnErrorDeploymentExtended()

Creates an instance of OnErrorDeploymentExtended class.

Method Summary

Modifier and Type Method and Description
String deploymentName()

Get the deploymentName property: The deployment to be used on error case.

static OnErrorDeploymentExtended fromJson(JsonReader jsonReader)

Reads an instance of OnErrorDeploymentExtended from the JsonReader.

String provisioningState()

Get the provisioningState property: The state of the provisioning for the on error deployment.

JsonWriter toJson(JsonWriter jsonWriter)
OnErrorDeploymentType type()

Get the type property: The deployment on error behavior type.

void validate()

Validates the instance.

OnErrorDeploymentExtended withDeploymentName(String deploymentName)

Set the deploymentName property: The deployment to be used on error case.

OnErrorDeploymentExtended withType(OnErrorDeploymentType type)

Set the type property: The deployment on error behavior type.

Methods inherited from java.lang.Object

Constructor Details

OnErrorDeploymentExtended

public OnErrorDeploymentExtended()

Creates an instance of OnErrorDeploymentExtended class.

Method Details

deploymentName

public String deploymentName()

Get the deploymentName property: The deployment to be used on error case.

Returns:

the deploymentName value.

fromJson

public static OnErrorDeploymentExtended fromJson(JsonReader jsonReader)

Reads an instance of OnErrorDeploymentExtended from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

provisioningState

public String provisioningState()

Get the provisioningState property: The state of the provisioning for the on error deployment.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public OnErrorDeploymentType type()

Get the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withDeploymentName

public OnErrorDeploymentExtended withDeploymentName(String deploymentName)

Set the deploymentName property: The deployment to be used on error case.

Parameters:

deploymentName - the deploymentName value to set.

Returns:

the OnErrorDeploymentExtended object itself.

withType

public OnErrorDeploymentExtended withType(OnErrorDeploymentType type)

Set the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.

Parameters:

type - the type value to set.

Returns:

the OnErrorDeploymentExtended object itself.

Applies to