Class Hub
java.lang.Object
com.azure.resourcemanager.network.models.Hub
Hub Item.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the resourceId property: Resource Id.Get the resourceType property: Resource Type.voidvalidate()Validates the instance.withResourceId(String resourceId) Set the resourceId property: Resource Id.withResourceType(String resourceType) Set the resourceType property: Resource Type.
-
Constructor Details
-
Hub
public Hub()Creates an instance of Hub class.
-
-
Method Details
-
resourceId
Get the resourceId property: Resource Id.- Returns:
- the resourceId value.
-
withResourceId
Set the resourceId property: Resource Id.- Parameters:
resourceId- the resourceId value to set.- Returns:
- the Hub object itself.
-
resourceType
Get the resourceType property: Resource Type.- Returns:
- the resourceType value.
-
withResourceType
Set the resourceType property: Resource Type.- Parameters:
resourceType- the resourceType value to set.- Returns:
- the Hub object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-