@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableMonthlySchedule extends Object implements MonthlySchedule
MonthlySchedule
.
Use the builder to create immutable instances:
ImmutableMonthlySchedule.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableMonthlySchedule.Builder
Builds instances of type
ImmutableMonthlySchedule . |
Modifier and Type | Method and Description |
---|---|
static ImmutableMonthlySchedule.Builder |
builder()
Creates a builder for
ImmutableMonthlySchedule . |
static ImmutableMonthlySchedule |
copyOf(MonthlySchedule instance)
Creates an immutable copy of a
MonthlySchedule value. |
Day |
day()
Specifies the day of the week (such as 'MONDAY') to start the
VCloudProtectionJob Run.
|
DayCount |
dayCount()
Specifies the day count in the month (such as 'THIRD') to start the
VCloudProtectionJob Run.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableMonthlySchedule that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
day , dayCount . |
String |
toString()
Prints the immutable value
MonthlySchedule with attribute values. |
ImmutableMonthlySchedule |
withDay(Day value)
Copy the current immutable object by setting a value for the
day attribute. |
ImmutableMonthlySchedule |
withDayCount(DayCount value)
Copy the current immutable object by setting a value for the
dayCount attribute. |
public Day day()
day
in interface MonthlySchedule
public DayCount dayCount()
dayCount
in interface MonthlySchedule
public final ImmutableMonthlySchedule withDay(Day value)
day
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for daythis
objectpublic final ImmutableMonthlySchedule withDayCount(DayCount value)
dayCount
attribute.
A value equality check is used to prevent copying of the same value by returning this
.value
- A new value for dayCountthis
objectpublic boolean equals(@Nullable Object another)
ImmutableMonthlySchedule
that have equal attribute values.public int hashCode()
day
, dayCount
.public String toString()
MonthlySchedule
with attribute values.public static ImmutableMonthlySchedule copyOf(MonthlySchedule instance)
MonthlySchedule
value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance
- The instance to copypublic static ImmutableMonthlySchedule.Builder builder()
ImmutableMonthlySchedule
.
ImmutableMonthlySchedule.builder() .day(com.iland.cohesity.iaas.backups.policies.api.enums.Day) // requiredday
.dayCount(com.iland.cohesity.iaas.backups.policies.api.enums.DayCount) // requireddayCount
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.