Class ImmutableO365CopyJobSchedulePolicyResponse.Builder
java.lang.Object
com.iland.core.web.rest.response.vbo.ImmutableO365CopyJobSchedulePolicyResponse.Builder
- Enclosing class:
- ImmutableO365CopyJobSchedulePolicyResponse
@Generated(from="O365CopyJobSchedulePolicyResponse",
generator="Immutables")
@NotThreadSafe
public static final class ImmutableO365CopyJobSchedulePolicyResponse.Builder
extends Object
Builds instances of type
ImmutableO365CopyJobSchedulePolicyResponse.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
-
Method Summary
Modifier and TypeMethodDescriptionbackupCopyWindowEnabled(Boolean backupCopyWindowEnabled) Initializes the value for thebackupCopyWindowEnabledattribute.backupWindow(List<Boolean> backupWindow) Initializes the optional valuebackupWindowto backupWindow.backupWindow(Optional<? extends List<Boolean>> backupWindow) Initializes the optional valuebackupWindowto backupWindow.build()Builds a newImmutableO365CopyJobSchedulePolicyResponse.Initializes the optional valuedailyTimeto dailyTime.Initializes the optional valuedailyTimeto dailyTime.Initializes the optional valuedailyTypeto dailyType.Initializes the optional valuedailyTypeto dailyType.from(O365CopyJobSchedulePolicyResponse instance) Fill a builder with attribute values from the providedO365CopyJobSchedulePolicyResponseinstance.minuteOffset(int minuteOffset) Initializes the optional valueminuteOffsetto minuteOffset.minuteOffset(Optional<Integer> minuteOffset) Initializes the optional valueminuteOffsetto minuteOffset.periodicallyEvery(String periodicallyEvery) Initializes the optional valueperiodicallyEveryto periodicallyEvery.periodicallyEvery(Optional<String> periodicallyEvery) Initializes the optional valueperiodicallyEveryto periodicallyEvery.Initializes the value for thetypeattribute.
-
Method Details
-
from
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder from(O365CopyJobSchedulePolicyResponse instance) Fill a builder with attribute values from the providedO365CopyJobSchedulePolicyResponseinstance. Regular attribute values will be replaced with those from the given instance. Absent optional values will not replace present values.- Parameters:
instance- The instance from which to copy values- Returns:
thisbuilder for use in a chained invocation
-
type
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder type(String type) Initializes the value for thetypeattribute.- Parameters:
type- The value for type- Returns:
thisbuilder for use in a chained invocation
-
periodicallyEvery
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder periodicallyEvery(String periodicallyEvery) Initializes the optional valueperiodicallyEveryto periodicallyEvery.- Parameters:
periodicallyEvery- The value for periodicallyEvery- Returns:
thisbuilder for chained invocation
-
periodicallyEvery
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder periodicallyEvery(Optional<String> periodicallyEvery) Initializes the optional valueperiodicallyEveryto periodicallyEvery.- Parameters:
periodicallyEvery- The value for periodicallyEvery- Returns:
thisbuilder for use in a chained invocation
-
dailyType
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder dailyType(String dailyType) Initializes the optional valuedailyTypeto dailyType.- Parameters:
dailyType- The value for dailyType- Returns:
thisbuilder for chained invocation
-
dailyType
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder dailyType(Optional<String> dailyType) Initializes the optional valuedailyTypeto dailyType.- Parameters:
dailyType- The value for dailyType- Returns:
thisbuilder for use in a chained invocation
-
dailyTime
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder dailyTime(String dailyTime) Initializes the optional valuedailyTimeto dailyTime.- Parameters:
dailyTime- The value for dailyTime- Returns:
thisbuilder for chained invocation
-
dailyTime
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder dailyTime(Optional<String> dailyTime) Initializes the optional valuedailyTimeto dailyTime.- Parameters:
dailyTime- The value for dailyTime- Returns:
thisbuilder for use in a chained invocation
-
backupCopyWindowEnabled
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder backupCopyWindowEnabled(Boolean backupCopyWindowEnabled) Initializes the value for thebackupCopyWindowEnabledattribute.- Parameters:
backupCopyWindowEnabled- The value for backupCopyWindowEnabled- Returns:
thisbuilder for use in a chained invocation
-
backupWindow
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder backupWindow(List<Boolean> backupWindow) Initializes the optional valuebackupWindowto backupWindow.- Parameters:
backupWindow- The value for backupWindow- Returns:
thisbuilder for chained invocation
-
backupWindow
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder backupWindow(Optional<? extends List<Boolean>> backupWindow) Initializes the optional valuebackupWindowto backupWindow.- Parameters:
backupWindow- The value for backupWindow- Returns:
thisbuilder for use in a chained invocation
-
minuteOffset
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder minuteOffset(int minuteOffset) Initializes the optional valueminuteOffsetto minuteOffset.- Parameters:
minuteOffset- The value for minuteOffset- Returns:
thisbuilder for chained invocation
-
minuteOffset
@CanIgnoreReturnValue public final ImmutableO365CopyJobSchedulePolicyResponse.Builder minuteOffset(Optional<Integer> minuteOffset) Initializes the optional valueminuteOffsetto minuteOffset.- Parameters:
minuteOffset- The value for minuteOffset- Returns:
thisbuilder for use in a chained invocation
-
build
Builds a newImmutableO365CopyJobSchedulePolicyResponse.- Returns:
- An immutable instance of O365CopyJobSchedulePolicyResponse
- Throws:
IllegalStateException- if any required attributes are missing
-