@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableAlternateVappParams extends Object implements AlternateVappParams
AlternateVappParams
.
Use the builder to create immutable instances:
ImmutableAlternateVappParams.builder()
.
Modifier and Type | Class and Description |
---|---|
static class |
ImmutableAlternateVappParams.Builder
Builds instances of type
ImmutableAlternateVappParams . |
Modifier and Type | Method and Description |
---|---|
static ImmutableAlternateVappParams.Builder |
builder()
Creates a builder for
ImmutableAlternateVappParams . |
static ImmutableAlternateVappParams |
copyOf(AlternateVappParams instance)
Creates an immutable copy of a
AlternateVappParams value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableAlternateVappParams that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
storageProfile , vappUuid . |
StorageProfileUuid |
storageProfile()
The storage profile that the recovered objects should be imported to.
|
String |
toString()
Prints the immutable value
AlternateVappParams with attribute values. |
VappUuid |
vappUuid()
The UUID of the vApp that the recovered VMs should be recovered in.
|
ImmutableAlternateVappParams |
withStorageProfile(StorageProfileUuid value)
Copy the current immutable object by setting a value for the
storageProfile attribute. |
ImmutableAlternateVappParams |
withVappUuid(VappUuid value)
Copy the current immutable object by setting a value for the
vappUuid attribute. |
public StorageProfileUuid storageProfile()
storageProfile
in interface AlternateVappParams
public VappUuid vappUuid()
vappUuid
in interface AlternateVappParams
public final ImmutableAlternateVappParams withStorageProfile(StorageProfileUuid value)
storageProfile
attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this
.value
- A new value for storageProfilethis
objectpublic final ImmutableAlternateVappParams 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)
ImmutableAlternateVappParams
that have equal attribute values.public int hashCode()
storageProfile
, vappUuid
.public String toString()
AlternateVappParams
with attribute values.public static ImmutableAlternateVappParams copyOf(AlternateVappParams instance)
AlternateVappParams
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 ImmutableAlternateVappParams.Builder builder()
ImmutableAlternateVappParams
.
ImmutableAlternateVappParams.builder() .storageProfile(com.iland.cohesity.iaas.backups.common.model.StorageProfileUuid) // requiredstorageProfile
.vappUuid(com.iland.cohesity.iaas.backups.common.model.VappUuid) // requiredvappUuid
.build();
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.