Class BastionHostIpConfigurationPropertiesFormat
- java.lang.Object
-
- com.azure.resourcemanager.network.fluent.models.BastionHostIpConfigurationPropertiesFormat
-
public final class BastionHostIpConfigurationPropertiesFormat extends Object
Properties of IP configuration of an Bastion Host.
-
-
Constructor Summary
Constructors Constructor Description BastionHostIpConfigurationPropertiesFormat()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpAllocationMethodprivateIpAllocationMethod()Get the privateIpAllocationMethod property: Private IP allocation method.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the bastion host IP configuration resource.com.azure.core.management.SubResourcepublicIpAddress()Get the publicIpAddress property: Reference of the PublicIP resource.com.azure.core.management.SubResourcesubnet()Get the subnet property: Reference of the subnet resource.voidvalidate()Validates the instance.BastionHostIpConfigurationPropertiesFormatwithPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)Set the privateIpAllocationMethod property: Private IP allocation method.BastionHostIpConfigurationPropertiesFormatwithPublicIpAddress(com.azure.core.management.SubResource publicIpAddress)Set the publicIpAddress property: Reference of the PublicIP resource.BastionHostIpConfigurationPropertiesFormatwithSubnet(com.azure.core.management.SubResource subnet)Set the subnet property: Reference of the subnet resource.
-
-
-
Method Detail
-
subnet
public com.azure.core.management.SubResource subnet()
Get the subnet property: Reference of the subnet resource.- Returns:
- the subnet value.
-
withSubnet
public BastionHostIpConfigurationPropertiesFormat withSubnet(com.azure.core.management.SubResource subnet)
Set the subnet property: Reference of the subnet resource.- Parameters:
subnet- the subnet value to set.- Returns:
- the BastionHostIpConfigurationPropertiesFormat object itself.
-
publicIpAddress
public com.azure.core.management.SubResource publicIpAddress()
Get the publicIpAddress property: Reference of the PublicIP resource.- Returns:
- the publicIpAddress value.
-
withPublicIpAddress
public BastionHostIpConfigurationPropertiesFormat withPublicIpAddress(com.azure.core.management.SubResource publicIpAddress)
Set the publicIpAddress property: Reference of the PublicIP resource.- Parameters:
publicIpAddress- the publicIpAddress value to set.- Returns:
- the BastionHostIpConfigurationPropertiesFormat object itself.
-
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the bastion host IP configuration resource.- Returns:
- the provisioningState value.
-
privateIpAllocationMethod
public IpAllocationMethod privateIpAllocationMethod()
Get the privateIpAllocationMethod property: Private IP allocation method.- Returns:
- the privateIpAllocationMethod value.
-
withPrivateIpAllocationMethod
public BastionHostIpConfigurationPropertiesFormat withPrivateIpAllocationMethod(IpAllocationMethod privateIpAllocationMethod)
Set the privateIpAllocationMethod property: Private IP allocation method.- Parameters:
privateIpAllocationMethod- the privateIpAllocationMethod value to set.- Returns:
- the BastionHostIpConfigurationPropertiesFormat object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-