@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableVCloudVdcInfo extends Object implements VCloudVdcInfo
VCloudVdcInfo
.
Use the builder to create immutable instances:
ImmutableVCloudVdcInfo.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableVCloudVdcInfo.Builder
Builds instances of type
ImmutableVCloudVdcInfo . |
Modifier and Type | Method and Description |
---|---|
static ImmutableVCloudVdcInfo.Builder |
builder()
Creates a builder for
ImmutableVCloudVdcInfo . |
CompanyId |
companyId() |
static ImmutableVCloudVdcInfo |
copyOf(VCloudVdcInfo instance)
Creates an immutable copy of a
VCloudVdcInfo value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableVCloudVdcInfo that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
companyId , locationId , orgUuid , vdcUuid . |
LocationId |
locationId() |
OrgUuid |
orgUuid() |
String |
toString()
Prints the immutable value
VCloudVdcInfo with attribute values. |
VdcUuid |
vdcUuid() |
ImmutableVCloudVdcInfo |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableVCloudVdcInfo |
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableVCloudVdcInfo |
withOrgUuid(OrgUuid value)
Copy the current immutable object by setting a value for the
orgUuid attribute. |
ImmutableVCloudVdcInfo |
withVdcUuid(VdcUuid value)
Copy the current immutable object by setting a value for the
vdcUuid attribute. |
public CompanyId companyId()
companyId
in interface VCloudVdcInfo
companyId
attributepublic LocationId locationId()
locationId
in interface VCloudVdcInfo
locationId
attributepublic OrgUuid orgUuid()
orgUuid
in interface VCloudVdcInfo
orgUuid
attributepublic VdcUuid vdcUuid()
vdcUuid
in interface VCloudVdcInfo
vdcUuid
attributepublic final ImmutableVCloudVdcInfo 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 ImmutableVCloudVdcInfo 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 ImmutableVCloudVdcInfo 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 ImmutableVCloudVdcInfo 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 boolean equals(@Nullable Object another)
ImmutableVCloudVdcInfo
that have equal attribute values.public int hashCode()
companyId
, locationId
, orgUuid
, vdcUuid
.public String toString()
VCloudVdcInfo
with attribute values.public static ImmutableVCloudVdcInfo copyOf(VCloudVdcInfo instance)
VCloudVdcInfo
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 ImmutableVCloudVdcInfo.Builder builder()
ImmutableVCloudVdcInfo
.
ImmutableVCloudVdcInfo.builder() .companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // requiredcompanyId
.locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // requiredlocationId
.orgUuid(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // requiredorgUuid
.vdcUuid(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // requiredvdcUuid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.