
com.pulumi.azurenative.recoveryservices.outputs.A2ACrossClusterMigrationReplicationDetailsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azurenative.recoveryservices.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class A2ACrossClusterMigrationReplicationDetailsResponse {
/**
* @return The fabric specific object Id of the virtual machine.
*
*/
private @Nullable String fabricObjectId;
/**
* @return Gets the Instance type.
* Expected value is 'A2ACrossClusterMigration'.
*
*/
private String instanceType;
/**
* @return An id associated with the PE that survives actions like switch protection which change the backing PE/CPE objects internally.The lifecycle id gets carried forward to have a link/continuity in being able to have an Id that denotes the "same" protected item even though other internal Ids/ARM Id might be changing.
*
*/
private @Nullable String lifecycleId;
/**
* @return The type of operating system.
*
*/
private @Nullable String osType;
/**
* @return Primary fabric location.
*
*/
private @Nullable String primaryFabricLocation;
/**
* @return The protection state for the vm.
*
*/
private @Nullable String vmProtectionState;
/**
* @return The protection state description for the vm.
*
*/
private @Nullable String vmProtectionStateDescription;
private A2ACrossClusterMigrationReplicationDetailsResponse() {}
/**
* @return The fabric specific object Id of the virtual machine.
*
*/
public Optional fabricObjectId() {
return Optional.ofNullable(this.fabricObjectId);
}
/**
* @return Gets the Instance type.
* Expected value is 'A2ACrossClusterMigration'.
*
*/
public String instanceType() {
return this.instanceType;
}
/**
* @return An id associated with the PE that survives actions like switch protection which change the backing PE/CPE objects internally.The lifecycle id gets carried forward to have a link/continuity in being able to have an Id that denotes the "same" protected item even though other internal Ids/ARM Id might be changing.
*
*/
public Optional lifecycleId() {
return Optional.ofNullable(this.lifecycleId);
}
/**
* @return The type of operating system.
*
*/
public Optional osType() {
return Optional.ofNullable(this.osType);
}
/**
* @return Primary fabric location.
*
*/
public Optional primaryFabricLocation() {
return Optional.ofNullable(this.primaryFabricLocation);
}
/**
* @return The protection state for the vm.
*
*/
public Optional vmProtectionState() {
return Optional.ofNullable(this.vmProtectionState);
}
/**
* @return The protection state description for the vm.
*
*/
public Optional vmProtectionStateDescription() {
return Optional.ofNullable(this.vmProtectionStateDescription);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(A2ACrossClusterMigrationReplicationDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String fabricObjectId;
private String instanceType;
private @Nullable String lifecycleId;
private @Nullable String osType;
private @Nullable String primaryFabricLocation;
private @Nullable String vmProtectionState;
private @Nullable String vmProtectionStateDescription;
public Builder() {}
public Builder(A2ACrossClusterMigrationReplicationDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.fabricObjectId = defaults.fabricObjectId;
this.instanceType = defaults.instanceType;
this.lifecycleId = defaults.lifecycleId;
this.osType = defaults.osType;
this.primaryFabricLocation = defaults.primaryFabricLocation;
this.vmProtectionState = defaults.vmProtectionState;
this.vmProtectionStateDescription = defaults.vmProtectionStateDescription;
}
@CustomType.Setter
public Builder fabricObjectId(@Nullable String fabricObjectId) {
this.fabricObjectId = fabricObjectId;
return this;
}
@CustomType.Setter
public Builder instanceType(String instanceType) {
if (instanceType == null) {
throw new MissingRequiredPropertyException("A2ACrossClusterMigrationReplicationDetailsResponse", "instanceType");
}
this.instanceType = instanceType;
return this;
}
@CustomType.Setter
public Builder lifecycleId(@Nullable String lifecycleId) {
this.lifecycleId = lifecycleId;
return this;
}
@CustomType.Setter
public Builder osType(@Nullable String osType) {
this.osType = osType;
return this;
}
@CustomType.Setter
public Builder primaryFabricLocation(@Nullable String primaryFabricLocation) {
this.primaryFabricLocation = primaryFabricLocation;
return this;
}
@CustomType.Setter
public Builder vmProtectionState(@Nullable String vmProtectionState) {
this.vmProtectionState = vmProtectionState;
return this;
}
@CustomType.Setter
public Builder vmProtectionStateDescription(@Nullable String vmProtectionStateDescription) {
this.vmProtectionStateDescription = vmProtectionStateDescription;
return this;
}
public A2ACrossClusterMigrationReplicationDetailsResponse build() {
final var _resultValue = new A2ACrossClusterMigrationReplicationDetailsResponse();
_resultValue.fabricObjectId = fabricObjectId;
_resultValue.instanceType = instanceType;
_resultValue.lifecycleId = lifecycleId;
_resultValue.osType = osType;
_resultValue.primaryFabricLocation = primaryFabricLocation;
_resultValue.vmProtectionState = vmProtectionState;
_resultValue.vmProtectionStateDescription = vmProtectionStateDescription;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy