@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableListBackupGroupRunsParams extends Object implements ListBackupGroupRunsParams
ListBackupGroupRunsParams
.
Use the builder to create immutable instances:
ImmutableListBackupGroupRunsParams.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableListBackupGroupRunsParams.Builder
Builds instances of type
ImmutableListBackupGroupRunsParams . |
Modifier and Type | Method and Description |
---|---|
Optional<BackupGroupUid> |
backupGroupUid()
If specified, only runs associated with the specified backup group will be
returned.
|
static ImmutableListBackupGroupRunsParams.Builder |
builder()
Creates a builder for
ImmutableListBackupGroupRunsParams . |
static ImmutableListBackupGroupRunsParams |
copyOf(ListBackupGroupRunsParams instance)
Creates an immutable copy of a
ListBackupGroupRunsParams value. |
Optional<Instant> |
endTime()
If specified, only returns that started prior to the specified time will be
returned.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableListBackupGroupRunsParams that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
backupGroupUid , startTime , endTime , limit , vmUuid . |
Optional<Long> |
limit()
If specified, the number specified will be the maximum number of runs
returned.
|
Optional<Instant> |
startTime()
If specified, only returns that started after the specified time will be
returned.
|
String |
toString()
Prints the immutable value
ListBackupGroupRunsParams with attribute values. |
Optional<VmUuid> |
vmUuid()
If specified, only runs that reference the specified VM will be returned.
|
ImmutableListBackupGroupRunsParams |
withBackupGroupUid(BackupGroupUid value)
Copy the current immutable object by setting a present value for the optional
backupGroupUid attribute. |
ImmutableListBackupGroupRunsParams |
withBackupGroupUid(Optional<? extends BackupGroupUid> optional)
Copy the current immutable object by setting an optional value for the
backupGroupUid attribute. |
ImmutableListBackupGroupRunsParams |
withEndTime(Instant value)
Copy the current immutable object by setting a present value for the optional
endTime attribute. |
ImmutableListBackupGroupRunsParams |
withEndTime(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
endTime attribute. |
ImmutableListBackupGroupRunsParams |
withLimit(long value)
Copy the current immutable object by setting a present value for the optional
limit attribute. |
ImmutableListBackupGroupRunsParams |
withLimit(Optional<Long> optional)
Copy the current immutable object by setting an optional value for the
limit attribute. |
ImmutableListBackupGroupRunsParams |
withStartTime(Instant value)
Copy the current immutable object by setting a present value for the optional
startTime attribute. |
ImmutableListBackupGroupRunsParams |
withStartTime(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
startTime attribute. |
ImmutableListBackupGroupRunsParams |
withVmUuid(Optional<? extends VmUuid> optional)
Copy the current immutable object by setting an optional value for the
vmUuid attribute. |
ImmutableListBackupGroupRunsParams |
withVmUuid(VmUuid value)
Copy the current immutable object by setting a present value for the optional
vmUuid attribute. |
public Optional<BackupGroupUid> backupGroupUid()
backupGroupUid
in interface ListBackupGroupRunsParams
public Optional<Instant> startTime()
startTime
in interface ListBackupGroupRunsParams
public Optional<Instant> endTime()
endTime
in interface ListBackupGroupRunsParams
public Optional<Long> limit()
limit
in interface ListBackupGroupRunsParams
public Optional<VmUuid> vmUuid()
vmUuid
in interface ListBackupGroupRunsParams
public final ImmutableListBackupGroupRunsParams withBackupGroupUid(BackupGroupUid value)
backupGroupUid
attribute.value
- The value for backupGroupUidthis
objectpublic final ImmutableListBackupGroupRunsParams withBackupGroupUid(Optional<? extends BackupGroupUid> optional)
backupGroupUid
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for backupGroupUidthis
objectpublic final ImmutableListBackupGroupRunsParams withStartTime(Instant value)
startTime
attribute.value
- The value for startTimethis
objectpublic final ImmutableListBackupGroupRunsParams withStartTime(Optional<? extends Instant> optional)
startTime
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for startTimethis
objectpublic final ImmutableListBackupGroupRunsParams withEndTime(Instant value)
endTime
attribute.value
- The value for endTimethis
objectpublic final ImmutableListBackupGroupRunsParams withEndTime(Optional<? extends Instant> optional)
endTime
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for endTimethis
objectpublic final ImmutableListBackupGroupRunsParams withLimit(long value)
limit
attribute.value
- The value for limitthis
objectpublic final ImmutableListBackupGroupRunsParams withLimit(Optional<Long> optional)
limit
attribute.
An equality check is used on inner nullable value to prevent copying of the same value by returning this
.optional
- A value for limitthis
objectpublic final ImmutableListBackupGroupRunsParams withVmUuid(VmUuid value)
vmUuid
attribute.value
- The value for vmUuidthis
objectpublic final ImmutableListBackupGroupRunsParams withVmUuid(Optional<? extends VmUuid> optional)
vmUuid
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for vmUuidthis
objectpublic boolean equals(@Nullable Object another)
ImmutableListBackupGroupRunsParams
that have equal attribute values.public int hashCode()
backupGroupUid
, startTime
, endTime
, limit
, vmUuid
.public String toString()
ListBackupGroupRunsParams
with attribute values.public static ImmutableListBackupGroupRunsParams copyOf(ListBackupGroupRunsParams instance)
ListBackupGroupRunsParams
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 ImmutableListBackupGroupRunsParams.Builder builder()
ImmutableListBackupGroupRunsParams
.
ImmutableListBackupGroupRunsParams.builder() .backupGroupUid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // optionalbackupGroupUid
.startTime(java.time.Instant) // optionalstartTime
.endTime(java.time.Instant) // optionalendTime
.limit(Long) // optionallimit
.vmUuid(com.iland.cohesity.iaas.backups.common.model.VmUuid) // optionalvmUuid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.