ApplicationGroupPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. eventhubs. models. ApplicationGroupPolicy
- com.
Implements
public class ApplicationGroupPolicy
implements JsonSerializable<ApplicationGroupPolicy>
Properties of the Application Group policy.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGroupPolicy() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
name()
Get the name property: The Name of this policy. |
Json |
toJson(JsonWriter jsonWriter) |
Application |
type()
Get the type property: Application Group Policy types. |
void |
validate()
Validates the instance. |
Application |
withName(String name)
Set the name property: The Name of this policy. |
Methods inherited from java.lang.Object
Constructor Details
ApplicationGroupPolicy
public ApplicationGroupPolicy()
Creates an instance of ApplicationGroupPolicy class.
Method Details
fromJson
public static ApplicationGroupPolicy fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGroupPolicy from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The Name of this policy.
Returns:
toJson
type
public ApplicationGroupPolicyType type()
Get the type property: Application Group Policy types.
Returns:
validate
public void validate()
Validates the instance.
withName
public ApplicationGroupPolicy withName(String name)
Set the name property: The Name of this policy.
Parameters:
Returns:
Applies to
Azure SDK for Java