@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableIlandScope extends Object implements IlandScope
IlandScope
.
Use the builder to create immutable instances:
ImmutableIlandScope.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableIlandScope.Builder
Builds instances of type
ImmutableIlandScope . |
Modifier and Type | Method and Description |
---|---|
static ImmutableIlandScope.Builder |
builder()
Creates a builder for
ImmutableIlandScope . |
Optional<CompanyId> |
companyId() |
static ImmutableIlandScope |
copyOf(IlandScope instance)
Creates an immutable copy of a
IlandScope value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableIlandScope that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
locationId , companyId , orgId , vdcId . |
Optional<LocationId> |
locationId() |
Optional<OrgUuid> |
orgId() |
String |
toString()
Prints the immutable value
IlandScope with attribute values. |
Optional<VdcUuid> |
vdcId() |
ImmutableIlandScope |
withCompanyId(CompanyId value)
Copy the current immutable object by setting a present value for the optional
companyId attribute. |
ImmutableIlandScope |
withCompanyId(Optional<? extends CompanyId> optional)
Copy the current immutable object by setting an optional value for the
companyId attribute. |
ImmutableIlandScope |
withLocationId(LocationId value)
Copy the current immutable object by setting a present value for the optional
locationId attribute. |
ImmutableIlandScope |
withLocationId(Optional<? extends LocationId> optional)
Copy the current immutable object by setting an optional value for the
locationId attribute. |
ImmutableIlandScope |
withOrgId(Optional<? extends OrgUuid> optional)
Copy the current immutable object by setting an optional value for the
orgId attribute. |
ImmutableIlandScope |
withOrgId(OrgUuid value)
Copy the current immutable object by setting a present value for the optional
orgId attribute. |
ImmutableIlandScope |
withVdcId(Optional<? extends VdcUuid> optional)
Copy the current immutable object by setting an optional value for the
vdcId attribute. |
ImmutableIlandScope |
withVdcId(VdcUuid value)
Copy the current immutable object by setting a present value for the optional
vdcId attribute. |
public Optional<LocationId> locationId()
locationId
in interface IlandScope
locationId
attributepublic Optional<CompanyId> companyId()
companyId
in interface IlandScope
companyId
attributepublic Optional<OrgUuid> orgId()
orgId
in interface IlandScope
orgId
attributepublic Optional<VdcUuid> vdcId()
vdcId
in interface IlandScope
vdcId
attributepublic final ImmutableIlandScope withLocationId(LocationId value)
locationId
attribute.value
- The value for locationIdthis
objectpublic final ImmutableIlandScope withLocationId(Optional<? extends LocationId> optional)
locationId
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for locationIdthis
objectpublic final ImmutableIlandScope withCompanyId(CompanyId value)
companyId
attribute.value
- The value for companyIdthis
objectpublic final ImmutableIlandScope withCompanyId(Optional<? extends CompanyId> optional)
companyId
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for companyIdthis
objectpublic final ImmutableIlandScope withOrgId(OrgUuid value)
orgId
attribute.value
- The value for orgIdthis
objectpublic final ImmutableIlandScope withOrgId(Optional<? extends OrgUuid> optional)
orgId
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for orgIdthis
objectpublic final ImmutableIlandScope withVdcId(VdcUuid value)
vdcId
attribute.value
- The value for vdcIdthis
objectpublic final ImmutableIlandScope withVdcId(Optional<? extends VdcUuid> optional)
vdcId
attribute.
A shallow reference equality check is used on unboxed optional value to prevent copying of the same value by returning this
.optional
- A value for vdcIdthis
objectpublic boolean equals(@Nullable Object another)
ImmutableIlandScope
that have equal attribute values.public int hashCode()
locationId
, companyId
, orgId
, vdcId
.public String toString()
IlandScope
with attribute values.public static ImmutableIlandScope copyOf(IlandScope instance)
IlandScope
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 ImmutableIlandScope.Builder builder()
ImmutableIlandScope
.
ImmutableIlandScope.builder() .locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // optionallocationId
.companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // optionalcompanyId
.orgId(com.iland.cohesity.iaas.backups.common.model.OrgUuid) // optionalorgId
.vdcId(com.iland.cohesity.iaas.backups.common.model.VdcUuid) // optionalvdcId
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.