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