@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable public final class ImmutableBaCompanyResponse extends Object implements BaCompanyResponse
BaCompanyResponse.
Use the builder to create immutable instances:
ImmutableBaCompanyResponse.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableBaCompanyResponse.Builder
Builds instances of type
ImmutableBaCompanyResponse. |
| Modifier and Type | Method and Description |
|---|---|
int |
agentAndSubTenantCount()
Get the agent and sub tenant count.
|
boolean |
backupProtectionEnabled()
Indicates whether deleted backup file protection is enabled.
|
int |
backupProtectionPeriod()
Number of days during which deleted backup files must be kept in the
recycle bin on the Veeam Cloud Connect server.
|
com.google.common.collect.ImmutableList<BaBackupResourceResponse> |
backupResources() |
static ImmutableBaCompanyResponse.Builder |
builder()
Creates a builder for
ImmutableBaCompanyResponse. |
String |
companyId()
Get the company id associated with the VAC tenant.
|
String |
contractUuid()
The contract uuid of the company that the VAC tenant belongs to.
|
static ImmutableBaCompanyResponse |
copyOf(BaCompanyResponse instance)
Creates an immutable copy of a
BaCompanyResponse value. |
String |
description()
The description of the VAC tenant.
|
String |
endpoint()
URL endpoint of the VAC tenant.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableBaCompanyResponse that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
name, locationId, lastActive, uuid, isEnabled, companyId, backupProtectionEnabled, backupProtectionPeriod, vmsBackedUp, vmsBackedUpToCloud, totalStorageQuota, usedStorageQuota, endpoint, agentAndSubTenantCount, testDrive, backupResources, contractUuid, description, instanceUid. |
String |
instanceUid()
The instance uid of the VAC tenant.
|
boolean |
isEnabled()
Whether the VAC tenant is enabled or not.
|
Optional<Instant> |
lastActive()
Gets last active.
|
String |
locationId()
Gets location id.
|
String |
name()
Gets company name configured in Veeam Cloud Connect or Veeam Availability Console.
|
boolean |
testDrive()
Is the VAC tenant a test drive tenant?
|
String |
toString()
Prints the immutable value
BaCompanyResponse with attribute values. |
long |
totalStorageQuota()
Total storage of the VAC tenant in MB.
|
long |
usedStorageQuota()
Used storage of the VAC tenant in MB.
|
String |
uuid()
Get the uuid for a VAC tenant.
|
int |
vmsBackedUp()
Gets number of virtual machines protected with backup jobs.
|
int |
vmsBackedUpToCloud()
Gets number of virtual machines backed up to a cloud repository.
|
ImmutableBaCompanyResponse |
withAgentAndSubTenantCount(int value)
Copy the current immutable object by setting a value for the
agentAndSubTenantCount attribute. |
ImmutableBaCompanyResponse |
withBackupProtectionEnabled(boolean value)
Copy the current immutable object by setting a value for the
backupProtectionEnabled attribute. |
ImmutableBaCompanyResponse |
withBackupProtectionPeriod(int value)
Copy the current immutable object by setting a value for the
backupProtectionPeriod attribute. |
ImmutableBaCompanyResponse |
withBackupResources(BaBackupResourceResponse... elements)
Copy the current immutable object with elements that replace the content of
backupResources. |
ImmutableBaCompanyResponse |
withBackupResources(Iterable<? extends BaBackupResourceResponse> elements)
Copy the current immutable object with elements that replace the content of
backupResources. |
ImmutableBaCompanyResponse |
withCompanyId(String value)
Copy the current immutable object by setting a value for the
companyId attribute. |
ImmutableBaCompanyResponse |
withContractUuid(String value)
Copy the current immutable object by setting a value for the
contractUuid attribute. |
ImmutableBaCompanyResponse |
withDescription(String value)
Copy the current immutable object by setting a value for the
description attribute. |
ImmutableBaCompanyResponse |
withEndpoint(String value)
Copy the current immutable object by setting a value for the
endpoint attribute. |
ImmutableBaCompanyResponse |
withInstanceUid(String value)
Copy the current immutable object by setting a value for the
instanceUid attribute. |
ImmutableBaCompanyResponse |
withIsEnabled(boolean value)
Copy the current immutable object by setting a value for the
isEnabled attribute. |
ImmutableBaCompanyResponse |
withLastActive(Instant value)
Copy the current immutable object by setting a present value for the optional
lastActive attribute. |
ImmutableBaCompanyResponse |
withLastActive(Optional<? extends Instant> optional)
Copy the current immutable object by setting an optional value for the
lastActive attribute. |
ImmutableBaCompanyResponse |
withLocationId(String value)
Copy the current immutable object by setting a value for the
locationId attribute. |
ImmutableBaCompanyResponse |
withName(String value)
Copy the current immutable object by setting a value for the
name attribute. |
ImmutableBaCompanyResponse |
withTestDrive(boolean value)
Copy the current immutable object by setting a value for the
testDrive attribute. |
ImmutableBaCompanyResponse |
withTotalStorageQuota(long value)
Copy the current immutable object by setting a value for the
totalStorageQuota attribute. |
ImmutableBaCompanyResponse |
withUsedStorageQuota(long value)
Copy the current immutable object by setting a value for the
usedStorageQuota attribute. |
ImmutableBaCompanyResponse |
withUuid(String value)
Copy the current immutable object by setting a value for the
uuid attribute. |
ImmutableBaCompanyResponse |
withVmsBackedUp(int value)
Copy the current immutable object by setting a value for the
vmsBackedUp attribute. |
ImmutableBaCompanyResponse |
withVmsBackedUpToCloud(int value)
Copy the current immutable object by setting a value for the
vmsBackedUpToCloud attribute. |
public String name()
name in interface BaCompanyResponsepublic String locationId()
locationId in interface BaCompanyResponsepublic Optional<Instant> lastActive()
lastActive in interface BaCompanyResponsepublic String uuid()
uuid in interface BaCompanyResponsepublic boolean isEnabled()
isEnabled in interface BaCompanyResponsepublic String companyId()
companyId in interface BaCompanyResponsepublic boolean backupProtectionEnabled()
backupProtectionEnabled in interface BaCompanyResponsepublic int backupProtectionPeriod()
backupProtectionPeriod in interface BaCompanyResponsepublic int vmsBackedUp()
vmsBackedUp in interface BaCompanyResponsepublic int vmsBackedUpToCloud()
vmsBackedUpToCloud in interface BaCompanyResponsepublic long totalStorageQuota()
totalStorageQuota in interface BaCompanyResponsepublic long usedStorageQuota()
usedStorageQuota in interface BaCompanyResponsepublic String endpoint()
endpoint in interface BaCompanyResponsepublic int agentAndSubTenantCount()
agentAndSubTenantCount in interface BaCompanyResponsepublic boolean testDrive()
testDrive in interface BaCompanyResponsepublic com.google.common.collect.ImmutableList<BaBackupResourceResponse> backupResources()
backupResources in interface BaCompanyResponsebackupResources attributepublic String contractUuid()
contractUuid in interface BaCompanyResponseString contract uuidpublic String description()
description in interface BaCompanyResponseString descriptionpublic String instanceUid()
instanceUid in interface BaCompanyResponseString instance uidpublic final ImmutableBaCompanyResponse withName(String value)
name attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for namethis objectpublic final ImmutableBaCompanyResponse withLocationId(String value)
locationId attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for locationIdthis objectpublic final ImmutableBaCompanyResponse withLastActive(Instant value)
lastActive attribute.value - The value for lastActivethis objectpublic final ImmutableBaCompanyResponse withLastActive(Optional<? extends Instant> optional)
lastActive 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 lastActivethis objectpublic final ImmutableBaCompanyResponse withUuid(String value)
uuid attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for uuidthis objectpublic final ImmutableBaCompanyResponse withIsEnabled(boolean value)
isEnabled attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for isEnabledthis objectpublic final ImmutableBaCompanyResponse withCompanyId(String value)
companyId attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for companyIdthis objectpublic final ImmutableBaCompanyResponse withBackupProtectionEnabled(boolean value)
backupProtectionEnabled attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for backupProtectionEnabledthis objectpublic final ImmutableBaCompanyResponse withBackupProtectionPeriod(int value)
backupProtectionPeriod attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for backupProtectionPeriodthis objectpublic final ImmutableBaCompanyResponse withVmsBackedUp(int value)
vmsBackedUp attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for vmsBackedUpthis objectpublic final ImmutableBaCompanyResponse withVmsBackedUpToCloud(int value)
vmsBackedUpToCloud attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for vmsBackedUpToCloudthis objectpublic final ImmutableBaCompanyResponse withTotalStorageQuota(long value)
totalStorageQuota attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for totalStorageQuotathis objectpublic final ImmutableBaCompanyResponse withUsedStorageQuota(long value)
usedStorageQuota attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for usedStorageQuotathis objectpublic final ImmutableBaCompanyResponse withEndpoint(String value)
endpoint attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for endpointthis objectpublic final ImmutableBaCompanyResponse withAgentAndSubTenantCount(int value)
agentAndSubTenantCount attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for agentAndSubTenantCountthis objectpublic final ImmutableBaCompanyResponse withTestDrive(boolean value)
testDrive attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for testDrivethis objectpublic final ImmutableBaCompanyResponse withBackupResources(BaBackupResourceResponse... elements)
backupResources.elements - The elements to setthis objectpublic final ImmutableBaCompanyResponse withBackupResources(Iterable<? extends BaBackupResourceResponse> elements)
backupResources.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of backupResources elements to setthis objectpublic final ImmutableBaCompanyResponse withContractUuid(String value)
contractUuid attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for contractUuidthis objectpublic final ImmutableBaCompanyResponse withDescription(String value)
description attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for descriptionthis objectpublic final ImmutableBaCompanyResponse withInstanceUid(String value)
instanceUid attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for instanceUidthis objectpublic boolean equals(@Nullable Object another)
ImmutableBaCompanyResponse that have equal attribute values.public int hashCode()
name, locationId, lastActive, uuid, isEnabled, companyId, backupProtectionEnabled, backupProtectionPeriod, vmsBackedUp, vmsBackedUpToCloud, totalStorageQuota, usedStorageQuota, endpoint, agentAndSubTenantCount, testDrive, backupResources, contractUuid, description, instanceUid.public String toString()
BaCompanyResponse with attribute values.public static ImmutableBaCompanyResponse copyOf(BaCompanyResponse instance)
BaCompanyResponse 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 ImmutableBaCompanyResponse.Builder builder()
ImmutableBaCompanyResponse.
ImmutableBaCompanyResponse.builder()
.name(String) // required name
.locationId(String) // required locationId
.lastActive(java.time.Instant) // optional lastActive
.uuid(String) // required uuid
.isEnabled(boolean) // required isEnabled
.companyId(String) // required companyId
.backupProtectionEnabled(boolean) // required backupProtectionEnabled
.backupProtectionPeriod(int) // required backupProtectionPeriod
.vmsBackedUp(int) // required vmsBackedUp
.vmsBackedUpToCloud(int) // required vmsBackedUpToCloud
.totalStorageQuota(long) // required totalStorageQuota
.usedStorageQuota(long) // required usedStorageQuota
.endpoint(String) // required endpoint
.agentAndSubTenantCount(int) // required agentAndSubTenantCount
.testDrive(boolean) // required testDrive
.addBackupResources|addAllBackupResources(com.iland.core.web.rest.response.vac.BaBackupResourceResponse) // backupResources elements
.contractUuid(String) // required contractUuid
.description(String) // required description
.instanceUid(String) // required instanceUid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.