ApplicationGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. eventhubs. fluent. models. ApplicationGroupInner
- com.
- com.
public final class ApplicationGroupInner
extends ProxyResource
The Application Group object.
Constructor Summary
Constructor | Description |
---|---|
ApplicationGroupInner() |
Creates an instance of Application |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
clientAppGroupIdentifier()
Get the client |
static
Application |
fromJson(JsonReader jsonReader)
Reads an instance of Application |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Boolean |
isEnabled()
Get the is |
String |
location()
Get the location property: The geo-location where the resource lives. |
String |
name()
Get the name property: The name of the resource. |
List<Application |
policies()
Get the policies property: List of group policies that define the behavior of application group. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Application |
withClientAppGroupIdentifier(String clientAppGroupIdentifier)
Set the client |
Application |
withIsEnabled(Boolean isEnabled)
Set the is |
Application |
withPolicies(List<ApplicationGroupPolicy> policies)
Set the policies property: List of group policies that define the behavior of application group. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
ApplicationGroupInner
public ApplicationGroupInner()
Creates an instance of ApplicationGroupInner class.
Method Details
clientAppGroupIdentifier
public String clientAppGroupIdentifier()
Get the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).
Returns:
fromJson
public static ApplicationGroupInner fromJson(JsonReader jsonReader)
Reads an instance of ApplicationGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ApplicationGroupInner.id()Returns:
isEnabled
public Boolean 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:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ApplicationGroupInner.name()Returns:
policies
public List
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:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ApplicationGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ApplicationGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
withClientAppGroupIdentifier
public ApplicationGroupInner withClientAppGroupIdentifier(String clientAppGroupIdentifier)
Set the clientAppGroupIdentifier property: The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).
Parameters:
Returns:
withIsEnabled
public ApplicationGroupInner withIsEnabled(Boolean isEnabled)
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:
Returns:
withPolicies
public ApplicationGroupInner withPolicies(List
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:
Returns:
Applies to
Azure SDK for Java