OnErrorDeployment Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. OnErrorDeployment
- com.
Implements
public final class OnErrorDeployment
implements JsonSerializable<OnErrorDeployment>
Deployment on error behavior.
Constructor Summary
Constructor | Description |
---|---|
OnErrorDeployment() |
Creates an instance of On |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
deploymentName()
Get the deployment |
static
On |
fromJson(JsonReader jsonReader)
Reads an instance of On |
Json |
toJson(JsonWriter jsonWriter) |
On |
type()
Get the type property: The deployment on error behavior type. |
void |
validate()
Validates the instance. |
On |
withDeploymentName(String deploymentName)
Set the deployment |
On |
withType(OnErrorDeploymentType type)
Set the type property: The deployment on error behavior type. |
Methods inherited from java.lang.Object
Constructor Details
OnErrorDeployment
public OnErrorDeployment()
Creates an instance of OnErrorDeployment class.
Method Details
deploymentName
public String deploymentName()
Get the deploymentName property: The deployment to be used on error case.
Returns:
fromJson
public static OnErrorDeployment fromJson(JsonReader jsonReader)
Reads an instance of OnErrorDeployment from the JsonReader.
Parameters:
Returns:
Throws:
toJson
type
public OnErrorDeploymentType type()
Get the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
Returns:
validate
public void validate()
Validates the instance.
withDeploymentName
public OnErrorDeployment withDeploymentName(String deploymentName)
Set the deploymentName property: The deployment to be used on error case.
Parameters:
Returns:
withType
public OnErrorDeployment withType(OnErrorDeploymentType type)
Set the type property: The deployment on error behavior type. Possible values are LastSuccessful and SpecificDeployment.
Parameters:
Returns:
Applies to
Azure SDK for Java