Class RoutingPreference


  • public final class RoutingPreference
    extends Object
    Routing preference defines the type of network, either microsoft or internet routing to be used to deliver the user data, the default option is microsoft routing.
    • Constructor Detail

      • RoutingPreference

        public RoutingPreference()
    • Method Detail

      • routingChoice

        public RoutingChoice routingChoice()
        Get the routingChoice property: Routing Choice defines the kind of network routing opted by the user.
        Returns:
        the routingChoice value.
      • withRoutingChoice

        public RoutingPreference withRoutingChoice​(RoutingChoice routingChoice)
        Set the routingChoice property: Routing Choice defines the kind of network routing opted by the user.
        Parameters:
        routingChoice - the routingChoice value to set.
        Returns:
        the RoutingPreference object itself.
      • publishMicrosoftEndpoints

        public Boolean publishMicrosoftEndpoints()
        Get the publishMicrosoftEndpoints property: A boolean flag which indicates whether microsoft routing storage endpoints are to be published.
        Returns:
        the publishMicrosoftEndpoints value.
      • withPublishMicrosoftEndpoints

        public RoutingPreference withPublishMicrosoftEndpoints​(Boolean publishMicrosoftEndpoints)
        Set the publishMicrosoftEndpoints property: A boolean flag which indicates whether microsoft routing storage endpoints are to be published.
        Parameters:
        publishMicrosoftEndpoints - the publishMicrosoftEndpoints value to set.
        Returns:
        the RoutingPreference object itself.
      • publishInternetEndpoints

        public Boolean publishInternetEndpoints()
        Get the publishInternetEndpoints property: A boolean flag which indicates whether internet routing storage endpoints are to be published.
        Returns:
        the publishInternetEndpoints value.
      • withPublishInternetEndpoints

        public RoutingPreference withPublishInternetEndpoints​(Boolean publishInternetEndpoints)
        Set the publishInternetEndpoints property: A boolean flag which indicates whether internet routing storage endpoints are to be published.
        Parameters:
        publishInternetEndpoints - the publishInternetEndpoints value to set.
        Returns:
        the RoutingPreference object itself.
      • validate

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