@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 Event
EventActionType
public Instant timestamp()
public EventUid uid()
public LocationId locationId()
locationId
in interface BackupGroupEvent
LocationId
public CompanyId companyId()
companyId
in interface BackupGroupEvent
CompanyId
public OrgUuid orgUuid()
orgUuid
in interface BackupGroupEvent
OrgUuid
public VdcUuid vdcUuid()
vdcUuid
in interface BackupGroupEvent
VdcUuid
public BackupGroupUid backupGroupUid()
backupGroupUid
in interface BackupGroupEvent
BackupGroupUid
public String backupGroupName()
backupGroupName
in interface BackupGroupEvent
public EventEntityType entityType()
Event
entityType
in interface BackupGroupEvent
entityType
in interface Event
entityType
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) // requiredeventAction
.timestamp(java.time.Instant) // requiredtimestamp
.uid(com.iland.cohesity.iaas.backups.common.model.EventUid) // requireduid
.locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // requiredlocationId
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // requiredcompanyId
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // requiredorgUuid
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // requiredvdcUuid
.backupGroupUid(com.iland.cohesity.iaas.backups.common.model.BackupGroupUid) // requiredbackupGroupUid
.backupGroupName(String) // requiredbackupGroupName
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.