Class WorkloadNetworkPublicIpInner


  • public final class WorkloadNetworkPublicIpInner
    extends com.azure.core.management.ProxyResource
    NSX Public IP Block.
    • Constructor Detail

      • WorkloadNetworkPublicIpInner

        public WorkloadNetworkPublicIpInner()
    • Method Detail

      • displayName

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

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

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

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

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

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.