Class SkipIfConnectivityBroken.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudmigrations.model.SkipIfConnectivityBroken.Builder
-
- Enclosing class:
- SkipIfConnectivityBroken
public static class SkipIfConnectivityBroken.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SkipIfConnectivityBrokenbuild()SkipIfConnectivityBroken.Buildercopy(SkipIfConnectivityBroken model)SkipIfConnectivityBroken.BuilderisEnabled(Boolean isEnabled)If enabled, we will not fence a host in case more than a configurable percentage of hosts in the cluster lost connectivity as well.SkipIfConnectivityBroken.Builderthreshold(Integer threshold)Threshold for connectivity testing.
-
-
-
Method Detail
-
isEnabled
public SkipIfConnectivityBroken.Builder isEnabled(Boolean isEnabled)
If enabled, we will not fence a host in case more than a configurable percentage of hosts in the cluster lost connectivity as well.- Parameters:
isEnabled- the value to set- Returns:
- this builder
-
threshold
public SkipIfConnectivityBroken.Builder threshold(Integer threshold)
Threshold for connectivity testing.- Parameters:
threshold- the value to set- Returns:
- this builder
-
build
public SkipIfConnectivityBroken build()
-
copy
public SkipIfConnectivityBroken.Builder copy(SkipIfConnectivityBroken model)
-
-