Share via


BackendReconnectContract Class

  • java.lang.Object
    • com.microsoft.azure.ProxyResource
      • com.microsoft.azure.management.apimanagement.v2019_01_01.BackendReconnectContract

public class BackendReconnectContract
extends com.microsoft.azure.ProxyResource

Reconnect request parameters.

Constructor Summary

Constructor Description
BackendReconnectContract()

Method Summary

Modifier and Type Method and Description
org.joda.time.Period after()

Get duration in ISO8601 format after which reconnect will be initiated.

BackendReconnectContract withAfter(Period after)

Set duration in ISO8601 format after which reconnect will be initiated.

Methods inherited from com.microsoft.azure.ProxyResource

com.microsoft.azure.ProxyResource.id com.microsoft.azure.ProxyResource.name com.microsoft.azure.ProxyResource.type

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

BackendReconnectContract

public BackendReconnectContract()

Method Details

after

public Period after()

Get duration in ISO8601 format after which reconnect will be initiated. Minimum duration of the Reconnect is PT2M.

Returns:

the after value

withAfter

public BackendReconnectContract withAfter(Period after)

Set duration in ISO8601 format after which reconnect will be initiated. Minimum duration of the Reconnect is PT2M.

Parameters:

after - the after value to set

Returns:

the BackendReconnectContract object itself.

Applies to