@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVCloudVmInfo extends Object implements VCloudVmInfo
VCloudVmInfo.
Use the builder to create immutable instances:
ImmutableVCloudVmInfo.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableVCloudVmInfo.Builder
Builds instances of type
ImmutableVCloudVmInfo. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableVCloudVmInfo.Builder |
builder()
Creates a builder for
ImmutableVCloudVmInfo. |
CompanyId |
companyId() |
static ImmutableVCloudVmInfo |
copyOf(VCloudVmInfo instance)
Creates an immutable copy of a
VCloudVmInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVCloudVmInfo that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
companyId, locationId, orgUuid, vdcUuid, vappUuid, vmUuid. |
LocationId |
locationId() |
OrgUuid |
orgUuid() |
String |
toString()
Prints the immutable value
VCloudVmInfo with attribute values. |
VappUuid |
vappUuid() |
VdcUuid |
vdcUuid() |
VmUuid |
vmUuid() |
ImmutableVCloudVmInfo |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableVCloudVmInfo |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableVCloudVmInfo |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableVCloudVmInfo |
withVappUuid(VappUuid value)
Copy the current immutable object by setting a value for the
vappUuid attribute. |
ImmutableVCloudVmInfo |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
ImmutableVCloudVmInfo |
withVmUuid(VmUuid value)
Copy the current immutable object by setting a value for the
vmUuid attribute. |
public CompanyId companyId()
companyId in interface VCloudVmInfocompanyId attributepublic LocationId locationId()
locationId in interface VCloudVmInfolocationId attributepublic OrgUuid orgUuid()
orgUuid in interface VCloudVmInfoorgUuid attributepublic VdcUuid vdcUuid()
vdcUuid in interface VCloudVmInfovdcUuid attributepublic VappUuid vappUuid()
vappUuid in interface VCloudVmInfovappUuid attributepublic VmUuid vmUuid()
vmUuid in interface VCloudVmInfovmUuid attributepublic final ImmutableVCloudVmInfo 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 ImmutableVCloudVmInfo 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 ImmutableVCloudVmInfo 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 ImmutableVCloudVmInfo 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 ImmutableVCloudVmInfo withVappUuid(VappUuid value)
vappUuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for vappUuidthis objectpublic final ImmutableVCloudVmInfo withVmUuid(VmUuid value)
vmUuid attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for vmUuidthis objectpublic boolean equals(@Nullable Object another)
ImmutableVCloudVmInfo that have equal attribute values.public int hashCode()
companyId, locationId, orgUuid, vdcUuid, vappUuid, vmUuid.public String toString()
VCloudVmInfo with attribute values.public static ImmutableVCloudVmInfo copyOf(VCloudVmInfo instance)
VCloudVmInfo 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 ImmutableVCloudVmInfo.Builder builder()
ImmutableVCloudVmInfo.
ImmutableVCloudVmInfo.builder()
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // required companyId
.locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // required locationId
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // required orgUuid
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // required vdcUuid
.vappUuid(com.iland.cohesity.iaas.backups.common.model.VappUuid) // required vappUuid
.vmUuid(com.iland.cohesity.iaas.backups.common.model.VmUuid) // required vmUuid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.