@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupGroupEvent extends Object implements BackupGroupEvent
BackupGroupEvent.
Use the builder to create immutable instances:
ImmutableBackupGroupEvent.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableBackupGroupEvent.Builder
Builds instances of type
ImmutableBackupGroupEvent. |
| Modifier and Type | Method and Description |
|---|---|
String |
backupGroupName()
The name of the associated backup group.
|
BackupGroupUid |
backupGroupUid()
The UID of the associated backup group.
|
static ImmutableBackupGroupEvent.Builder |
builder()
Creates a builder for
ImmutableBackupGroupEvent. |
CompanyId |
companyId()
The ID of the associated company.
|
static ImmutableBackupGroupEvent |
copyOf(BackupGroupEvent instance)
Creates an immutable copy of a
BackupGroupEvent value. |
EventEntityType |
entityType()
The type of the event entity.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBackupGroupEvent that have equal attribute values. |
EventActionType |
eventAction()
The type of the event action.
|
int |
hashCode()
Computes a hash code from attributes:
eventAction, timestamp, uid, locationId, companyId, orgUuid, vdcUuid, backupGroupUid, backupGroupName. |
LocationId |
locationId()
The ID of the associated company.
|
OrgUuid |
orgUuid()
The UUID of the associated Org.
|
Instant |
timestamp()
The timestamp of the event.
|
String |
toString()
Prints the immutable value
BackupGroupEvent with attribute values. |
EventUid |
uid()
The UID of the event.
|
VdcUuid |
vdcUuid()
The UUID of the associated vDC.
|
ImmutableBackupGroupEvent |
withBackupGroupName(String value)
Copy the current immutable object by setting a value for the
backupGroupName attribute. |
ImmutableBackupGroupEvent |
withBackupGroupUid(BackupGroupUid value)
Copy the current immutable object by setting a value for the
backupGroupUid attribute. |
ImmutableBackupGroupEvent |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableBackupGroupEvent |
withEventAction(EventActionType value)
Copy the current immutable object by setting a value for the
eventAction attribute. |
ImmutableBackupGroupEvent |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableBackupGroupEvent |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableBackupGroupEvent |
withTimestamp(Instant value)
Copy the current immutable object by setting a value for the
timestamp attribute. |
ImmutableBackupGroupEvent |
withUid(EventUid value)
Copy the current immutable object by setting a value for the
uid attribute. |
ImmutableBackupGroupEvent |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
public EventActionType eventAction()
eventAction in interface EventEventActionTypepublic Instant timestamp()
public EventUid uid()
public LocationId locationId()
locationId in interface BackupGroupEventLocationIdpublic CompanyId companyId()
companyId in interface BackupGroupEventCompanyIdpublic OrgUuid orgUuid()
orgUuid in interface BackupGroupEventOrgUuidpublic VdcUuid vdcUuid()
vdcUuid in interface BackupGroupEventVdcUuidpublic BackupGroupUid backupGroupUid()
backupGroupUid in interface BackupGroupEventBackupGroupUidpublic String backupGroupName()
backupGroupName in interface BackupGroupEventpublic EventEntityType entityType()
EvententityType in interface BackupGroupEvententityType in interface EvententityType attributepublic final ImmutableBackupGroupEvent withEventAction(EventActionType value)
eventAction attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for eventActionthis objectpublic final ImmutableBackupGroupEvent withTimestamp(Instant value)
timestamp attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for timestampthis objectpublic final ImmutableBackupGroupEvent withUid(EventUid value)
uid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for uidthis objectpublic final ImmutableBackupGroupEvent withLocationId(LocationId value)
locationId attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for locationIdthis objectpublic final ImmutableBackupGroupEvent withCompanyId(CompanyId value)
companyId attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for companyIdthis objectpublic final ImmutableBackupGroupEvent withOrgUuid(OrgUuid value)
orgUuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for orgUuidthis objectpublic final ImmutableBackupGroupEvent withVdcUuid(VdcUuid value)
vdcUuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for vdcUuidthis objectpublic final ImmutableBackupGroupEvent withBackupGroupUid(BackupGroupUid value)
backupGroupUid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for backupGroupUidthis objectpublic final ImmutableBackupGroupEvent withBackupGroupName(String value)
backupGroupName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for backupGroupNamethis objectpublic boolean equals(@Nullable Object another)
ImmutableBackupGroupEvent that have equal attribute values.public int hashCode()
eventAction, timestamp, uid, locationId, companyId, orgUuid, vdcUuid, backupGroupUid, backupGroupName.public String toString()
BackupGroupEvent with attribute values.public static ImmutableBackupGroupEvent copyOf(BackupGroupEvent instance)
BackupGroupEvent 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 ImmutableBackupGroupEvent.Builder builder()
ImmutableBackupGroupEvent.
ImmutableBackupGroupEvent.builder()
.eventAction(com.iland.cohesity.iaas.backups.events.enums.EventActionType) // required eventAction
.timestamp(java.time.Instant) // required timestamp
.uid(com.iland.cohesity.iaas.backups.common.model.EventUid) // required uid
.locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // required locationId
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // required companyId
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // required orgUuid
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // required vdcUuid
.backupGroupUid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // required backupGroupUid
.backupGroupName(String) // required backupGroupName
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.