UpsertManagedServerOperationStep Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. UpsertManagedServerOperationStep
- com.
Implements
public final class UpsertManagedServerOperationStep
implements JsonSerializable<UpsertManagedServerOperationStep>
The UpsertManagedServerOperationStep model.
Constructor Summary
| Constructor | Description |
|---|---|
| UpsertManagedServerOperationStep() |
Creates an instance of Upsert |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Upsert |
fromJson(JsonReader jsonReader)
Reads an instance of Upsert |
| String |
name()
Get the name property: The name property. |
| Integer |
order()
Get the order property: The order property. |
|
Upsert |
status()
Get the status property: The status property. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Upsert |
withName(String name)
Set the name property: The name property. |
|
Upsert |
withOrder(Integer order)
Set the order property: The order property. |
|
Upsert |
withStatus(UpsertManagedServerOperationStepStatus status)
Set the status property: The status property. |
Methods inherited from java.lang.Object
Constructor Details
UpsertManagedServerOperationStep
public UpsertManagedServerOperationStep()
Creates an instance of UpsertManagedServerOperationStep class.
Method Details
fromJson
public static UpsertManagedServerOperationStep fromJson(JsonReader jsonReader)
Reads an instance of UpsertManagedServerOperationStep from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name property.
Returns:
order
public Integer order()
Get the order property: The order property.
Returns:
status
public UpsertManagedServerOperationStepStatus status()
Get the status property: The status property.
Returns:
toJson
validate
public void validate()
Validates the instance.
withName
public UpsertManagedServerOperationStep withName(String name)
Set the name property: The name property.
Parameters:
Returns:
withOrder
public UpsertManagedServerOperationStep withOrder(Integer order)
Set the order property: The order property.
Parameters:
Returns:
withStatus
public UpsertManagedServerOperationStep withStatus(UpsertManagedServerOperationStepStatus status)
Set the status property: The status property.
Parameters:
Returns: