Class AvailabilitySetListItem
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.AvailabilitySetListItem
-
public final class AvailabilitySetListItem extends Object
Availability Set model.
-
-
Constructor Summary
Constructors Constructor Description AvailabilitySetListItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Get the id property: Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.String
name()
Get the name property: Gets or sets the name of the availability set.void
validate()
Validates the instance.AvailabilitySetListItem
withId(String id)
Set the id property: Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.AvailabilitySetListItem
withName(String name)
Set the name property: Gets or sets the name of the availability set.
-
-
-
Method Detail
-
id
public String id()
Get the id property: Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.- Returns:
- the id value.
-
withId
public AvailabilitySetListItem withId(String id)
Set the id property: Gets the ARM Id of the microsoft.scvmm/availabilitySets resource.- Parameters:
id
- the id value to set.- Returns:
- the AvailabilitySetListItem object itself.
-
name
public String name()
Get the name property: Gets or sets the name of the availability set.- Returns:
- the name value.
-
withName
public AvailabilitySetListItem withName(String name)
Set the name property: Gets or sets the name of the availability set.- Parameters:
name
- the name value to set.- Returns:
- the AvailabilitySetListItem object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-