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