@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableBackupPolicyEvent extends Object implements BackupPolicyEvent
BackupPolicyEvent.
Use the builder to create immutable instances:
ImmutableBackupPolicyEvent.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableBackupPolicyEvent.Builder
Builds instances of type
ImmutableBackupPolicyEvent. |
| Modifier and Type | Method and Description |
|---|---|
String |
backupPolicyName()
The name of the associated backup policy.
|
static ImmutableBackupPolicyEvent.Builder |
builder()
Creates a builder for
ImmutableBackupPolicyEvent. |
CompanyId |
companyId()
The ID of the associated company.
|
static ImmutableBackupPolicyEvent |
copyOf(BackupPolicyEvent instance)
Creates an immutable copy of a
BackupPolicyEvent value. |
EventEntityType |
entityType()
The type of the event entity.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBackupPolicyEvent 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, backupPolicyName, policyUid, scopeType, vdcUuid. |
LocationId |
locationId()
The ID of the associated company.
|
OrgUuid |
orgUuid()
The UUID of the associated Org.
|
PolicyUid |
policyUid()
The UID of the backup policy.
|
BackupPolicyScopeType |
scopeType()
The policy scope type.
|
Instant |
timestamp()
The timestamp of the event.
|
String |
toString()
Prints the immutable value
BackupPolicyEvent with attribute values. |
EventUid |
uid()
The UID of the event.
|
Optional<VdcUuid> |
vdcUuid()
Optional vDC UUID.
|
ImmutableBackupPolicyEvent |
withBackupPolicyName(String value)
Copy the current immutable object by setting a value for the
backupPolicyName attribute. |
ImmutableBackupPolicyEvent |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableBackupPolicyEvent |
withEventAction(EventActionType value)
Copy the current immutable object by setting a value for the
eventAction attribute. |
ImmutableBackupPolicyEvent |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableBackupPolicyEvent |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableBackupPolicyEvent |
withPolicyUid(PolicyUid value)
Copy the current immutable object by setting a value for the
policyUid attribute. |
ImmutableBackupPolicyEvent |
withScopeType(BackupPolicyScopeType value)
Copy the current immutable object by setting a value for the
scopeType attribute. |
ImmutableBackupPolicyEvent |
withTimestamp(Instant value)
Copy the current immutable object by setting a value for the
timestamp attribute. |
ImmutableBackupPolicyEvent |
withUid(EventUid value)
Copy the current immutable object by setting a value for the
uid attribute. |
ImmutableBackupPolicyEvent |
withVdcUuid(Optional<? extends VdcUuid> optional)
Copy the current immutable object by setting an optional value for the
vdcUuid attribute. |
ImmutableBackupPolicyEvent |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a present value for the optional
vdcUuid attribute. |
public EventActionType eventAction()
eventAction in interface EventEventActionTypepublic Instant timestamp()
public EventUid uid()
public LocationId locationId()
locationId in interface BackupPolicyEventLocationIdpublic CompanyId companyId()
companyId in interface BackupPolicyEventCompanyIdpublic OrgUuid orgUuid()
orgUuid in interface BackupPolicyEventOrgUuidpublic String backupPolicyName()
backupPolicyName in interface BackupPolicyEventpublic PolicyUid policyUid()
policyUid in interface BackupPolicyEventPolicyUidpublic BackupPolicyScopeType scopeType()
scopeType in interface BackupPolicyEventBackupPolicyScopeTypepublic Optional<VdcUuid> vdcUuid()
vdcUuid in interface BackupPolicyEventOptional of VdcUuidpublic EventEntityType entityType()
EvententityType in interface BackupPolicyEvententityType in interface EvententityType attributepublic final ImmutableBackupPolicyEvent 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 ImmutableBackupPolicyEvent 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 ImmutableBackupPolicyEvent 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 ImmutableBackupPolicyEvent 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 ImmutableBackupPolicyEvent 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 ImmutableBackupPolicyEvent 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 ImmutableBackupPolicyEvent withBackupPolicyName(String value)
backupPolicyName attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for backupPolicyNamethis objectpublic final ImmutableBackupPolicyEvent withPolicyUid(PolicyUid value)
policyUid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for policyUidthis objectpublic final ImmutableBackupPolicyEvent withScopeType(BackupPolicyScopeType value)
scopeType attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for scopeTypethis objectpublic final ImmutableBackupPolicyEvent withVdcUuid(VdcUuid value)
vdcUuid attribute.value - The value for vdcUuidthis objectpublic final ImmutableBackupPolicyEvent withVdcUuid(Optional<? extends VdcUuid> optional)
vdcUuid 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 vdcUuidthis objectpublic boolean equals(@Nullable Object another)
ImmutableBackupPolicyEvent that have equal attribute values.public int hashCode()
eventAction, timestamp, uid, locationId, companyId, orgUuid, backupPolicyName, policyUid, scopeType, vdcUuid.public String toString()
BackupPolicyEvent with attribute values.public static ImmutableBackupPolicyEvent copyOf(BackupPolicyEvent instance)
BackupPolicyEvent 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 ImmutableBackupPolicyEvent.Builder builder()
ImmutableBackupPolicyEvent.
ImmutableBackupPolicyEvent.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
.backupPolicyName(String) // required backupPolicyName
.policyUid(com.iland.cohesity.iaas.backups.common.model.PolicyUid) // required policyUid
.scopeType(com.iland.cohesity.iaas.backups.common.enums.BackupPolicyScopeType) // required scopeType
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // optional vdcUuid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.