EffectiveBaseSecurityAdminRule Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. EffectiveBaseSecurityAdminRule
- com.
Implements
public class EffectiveBaseSecurityAdminRule
implements JsonSerializable<EffectiveBaseSecurityAdminRule>
Network base admin rule.
Constructor Summary
Constructor | Description |
---|---|
EffectiveBaseSecurityAdminRule() |
Creates an instance of Effective |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
configurationDescription()
Get the configuration |
static
Effective |
fromJson(JsonReader jsonReader)
Reads an instance of Effective |
String |
id()
Get the id property: Resource ID. |
Effective |
kind()
Get the kind property: Whether the rule is custom or default. |
List<Network |
ruleCollectionAppliesToGroups()
Get the rule |
String |
ruleCollectionDescription()
Get the rule |
List<Configuration |
ruleGroups()
Get the rule |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Effective |
withConfigurationDescription(String configurationDescription)
Set the configuration |
Effective |
withId(String id)
Set the id property: Resource ID. |
Effective |
withRuleCollectionAppliesToGroups(List<NetworkManagerSecurityGroupItem> ruleCollectionAppliesToGroups)
Set the rule |
Effective |
withRuleCollectionDescription(String ruleCollectionDescription)
Set the rule |
Effective |
withRuleGroups(List<ConfigurationGroup> ruleGroups)
Set the rule |
Methods inherited from java.lang.Object
Constructor Details
EffectiveBaseSecurityAdminRule
public EffectiveBaseSecurityAdminRule()
Creates an instance of EffectiveBaseSecurityAdminRule class.
Method Details
configurationDescription
public String configurationDescription()
Get the configurationDescription property: A description of the security admin configuration.
Returns:
fromJson
public static EffectiveBaseSecurityAdminRule fromJson(JsonReader jsonReader)
Reads an instance of EffectiveBaseSecurityAdminRule from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Returns:
kind
public EffectiveAdminRuleKind kind()
Get the kind property: Whether the rule is custom or default.
Returns:
ruleCollectionAppliesToGroups
public List
Get the ruleCollectionAppliesToGroups property: Groups for rule collection.
Returns:
ruleCollectionDescription
public String ruleCollectionDescription()
Get the ruleCollectionDescription property: A description of the rule collection.
Returns:
ruleGroups
public List
Get the ruleGroups property: Effective configuration groups.
Returns:
toJson
validate
public void validate()
Validates the instance.
withConfigurationDescription
public EffectiveBaseSecurityAdminRule withConfigurationDescription(String configurationDescription)
Set the configurationDescription property: A description of the security admin configuration.
Parameters:
Returns:
withId
public EffectiveBaseSecurityAdminRule withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withRuleCollectionAppliesToGroups
public EffectiveBaseSecurityAdminRule withRuleCollectionAppliesToGroups(List
Set the ruleCollectionAppliesToGroups property: Groups for rule collection.
Parameters:
Returns:
withRuleCollectionDescription
public EffectiveBaseSecurityAdminRule withRuleCollectionDescription(String ruleCollectionDescription)
Set the ruleCollectionDescription property: A description of the rule collection.
Parameters:
Returns:
withRuleGroups
public EffectiveBaseSecurityAdminRule withRuleGroups(List
Set the ruleGroups property: Effective configuration groups.
Parameters:
Returns:
Applies to
Azure SDK for Java