public class InstanceFailoverGroupReadOnlyEndpoint extends Object
| Constructor and Description |
|---|
InstanceFailoverGroupReadOnlyEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
ReadOnlyEndpointFailoverPolicy |
failoverPolicy()
Get failover policy of the read-only endpoint for the failover group.
|
InstanceFailoverGroupReadOnlyEndpoint |
withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy)
Set failover policy of the read-only endpoint for the failover group.
|
public InstanceFailoverGroupReadOnlyEndpoint()
public ReadOnlyEndpointFailoverPolicy failoverPolicy()
public InstanceFailoverGroupReadOnlyEndpoint withFailoverPolicy(ReadOnlyEndpointFailoverPolicy failoverPolicy)
failoverPolicy - the failoverPolicy value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/