Class WorkloadNetworkPublicIpProperties

java.lang.Object
com.azure.resourcemanager.avs.fluent.models.WorkloadNetworkPublicIpProperties

public final class WorkloadNetworkPublicIpProperties extends Object
NSX Public IP Block Properties.
  • Constructor Details

    • WorkloadNetworkPublicIpProperties

      public WorkloadNetworkPublicIpProperties()
      Creates an instance of WorkloadNetworkPublicIpProperties class.
  • Method Details

    • displayName

      public String displayName()
      Get the displayName property: Display name of the Public IP Block.
      Returns:
      the displayName value.
    • withDisplayName

      public WorkloadNetworkPublicIpProperties withDisplayName(String displayName)
      Set the displayName property: Display name of the Public IP Block.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the WorkloadNetworkPublicIpProperties object itself.
    • numberOfPublicIPs

      public Long numberOfPublicIPs()
      Get the numberOfPublicIPs property: Number of Public IPs requested.
      Returns:
      the numberOfPublicIPs value.
    • withNumberOfPublicIPs

      public WorkloadNetworkPublicIpProperties withNumberOfPublicIPs(Long numberOfPublicIPs)
      Set the numberOfPublicIPs property: Number of Public IPs requested.
      Parameters:
      numberOfPublicIPs - the numberOfPublicIPs value to set.
      Returns:
      the WorkloadNetworkPublicIpProperties object itself.
    • publicIpBlock

      public String publicIpBlock()
      Get the publicIpBlock property: CIDR Block of the Public IP Block.
      Returns:
      the publicIpBlock value.
    • provisioningState

      public WorkloadNetworkPublicIpProvisioningState 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.