RoutingPreference Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. RoutingPreference
- com.
Implements
public final class RoutingPreference
implements JsonSerializable<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 | Description |
---|---|
Routing |
Creates an instance of Routing |
Modifier and Type | Method and Description |
---|---|
static
Routing |
from Reads an instance of Routing |
Boolean |
publish Get the publish |
Boolean |
publish Get the publish |
Routing |
routing Get the routing |
Json |
to |
void |
validate()
Validates the instance. |
Routing |
with Set the publish |
Routing |
with Set the publish |
Routing |
with Set the routing |
Methods inherited from java.lang.Object
RoutingPreference
public RoutingPreference()
Creates an instance of RoutingPreference class.
fromJson
public static RoutingPreference fromJson(JsonReader jsonReader)
Reads an instance of RoutingPreference from the JsonReader.
Parameters:
Returns:
Throws:
publishInternetEndpoints
public Boolean publishInternetEndpoints()
Get the publishInternetEndpoints property: A boolean flag which indicates whether internet routing storage endpoints are to be published.
Returns:
publishMicrosoftEndpoints
public Boolean publishMicrosoftEndpoints()
Get the publishMicrosoftEndpoints property: A boolean flag which indicates whether microsoft routing storage endpoints are to be published.
Returns:
routingChoice
public RoutingChoice routingChoice()
Get the routingChoice property: Routing Choice defines the kind of network routing opted by the user.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
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:
Returns:
withRoutingChoice
public RoutingPreference withRoutingChoice(RoutingChoice routingChoice)
Set the routingChoice property: Routing Choice defines the kind of network routing opted by the user.
Parameters:
Returns: