Class Sku
java.lang.Object
com.azure.resourcemanager.network.models.Sku
The sku of this Bastion Host.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: The name of this Bastion Host.voidvalidate()Validates the instance.withName(BastionHostSkuName name) Set the name property: The name of this Bastion Host.
-
Constructor Details
-
Sku
public Sku()Creates an instance of Sku class.
-
-
Method Details
-
name
Get the name property: The name of this Bastion Host.- Returns:
- the name value.
-
withName
Set the name property: The name of this Bastion Host.- Parameters:
name- the name value to set.- Returns:
- the Sku object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-