Class RoutingPreference
- java.lang.Object
-
- com.azure.resourcemanager.storage.models.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 Summary
Constructors Constructor Description RoutingPreference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanpublishInternetEndpoints()Get the publishInternetEndpoints property: A boolean flag which indicates whether internet routing storage endpoints are to be published.BooleanpublishMicrosoftEndpoints()Get the publishMicrosoftEndpoints property: A boolean flag which indicates whether microsoft routing storage endpoints are to be published.RoutingChoiceroutingChoice()Get the routingChoice property: Routing Choice defines the kind of network routing opted by the user.voidvalidate()Validates the instance.RoutingPreferencewithPublishInternetEndpoints(Boolean publishInternetEndpoints)Set the publishInternetEndpoints property: A boolean flag which indicates whether internet routing storage endpoints are to be published.RoutingPreferencewithPublishMicrosoftEndpoints(Boolean publishMicrosoftEndpoints)Set the publishMicrosoftEndpoints property: A boolean flag which indicates whether microsoft routing storage endpoints are to be published.RoutingPreferencewithRoutingChoice(RoutingChoice routingChoice)Set the routingChoice property: Routing Choice defines the kind of network routing opted by the user.
-
-
-
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.
-
-