Class ApplicationGroupPolicy
java.lang.Object
com.azure.resourcemanager.eventhubs.models.ApplicationGroupPolicy
- Direct Known Subclasses:
ThrottlingPolicy
Properties of the Application Group policy.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGroupPolicy class. -
Method Summary
-
Constructor Details
-
ApplicationGroupPolicy
public ApplicationGroupPolicy()Creates an instance of ApplicationGroupPolicy class.
-
-
Method Details
-
type
Get the type property: Application Group Policy types.- Returns:
- the type value.
-
name
Get the name property: The Name of this policy.- Returns:
- the name value.
-
withName
Set the name property: The Name of this policy.- Parameters:
name- the name value to set.- Returns:
- the ApplicationGroupPolicy object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-