DualStackEndpointPreference Class
- java.
lang. Object - com.
azure. resourcemanager. storage. models. DualStackEndpointPreference
- com.
Implements
public final class DualStackEndpointPreference
implements JsonSerializable<DualStackEndpointPreference>
Dual-stack endpoint preference defines whether IPv6 endpoints are going to be published.
Constructor Summary
| Constructor | Description |
|---|---|
| DualStackEndpointPreference() |
Creates an instance of Dual |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Dual |
fromJson(JsonReader jsonReader)
Reads an instance of Dual |
| Boolean |
publishIpv6Endpoint()
Get the publish |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Dual |
withPublishIpv6Endpoint(Boolean publishIpv6Endpoint)
Set the publish |
Methods inherited from java.lang.Object
Constructor Details
DualStackEndpointPreference
public DualStackEndpointPreference()
Creates an instance of DualStackEndpointPreference class.
Method Details
fromJson
public static DualStackEndpointPreference fromJson(JsonReader jsonReader)
Reads an instance of DualStackEndpointPreference from the JsonReader.
Parameters:
Returns:
Throws:
publishIpv6Endpoint
public Boolean publishIpv6Endpoint()
Get the publishIpv6Endpoint property: A boolean flag which indicates whether IPv6 storage endpoints are to be published.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPublishIpv6Endpoint
public DualStackEndpointPreference withPublishIpv6Endpoint(Boolean publishIpv6Endpoint)
Set the publishIpv6Endpoint property: A boolean flag which indicates whether IPv6 storage endpoints are to be published.
Parameters:
Returns: