Class RoutingPreference
java.lang.Object
com.azure.resourcemanager.storage.models.RoutingPreference
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 -
Method Summary
Modifier and TypeMethodDescriptionGet the publishInternetEndpoints property: A boolean flag which indicates whether internet routing storage endpoints are to be published.Get the publishMicrosoftEndpoints property: A boolean flag which indicates whether microsoft routing storage endpoints are to be published.Get the routingChoice property: Routing Choice defines the kind of network routing opted by the user.voidvalidate()Validates the instance.withPublishInternetEndpoints(Boolean publishInternetEndpoints) Set the publishInternetEndpoints property: A boolean flag which indicates whether internet routing storage endpoints are to be published.withPublishMicrosoftEndpoints(Boolean publishMicrosoftEndpoints) Set the publishMicrosoftEndpoints property: A boolean flag which indicates whether microsoft routing storage endpoints are to be published.withRoutingChoice(RoutingChoice routingChoice) Set the routingChoice property: Routing Choice defines the kind of network routing opted by the user.
-
Constructor Details
-
RoutingPreference
public RoutingPreference()
-
-
Method Details
-
routingChoice
Get the routingChoice property: Routing Choice defines the kind of network routing opted by the user.- Returns:
- the routingChoice value.
-
withRoutingChoice
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
Get the publishMicrosoftEndpoints property: A boolean flag which indicates whether microsoft routing storage endpoints are to be published.- Returns:
- the publishMicrosoftEndpoints value.
-
withPublishMicrosoftEndpoints
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
Get the publishInternetEndpoints property: A boolean flag which indicates whether internet routing storage endpoints are to be published.- Returns:
- the publishInternetEndpoints value.
-
withPublishInternetEndpoints
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.
-