@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableCompanyLocationBackupSummaryStats extends Object implements CompanyLocationBackupSummaryStats
CompanyLocationBackupSummaryStats.
 
 Use the builder to create immutable instances:
 ImmutableCompanyLocationBackupSummaryStats.builder().
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ImmutableCompanyLocationBackupSummaryStats.Builder
Builds instances of type  
ImmutableCompanyLocationBackupSummaryStats. | 
| Modifier and Type | Method and Description | 
|---|---|
static ImmutableCompanyLocationBackupSummaryStats.Builder | 
builder()
Creates a builder for  
ImmutableCompanyLocationBackupSummaryStats. | 
CompanyId | 
companyId()
The company ID. 
 | 
static ImmutableCompanyLocationBackupSummaryStats | 
copyOf(CompanyLocationBackupSummaryStats instance)
Creates an immutable copy of a  
CompanyLocationBackupSummaryStats value. | 
boolean | 
equals(Object another)
This instance is equal to all instances of  
ImmutableCompanyLocationBackupSummaryStats that have equal attribute values. | 
int | 
hashCode()
Computes a hash code from attributes:  
companyId, locationId, stats, orgStats. | 
LocationId | 
locationId()
The location ID. 
 | 
com.google.common.collect.ImmutableSet<OrgBackupSummaryStats> | 
orgStats()
The underlying organization stats. 
 | 
SummaryStats | 
stats()
The company-location summary stats. 
 | 
String | 
toString()
Prints the immutable value  
CompanyLocationBackupSummaryStats with attribute values. | 
ImmutableCompanyLocationBackupSummaryStats | 
withCompanyId(CompanyId value)
Copy the current immutable object by setting a value for the  
companyId attribute. | 
ImmutableCompanyLocationBackupSummaryStats | 
withLocationId(LocationId value)
Copy the current immutable object by setting a value for the  
locationId attribute. | 
ImmutableCompanyLocationBackupSummaryStats | 
withOrgStats(Iterable<? extends OrgBackupSummaryStats> elements)
Copy the current immutable object with elements that replace the content of  
orgStats. | 
ImmutableCompanyLocationBackupSummaryStats | 
withOrgStats(OrgBackupSummaryStats... elements)
Copy the current immutable object with elements that replace the content of  
orgStats. | 
ImmutableCompanyLocationBackupSummaryStats | 
withStats(SummaryStats value)
Copy the current immutable object by setting a value for the  
stats attribute. | 
public CompanyId companyId()
companyId in interface CompanyLocationBackupSummaryStatsCompanyIdpublic LocationId locationId()
locationId in interface CompanyLocationBackupSummaryStatsLocationIdpublic SummaryStats stats()
stats in interface CompanyLocationBackupSummaryStatsSummaryStatspublic com.google.common.collect.ImmutableSet<OrgBackupSummaryStats> orgStats()
orgStats in interface CompanyLocationBackupSummaryStatsSet of OrgBackupSummaryStatspublic final ImmutableCompanyLocationBackupSummaryStats 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 ImmutableCompanyLocationBackupSummaryStats 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 ImmutableCompanyLocationBackupSummaryStats withStats(SummaryStats value)
stats attribute.
 A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for statsthis objectpublic final ImmutableCompanyLocationBackupSummaryStats withOrgStats(OrgBackupSummaryStats... elements)
orgStats.elements - The elements to setthis objectpublic final ImmutableCompanyLocationBackupSummaryStats withOrgStats(Iterable<? extends OrgBackupSummaryStats> elements)
orgStats.
 A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of orgStats elements to setthis objectpublic boolean equals(@Nullable Object another)
ImmutableCompanyLocationBackupSummaryStats that have equal attribute values.public int hashCode()
companyId, locationId, stats, orgStats.public String toString()
CompanyLocationBackupSummaryStats with attribute values.public static ImmutableCompanyLocationBackupSummaryStats copyOf(CompanyLocationBackupSummaryStats instance)
CompanyLocationBackupSummaryStats 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 ImmutableCompanyLocationBackupSummaryStats.Builder builder()
ImmutableCompanyLocationBackupSummaryStats.
 
 ImmutableCompanyLocationBackupSummaryStats.builder()
    .companyId(com.iland.cohesity.iaas.backups.common.model.CompanyId) // required companyId
    .locationId(com.iland.cohesity.iaas.backups.common.model.LocationId) // required locationId
    .stats(com.iland.cohesity.iaas.backups.common.model.SummaryStats) // required stats
    .addOrgStats|addAllOrgStats(com.iland.cohesity.iaas.backups.backupgroups.api.model.OrgBackupSummaryStats) // orgStats elements
    .build();
 Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.