Class ApplicationGroupProperties
java.lang.Object
com.azure.resourcemanager.eventhubs.fluent.models.ApplicationGroupProperties
The ApplicationGroupProperties model.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ApplicationGroupProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).Get the isEnabled property: Determines if Application Group is allowed to create connection with namespace or not.policies()Get the policies property: List of group policies that define the behavior of application group.voidvalidate()Validates the instance.withClientAppGroupIdentifier(String clientAppGroupIdentifier) Set the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).withIsEnabled(Boolean isEnabled) Set the isEnabled property: Determines if Application Group is allowed to create connection with namespace or not.withPolicies(List<ApplicationGroupPolicy> policies) Set the policies property: List of group policies that define the behavior of application group.
-
Constructor Details
-
ApplicationGroupProperties
public ApplicationGroupProperties()Creates an instance of ApplicationGroupProperties class.
-
-
Method Details
-
isEnabled
Get the isEnabled property: Determines if Application Group is allowed to create connection with namespace or not. Once the isEnabled is set to false, all the existing connections of application group gets dropped and no new connections will be allowed.- Returns:
- the isEnabled value.
-
withIsEnabled
Set the isEnabled property: Determines if Application Group is allowed to create connection with namespace or not. Once the isEnabled is set to false, all the existing connections of application group gets dropped and no new connections will be allowed.- Parameters:
isEnabled- the isEnabled value to set.- Returns:
- the ApplicationGroupProperties object itself.
-
clientAppGroupIdentifier
Get the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).- Returns:
- the clientAppGroupIdentifier value.
-
withClientAppGroupIdentifier
Set the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).- Parameters:
clientAppGroupIdentifier- the clientAppGroupIdentifier value to set.- Returns:
- the ApplicationGroupProperties object itself.
-
policies
Get the policies property: List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.- Returns:
- the policies value.
-
withPolicies
Set the policies property: List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic.- Parameters:
policies- the policies value to set.- Returns:
- the ApplicationGroupProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-