@NotThreadSafe public static final class ImmutableBackupGroupEvent.Builder extends Object
ImmutableBackupGroupEvent
.
Initialize attributes and then invoke the build()
method to create an
immutable instance.
Builder
is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
Modifier and Type | Method and Description |
---|---|
ImmutableBackupGroupEvent.Builder |
backupGroupName(String backupGroupName)
Initializes the value for the
backupGroupName attribute. |
ImmutableBackupGroupEvent.Builder |
backupGroupUid(BackupGroupUid backupGroupUid)
Initializes the value for the
backupGroupUid attribute. |
ImmutableBackupGroupEvent |
build()
Builds a new
ImmutableBackupGroupEvent . |
ImmutableBackupGroupEvent.Builder |
companyId(CompanyId companyId)
Initializes the value for the
companyId attribute. |
ImmutableBackupGroupEvent.Builder |
eventAction(EventActionType eventAction)
Initializes the value for the
eventAction attribute. |
ImmutableBackupGroupEvent.Builder |
from(BackupGroupEvent instance)
Fill a builder with attribute values from the provided
com.iland.cohesity.iaas.backups.events.model.BackupGroupEvent instance. |
ImmutableBackupGroupEvent.Builder |
from(Event instance)
Fill a builder with attribute values from the provided
com.iland.cohesity.iaas.backups.events.model.Event instance. |
ImmutableBackupGroupEvent.Builder |
locationId(LocationId locationId)
Initializes the value for the
locationId attribute. |
ImmutableBackupGroupEvent.Builder |
orgUuid(OrgUuid orgUuid)
Initializes the value for the
orgUuid attribute. |
ImmutableBackupGroupEvent.Builder |
timestamp(Instant timestamp)
Initializes the value for the
timestamp attribute. |
ImmutableBackupGroupEvent.Builder |
uid(EventUid uid)
Initializes the value for the
uid attribute. |
ImmutableBackupGroupEvent.Builder |
vdcUuid(VdcUuid vdcUuid)
Initializes the value for the
vdcUuid attribute. |
public final ImmutableBackupGroupEvent.Builder from(Event instance)
com.iland.cohesity.iaas.backups.events.model.Event
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder from(BackupGroupEvent instance)
com.iland.cohesity.iaas.backups.events.model.BackupGroupEvent
instance.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder eventAction(EventActionType eventAction)
eventAction
attribute.eventAction
- The value for eventActionthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder timestamp(Instant timestamp)
timestamp
attribute.timestamp
- The value for timestampthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder uid(EventUid uid)
uid
attribute.uid
- The value for uidthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder locationId(LocationId locationId)
locationId
attribute.locationId
- The value for locationIdthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder companyId(CompanyId companyId)
companyId
attribute.companyId
- The value for companyIdthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder orgUuid(OrgUuid orgUuid)
orgUuid
attribute.orgUuid
- The value for orgUuidthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder vdcUuid(VdcUuid vdcUuid)
vdcUuid
attribute.vdcUuid
- The value for vdcUuidthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder backupGroupUid(BackupGroupUid backupGroupUid)
backupGroupUid
attribute.backupGroupUid
- The value for backupGroupUidthis
builder for use in a chained invocationpublic final ImmutableBackupGroupEvent.Builder backupGroupName(String backupGroupName)
backupGroupName
attribute.backupGroupName
- The value for backupGroupNamethis
builder for use in a chained invocationpublic ImmutableBackupGroupEvent build()
ImmutableBackupGroupEvent
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.