Class Disallowed
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.Disallowed
-
public final class Disallowed extends Object
Describes the disallowed disk types.
-
-
Constructor Summary
Constructors Constructor Description Disallowed()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>diskTypes()Get the diskTypes property: A list of disk types.voidvalidate()Validates the instance.DisallowedwithDiskTypes(List<String> diskTypes)Set the diskTypes property: A list of disk types.
-
-
-
Method Detail
-
diskTypes
public List<String> diskTypes()
Get the diskTypes property: A list of disk types.- Returns:
- the diskTypes value.
-
withDiskTypes
public Disallowed withDiskTypes(List<String> diskTypes)
Set the diskTypes property: A list of disk types.- Parameters:
diskTypes- the diskTypes value to set.- Returns:
- the Disallowed object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-