Class SakRekeyPatchSakRekeyTimerModePatch.Builder
- java.lang.Object
-
- com.ibm.cloud.networking.direct_link.v1.model.SakRekeyPatchSakRekeyTimerModePatch.Builder
-
- Enclosing class:
- SakRekeyPatchSakRekeyTimerModePatch
public static class SakRekeyPatchSakRekeyTimerModePatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(SakRekeyPatch sakRekeyPatchSakRekeyTimerModePatch)Instantiates a new Builder from an existing SakRekeyPatchSakRekeyTimerModePatch instance.Builder(Long interval, String mode)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SakRekeyPatchSakRekeyTimerModePatchbuild()Builds a SakRekeyPatchSakRekeyTimerModePatch.SakRekeyPatchSakRekeyTimerModePatch.Builderinterval(long interval)Set the interval.SakRekeyPatchSakRekeyTimerModePatch.Buildermode(String mode)Set the mode.
-
-
-
Constructor Detail
-
Builder
public Builder(SakRekeyPatch sakRekeyPatchSakRekeyTimerModePatch)
Instantiates a new Builder from an existing SakRekeyPatchSakRekeyTimerModePatch instance.- Parameters:
sakRekeyPatchSakRekeyTimerModePatch- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
-
Method Detail
-
build
public SakRekeyPatchSakRekeyTimerModePatch build()
Builds a SakRekeyPatchSakRekeyTimerModePatch.- Returns:
- the new SakRekeyPatchSakRekeyTimerModePatch instance
-
interval
public SakRekeyPatchSakRekeyTimerModePatch.Builder interval(long interval)
Set the interval.- Parameters:
interval- the interval- Returns:
- the SakRekeyPatchSakRekeyTimerModePatch builder
-
mode
public SakRekeyPatchSakRekeyTimerModePatch.Builder mode(String mode)
Set the mode.- Parameters:
mode- the mode- Returns:
- the SakRekeyPatchSakRekeyTimerModePatch builder
-
-