Class WorkloadNetworkPublicIpProperties


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

      • WorkloadNetworkPublicIpProperties

        public WorkloadNetworkPublicIpProperties()
    • Method Detail

      • 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.
      • validate

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