com.microsoft.azure.management.network.EffectiveNetworkSecurityGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. This package has been deprecated. A replacement package com.azure.resourcemanager:azure-resourcemanager-network is available as of 31-March-2022. We strongly encourage you to upgrade to continue receiving updates. See Migration Guide https://aka.ms/java-track2-migration-guide for guidance on upgrading. Refer to our deprecation policy https://azure.github.io/azure-sdk/policies_support.html for more details.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.network;
import com.microsoft.azure.SubResource;
import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Effective network security group.
*/
public class EffectiveNetworkSecurityGroup {
/**
* The ID of network security group that is applied.
*/
@JsonProperty(value = "networkSecurityGroup")
private SubResource networkSecurityGroup;
/**
* Associated resources.
*/
@JsonProperty(value = "association")
private EffectiveNetworkSecurityGroupAssociation association;
/**
* A collection of effective security rules.
*/
@JsonProperty(value = "effectiveSecurityRules")
private List effectiveSecurityRules;
/**
* Mapping of tags to list of IP Addresses included within the tag.
*/
@JsonProperty(value = "tagMap")
private Map> tagMap;
/**
* Get the networkSecurityGroup value.
*
* @return the networkSecurityGroup value
*/
public SubResource networkSecurityGroup() {
return this.networkSecurityGroup;
}
/**
* Set the networkSecurityGroup value.
*
* @param networkSecurityGroup the networkSecurityGroup value to set
* @return the EffectiveNetworkSecurityGroup object itself.
*/
public EffectiveNetworkSecurityGroup withNetworkSecurityGroup(SubResource networkSecurityGroup) {
this.networkSecurityGroup = networkSecurityGroup;
return this;
}
/**
* Get the association value.
*
* @return the association value
*/
public EffectiveNetworkSecurityGroupAssociation association() {
return this.association;
}
/**
* Set the association value.
*
* @param association the association value to set
* @return the EffectiveNetworkSecurityGroup object itself.
*/
public EffectiveNetworkSecurityGroup withAssociation(EffectiveNetworkSecurityGroupAssociation association) {
this.association = association;
return this;
}
/**
* Get the effectiveSecurityRules value.
*
* @return the effectiveSecurityRules value
*/
public List effectiveSecurityRules() {
return this.effectiveSecurityRules;
}
/**
* Set the effectiveSecurityRules value.
*
* @param effectiveSecurityRules the effectiveSecurityRules value to set
* @return the EffectiveNetworkSecurityGroup object itself.
*/
public EffectiveNetworkSecurityGroup withEffectiveSecurityRules(List effectiveSecurityRules) {
this.effectiveSecurityRules = effectiveSecurityRules;
return this;
}
/**
* Get the tagMap value.
*
* @return the tagMap value
*/
public Map> tagMap() {
return this.tagMap;
}
/**
* Set the tagMap value.
*
* @param tagMap the tagMap value to set
* @return the EffectiveNetworkSecurityGroup object itself.
*/
public EffectiveNetworkSecurityGroup withTagMap(Map> tagMap) {
this.tagMap = tagMap;
return this;
}
}