Class WorkloadNetworkPublicIpProperties
java.lang.Object
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPublicIpProperties
NSX Public IP Block Properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadNetworkPublicIpProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the displayName property: Display name of the Public IP Block.Get the numberOfPublicIPs property: Number of Public IPs requested.Get the provisioningState property: The provisioning state.Get the publicIpBlock property: CIDR Block of the Public IP Block.void
validate()
Validates the instance.withDisplayName
(String displayName) Set the displayName property: Display name of the Public IP Block.withNumberOfPublicIPs
(Long numberOfPublicIPs) Set the numberOfPublicIPs property: Number of Public IPs requested.
-
Constructor Details
-
WorkloadNetworkPublicIpProperties
public WorkloadNetworkPublicIpProperties()Creates an instance of WorkloadNetworkPublicIpProperties class.
-
-
Method Details
-
displayName
Get the displayName property: Display name of the Public IP Block.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name of the Public IP Block.- Parameters:
displayName
- the displayName value to set.- Returns:
- the WorkloadNetworkPublicIpProperties object itself.
-
numberOfPublicIPs
Get the numberOfPublicIPs property: Number of Public IPs requested.- Returns:
- the numberOfPublicIPs value.
-
withNumberOfPublicIPs
Set the numberOfPublicIPs property: Number of Public IPs requested.- Parameters:
numberOfPublicIPs
- the numberOfPublicIPs value to set.- Returns:
- the WorkloadNetworkPublicIpProperties object itself.
-
publicIpBlock
Get the publicIpBlock property: CIDR Block of the Public IP Block.- Returns:
- the publicIpBlock value.
-
provisioningState
Get the provisioningState property: The provisioning state.- Returns:
- the provisioningState value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-