SubnetResourceSettings Class
- java.
lang. Object - com.
microsoft. azure. management. resourcemover. v2021_01_01.SubnetResourceSettings
- com.
public class SubnetResourceSettings
Defines the virtual network subnets resource settings.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| SubnetResourceSettings() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
addressPrefix()
Get gets or sets address prefix for the subnet. |
| java.lang.String |
name()
Get gets or sets the Subnet name. |
|
Nsg |
networkSecurityGroup()
Get the network |
|
Subnet |
withAddressPrefix(String addressPrefix)
Set gets or sets address prefix for the subnet. |
|
Subnet |
withName(String name)
Set gets or sets the Subnet name. |
|
Subnet |
withNetworkSecurityGroup(NsgReference networkSecurityGroup)
Set the network |
Methods inherited from java.lang.Object
Constructor Details
SubnetResourceSettings
public SubnetResourceSettings()
Method Details
addressPrefix
public String addressPrefix()
Get gets or sets address prefix for the subnet.
Returns:
name
public String name()
Get gets or sets the Subnet name.
Returns:
networkSecurityGroup
public NsgReference networkSecurityGroup()
Get the networkSecurityGroup value.
Returns:
withAddressPrefix
public SubnetResourceSettings withAddressPrefix(String addressPrefix)
Set gets or sets address prefix for the subnet.
Parameters:
Returns:
withName
public SubnetResourceSettings withName(String name)
Set gets or sets the Subnet name.
Parameters:
Returns:
withNetworkSecurityGroup
public SubnetResourceSettings withNetworkSecurityGroup(NsgReference networkSecurityGroup)
Set the networkSecurityGroup value.
Parameters:
Returns: