@NotThreadSafe public static final class ImmutableRecoverableFileSearchResult.Builder extends Object
ImmutableRecoverableFileSearchResult
.
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.
public final ImmutableRecoverableFileSearchResult.Builder from(RecoverableFileSearchResult instance)
RecoverableFileSearchResult
instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.instance
- The instance from which to copy valuesthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder locationId(LocationId locationId)
locationId
attribute.locationId
- The value for locationIdthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder companyId(CompanyId companyId)
companyId
attribute.companyId
- The value for companyIdthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder orgUuid(OrgUuid orgUuid)
orgUuid
attribute.orgUuid
- The value for orgUuidthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder vdcUuid(VdcUuid vdcUuid)
vdcUuid
attribute.vdcUuid
- The value for vdcUuidthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder vappUuid(VappUuid vappUuid)
vappUuid
attribute.vappUuid
- The value for vappUuidthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder vmUuid(VmUuid vmUuid)
vmUuid
attribute.vmUuid
- The value for vmUuidthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder filename(String filename)
filename
attribute.filename
- The value for filenamethis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder isFolder(boolean isFolder)
isFolder
attribute.isFolder
- The value for isFolderthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder backupGroupUid(BackupGroupUid backupGroupUid)
backupGroupUid
attribute.backupGroupUid
- The value for backupGroupUidthis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder type(FileSearchResultType type)
type
attribute.type
- The value for typethis
builder for use in a chained invocationpublic final ImmutableRecoverableFileSearchResult.Builder vmName(String vmName)
vmName
attribute.vmName
- The value for vmNamethis
builder for use in a chained invocationpublic ImmutableRecoverableFileSearchResult build()
ImmutableRecoverableFileSearchResult
.IllegalStateException
- if any required attributes are missingCopyright © 2023 iland Internet Solutions, Corp. All rights reserved.