Class BackendReconnectContract
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.apimanagement.models.BackendReconnectContract
-
public final class BackendReconnectContract extends com.azure.core.management.ProxyResource
Reconnect request parameters.
-
-
Constructor Summary
Constructors Constructor Description BackendReconnectContract()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Duration
after()
Get the after property: Duration in ISO8601 format after which reconnect will be initiated.void
validate()
Validates the instance.BackendReconnectContract
withAfter(Duration after)
Set the after property: Duration in ISO8601 format after which reconnect will be initiated.
-
-
-
Method Detail
-
after
public Duration after()
Get the after property: 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(Duration after)
Set the after property: 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-