Class OnErrorDeploymentExtended
- java.lang.Object
-
- com.azure.resourcemanager.resources.models.OnErrorDeploymentExtended
-
public final class OnErrorDeploymentExtended extends Object
Deployment on error behavior with additional details.
-
-
Constructor Summary
Constructors Constructor Description OnErrorDeploymentExtended()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdeploymentName()Get the deploymentName property: The deployment to be used on error case.StringprovisioningState()Get the provisioningState property: The state of the provisioning for the on error deployment.OnErrorDeploymentTypetype()Get the type property: The deployment on error behavior type.voidvalidate()Validates the instance.OnErrorDeploymentExtendedwithDeploymentName(String deploymentName)Set the deploymentName property: The deployment to be used on error case.OnErrorDeploymentExtendedwithType(OnErrorDeploymentType type)Set the type property: The deployment on error behavior type.
-
-
-
Method Detail
-
provisioningState
public String provisioningState()
Get the provisioningState property: The state of the provisioning for the on error deployment.- Returns:
- the provisioningState value.
-
type
public OnErrorDeploymentType type()
Get the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.- Returns:
- the type value.
-
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.
-
deploymentName
public String deploymentName()
Get the deploymentName property: The deployment to be used on error case.- Returns:
- the deploymentName value.
-
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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-