com.pulumi.azurenative.recoveryservices.outputs.GenericContainerResponse 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.
The newest version!
// *** 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.azurenative.recoveryservices.outputs.GenericContainerExtendedInfoResponse;
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 GenericContainerResponse {
/**
* @return Type of backup management for the container.
*
*/
private @Nullable String backupManagementType;
/**
* @return Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
* Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
* Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
* Backup is VMAppContainer
* Expected value is 'GenericContainer'.
*
*/
private String containerType;
/**
* @return Extended information (not returned in List container API calls)
*
*/
private @Nullable GenericContainerExtendedInfoResponse extendedInformation;
/**
* @return Name of the container's fabric
*
*/
private @Nullable String fabricName;
/**
* @return Friendly name of the container.
*
*/
private @Nullable String friendlyName;
/**
* @return Status of health of the container.
*
*/
private @Nullable String healthStatus;
/**
* @return Type of the protectable object associated with this container
*
*/
private @Nullable String protectableObjectType;
/**
* @return Status of registration of the container with the Recovery Services Vault.
*
*/
private @Nullable String registrationStatus;
private GenericContainerResponse() {}
/**
* @return Type of backup management for the container.
*
*/
public Optional backupManagementType() {
return Optional.ofNullable(this.backupManagementType);
}
/**
* @return Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
* Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
* Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
* Backup is VMAppContainer
* Expected value is 'GenericContainer'.
*
*/
public String containerType() {
return this.containerType;
}
/**
* @return Extended information (not returned in List container API calls)
*
*/
public Optional extendedInformation() {
return Optional.ofNullable(this.extendedInformation);
}
/**
* @return Name of the container's fabric
*
*/
public Optional fabricName() {
return Optional.ofNullable(this.fabricName);
}
/**
* @return Friendly name of the container.
*
*/
public Optional friendlyName() {
return Optional.ofNullable(this.friendlyName);
}
/**
* @return Status of health of the container.
*
*/
public Optional healthStatus() {
return Optional.ofNullable(this.healthStatus);
}
/**
* @return Type of the protectable object associated with this container
*
*/
public Optional protectableObjectType() {
return Optional.ofNullable(this.protectableObjectType);
}
/**
* @return Status of registration of the container with the Recovery Services Vault.
*
*/
public Optional registrationStatus() {
return Optional.ofNullable(this.registrationStatus);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GenericContainerResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String backupManagementType;
private String containerType;
private @Nullable GenericContainerExtendedInfoResponse extendedInformation;
private @Nullable String fabricName;
private @Nullable String friendlyName;
private @Nullable String healthStatus;
private @Nullable String protectableObjectType;
private @Nullable String registrationStatus;
public Builder() {}
public Builder(GenericContainerResponse defaults) {
Objects.requireNonNull(defaults);
this.backupManagementType = defaults.backupManagementType;
this.containerType = defaults.containerType;
this.extendedInformation = defaults.extendedInformation;
this.fabricName = defaults.fabricName;
this.friendlyName = defaults.friendlyName;
this.healthStatus = defaults.healthStatus;
this.protectableObjectType = defaults.protectableObjectType;
this.registrationStatus = defaults.registrationStatus;
}
@CustomType.Setter
public Builder backupManagementType(@Nullable String backupManagementType) {
this.backupManagementType = backupManagementType;
return this;
}
@CustomType.Setter
public Builder containerType(String containerType) {
if (containerType == null) {
throw new MissingRequiredPropertyException("GenericContainerResponse", "containerType");
}
this.containerType = containerType;
return this;
}
@CustomType.Setter
public Builder extendedInformation(@Nullable GenericContainerExtendedInfoResponse extendedInformation) {
this.extendedInformation = extendedInformation;
return this;
}
@CustomType.Setter
public Builder fabricName(@Nullable String fabricName) {
this.fabricName = fabricName;
return this;
}
@CustomType.Setter
public Builder friendlyName(@Nullable String friendlyName) {
this.friendlyName = friendlyName;
return this;
}
@CustomType.Setter
public Builder healthStatus(@Nullable String healthStatus) {
this.healthStatus = healthStatus;
return this;
}
@CustomType.Setter
public Builder protectableObjectType(@Nullable String protectableObjectType) {
this.protectableObjectType = protectableObjectType;
return this;
}
@CustomType.Setter
public Builder registrationStatus(@Nullable String registrationStatus) {
this.registrationStatus = registrationStatus;
return this;
}
public GenericContainerResponse build() {
final var _resultValue = new GenericContainerResponse();
_resultValue.backupManagementType = backupManagementType;
_resultValue.containerType = containerType;
_resultValue.extendedInformation = extendedInformation;
_resultValue.fabricName = fabricName;
_resultValue.friendlyName = friendlyName;
_resultValue.healthStatus = healthStatus;
_resultValue.protectableObjectType = protectableObjectType;
_resultValue.registrationStatus = registrationStatus;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy