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 Summary
Constructor | Description |
---|---|
RoutingPreference() |
Creates an instance of Routing |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Routing |
fromJson(JsonReader jsonReader)
Reads an instance of Routing |
Boolean |
publishInternetEndpoints()
Get the publish |
Boolean |
publishMicrosoftEndpoints()
Get the publish |
Routing |
routingChoice()
Get the routing |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Routing |
withPublishInternetEndpoints(Boolean publishInternetEndpoints)
Set the publish |
Routing |
withPublishMicrosoftEndpoints(Boolean publishMicrosoftEndpoints)
Set the publish |
Routing |
withRoutingChoice(RoutingChoice routingChoice)
Set the routing |
Methods inherited from java.lang.Object
Constructor Details
RoutingPreference
public RoutingPreference()
Creates an instance of RoutingPreference class.
Method Details
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:
Applies to
Azure SDK for Java