OnErrorDeployment Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.OnErrorDeployment

public class OnErrorDeployment

Deployment on error behavior.

Constructor Summary

Constructor Description
OnErrorDeployment()

Method Summary

Modifier and Type Method and Description
java.lang.String deploymentName()

Get the deployment to be used on error case.

OnErrorDeploymentType type()

Get the deployment on error behavior type.

OnErrorDeployment withDeploymentName(String deploymentName)

Set the deployment to be used on error case.

OnErrorDeployment withType(OnErrorDeploymentType type)

Set the deployment on error behavior type.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

OnErrorDeployment

public OnErrorDeployment()

Method Details

deploymentName

public String deploymentName()

Get the deployment to be used on error case.

Returns:

the deploymentName value

type

public OnErrorDeploymentType type()

Get the deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'.

Returns:

the type value

withDeploymentName

public OnErrorDeployment withDeploymentName(String deploymentName)

Set the deployment to be used on error case.

Parameters:

deploymentName - the deploymentName value to set

Returns:

the OnErrorDeployment object itself.

withType

public OnErrorDeployment withType(OnErrorDeploymentType type)

Set the deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment. Possible values include: 'LastSuccessful', 'SpecificDeployment'.

Parameters:

type - the type value to set

Returns:

the OnErrorDeployment object itself.

Applies to