UserInitiatedRedeploy Class

  • java.lang.Object
    • com.azure.resourcemanager.compute.models.UserInitiatedRedeploy

Implements

public final class UserInitiatedRedeploy
implements JsonSerializable<UserInitiatedRedeploy>

Specifies Redeploy related Scheduled Event related configurations.

Constructor Summary

Constructor Description
UserInitiatedRedeploy()

Creates an instance of UserInitiatedRedeploy class.

Method Summary

Modifier and Type Method and Description
Boolean automaticallyApprove()

Get the automaticallyApprove property: Specifies Redeploy Scheduled Event related configurations.

static UserInitiatedRedeploy fromJson(JsonReader jsonReader)

Reads an instance of UserInitiatedRedeploy from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

UserInitiatedRedeploy withAutomaticallyApprove(Boolean automaticallyApprove)

Set the automaticallyApprove property: Specifies Redeploy Scheduled Event related configurations.

Methods inherited from java.lang.Object

Constructor Details

UserInitiatedRedeploy

public UserInitiatedRedeploy()

Creates an instance of UserInitiatedRedeploy class.

Method Details

automaticallyApprove

public Boolean automaticallyApprove()

Get the automaticallyApprove property: Specifies Redeploy Scheduled Event related configurations.

Returns:

the automaticallyApprove value.

fromJson

public static UserInitiatedRedeploy fromJson(JsonReader jsonReader)

Reads an instance of UserInitiatedRedeploy from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAutomaticallyApprove

public UserInitiatedRedeploy withAutomaticallyApprove(Boolean automaticallyApprove)

Set the automaticallyApprove property: Specifies Redeploy Scheduled Event related configurations.

Parameters:

automaticallyApprove - the automaticallyApprove value to set.

Returns:

the UserInitiatedRedeploy object itself.

Applies to