@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableJobCopyRunInfo extends Object implements JobCopyRunInfo
JobCopyRunInfo.
Use the builder to create immutable instances:
ImmutableJobCopyRunInfo.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableJobCopyRunInfo.Builder
Builds instances of type
ImmutableJobCopyRunInfo. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableJobCopyRunInfo.Builder |
builder()
Creates a builder for
ImmutableJobCopyRunInfo. |
static ImmutableJobCopyRunInfo |
copyOf(JobCopyRunInfo instance)
Creates an immutable copy of a
JobCopyRunInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableJobCopyRunInfo that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
status, targetType. |
RunStatus |
status()
The status of the copy job run.
|
SnapshotTargetType |
targetType()
The type of the copy run target.
|
String |
toString()
Prints the immutable value
JobCopyRunInfo with attribute values. |
ImmutableJobCopyRunInfo |
withStatus(RunStatus value)
Copy the current immutable object by setting a value for the
status attribute. |
ImmutableJobCopyRunInfo |
withTargetType(SnapshotTargetType value)
Copy the current immutable object by setting a value for the
targetType attribute. |
public RunStatus status()
status in interface JobCopyRunInfopublic SnapshotTargetType targetType()
targetType in interface JobCopyRunInfopublic final ImmutableJobCopyRunInfo withStatus(RunStatus value)
status attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for statusthis objectpublic final ImmutableJobCopyRunInfo withTargetType(SnapshotTargetType value)
targetType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for targetTypethis objectpublic boolean equals(@Nullable Object another)
ImmutableJobCopyRunInfo that have equal attribute values.public int hashCode()
status, targetType.public String toString()
JobCopyRunInfo with attribute values.public static ImmutableJobCopyRunInfo copyOf(JobCopyRunInfo instance)
JobCopyRunInfo 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 ImmutableJobCopyRunInfo.Builder builder()
ImmutableJobCopyRunInfo.
ImmutableJobCopyRunInfo.builder()
.status(com.iland.cohesity.iaas.backups.common.enums.RunStatus) // required status
.targetType(com.iland.cohesity.iaas.backups.common.enums.SnapshotTargetType) // required targetType
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.