AvailabilitySetListItem Class
- java.
lang. Object - com.
azure. resourcemanager. scvmm. models. AvailabilitySetListItem
- com.
Implements
public final class AvailabilitySetListItem
implements JsonSerializable<AvailabilitySetListItem>
Availability Set model.
Constructor Summary
| Constructor | Description |
|---|---|
| AvailabilitySetListItem() |
Creates an instance of Availability |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Availability |
fromJson(JsonReader jsonReader)
Reads an instance of Availability |
| String |
id()
Get the id property: Gets the ARM Id of the microsoft. |
| String |
name()
Get the name property: Gets or sets the name of the availability set. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Availability |
withId(String id)
Set the id property: Gets the ARM Id of the microsoft. |
|
Availability |
withName(String name)
Set the name property: Gets or sets the name of the availability set. |
Methods inherited from java.lang.Object
Constructor Details
AvailabilitySetListItem
public AvailabilitySetListItem()
Creates an instance of AvailabilitySetListItem class.
Method Details
fromJson
public static AvailabilitySetListItem fromJson(JsonReader jsonReader)
Reads an instance of AvailabilitySetListItem from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.
Returns:
name
public String name()
Get the name property: Gets or sets the name of the availability set.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public AvailabilitySetListItem withId(String id)
Set the id property: Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.
Parameters:
Returns:
withName
public AvailabilitySetListItem withName(String name)
Set the name property: Gets or sets the name of the availability set.
Parameters:
Returns: