com.pulumi.azurenative.recoveryservices.outputs.InMageRcmDiscoveredProtectedVmDetailsResponse 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.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class InMageRcmDiscoveredProtectedVmDetailsResponse {
/**
* @return The SDS created timestamp.
*
*/
private String createdTimestamp;
/**
* @return The list of datastores.
*
*/
private List datastores;
/**
* @return The list of IP addresses.
*
*/
private List ipAddresses;
/**
* @return A value indicating whether the VM is deleted.
*
*/
private Boolean isDeleted;
/**
* @return The last time when SDS information discovered in SRS.
*
*/
private String lastDiscoveryTimeInUtc;
/**
* @return The VM's OS name.
*
*/
private String osName;
/**
* @return The VM power status.
*
*/
private String powerStatus;
/**
* @return The SDS updated timestamp.
*
*/
private String updatedTimestamp;
/**
* @return The VCenter fqdn.
*
*/
private String vCenterFqdn;
/**
* @return The VCenter Id.
*
*/
private String vCenterId;
/**
* @return The VM fqdn.
*
*/
private String vmFqdn;
/**
* @return The VMware tools status.
*
*/
private String vmwareToolsStatus;
private InMageRcmDiscoveredProtectedVmDetailsResponse() {}
/**
* @return The SDS created timestamp.
*
*/
public String createdTimestamp() {
return this.createdTimestamp;
}
/**
* @return The list of datastores.
*
*/
public List datastores() {
return this.datastores;
}
/**
* @return The list of IP addresses.
*
*/
public List ipAddresses() {
return this.ipAddresses;
}
/**
* @return A value indicating whether the VM is deleted.
*
*/
public Boolean isDeleted() {
return this.isDeleted;
}
/**
* @return The last time when SDS information discovered in SRS.
*
*/
public String lastDiscoveryTimeInUtc() {
return this.lastDiscoveryTimeInUtc;
}
/**
* @return The VM's OS name.
*
*/
public String osName() {
return this.osName;
}
/**
* @return The VM power status.
*
*/
public String powerStatus() {
return this.powerStatus;
}
/**
* @return The SDS updated timestamp.
*
*/
public String updatedTimestamp() {
return this.updatedTimestamp;
}
/**
* @return The VCenter fqdn.
*
*/
public String vCenterFqdn() {
return this.vCenterFqdn;
}
/**
* @return The VCenter Id.
*
*/
public String vCenterId() {
return this.vCenterId;
}
/**
* @return The VM fqdn.
*
*/
public String vmFqdn() {
return this.vmFqdn;
}
/**
* @return The VMware tools status.
*
*/
public String vmwareToolsStatus() {
return this.vmwareToolsStatus;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(InMageRcmDiscoveredProtectedVmDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdTimestamp;
private List datastores;
private List ipAddresses;
private Boolean isDeleted;
private String lastDiscoveryTimeInUtc;
private String osName;
private String powerStatus;
private String updatedTimestamp;
private String vCenterFqdn;
private String vCenterId;
private String vmFqdn;
private String vmwareToolsStatus;
public Builder() {}
public Builder(InMageRcmDiscoveredProtectedVmDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.createdTimestamp = defaults.createdTimestamp;
this.datastores = defaults.datastores;
this.ipAddresses = defaults.ipAddresses;
this.isDeleted = defaults.isDeleted;
this.lastDiscoveryTimeInUtc = defaults.lastDiscoveryTimeInUtc;
this.osName = defaults.osName;
this.powerStatus = defaults.powerStatus;
this.updatedTimestamp = defaults.updatedTimestamp;
this.vCenterFqdn = defaults.vCenterFqdn;
this.vCenterId = defaults.vCenterId;
this.vmFqdn = defaults.vmFqdn;
this.vmwareToolsStatus = defaults.vmwareToolsStatus;
}
@CustomType.Setter
public Builder createdTimestamp(String createdTimestamp) {
if (createdTimestamp == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "createdTimestamp");
}
this.createdTimestamp = createdTimestamp;
return this;
}
@CustomType.Setter
public Builder datastores(List datastores) {
if (datastores == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "datastores");
}
this.datastores = datastores;
return this;
}
public Builder datastores(String... datastores) {
return datastores(List.of(datastores));
}
@CustomType.Setter
public Builder ipAddresses(List ipAddresses) {
if (ipAddresses == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "ipAddresses");
}
this.ipAddresses = ipAddresses;
return this;
}
public Builder ipAddresses(String... ipAddresses) {
return ipAddresses(List.of(ipAddresses));
}
@CustomType.Setter
public Builder isDeleted(Boolean isDeleted) {
if (isDeleted == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "isDeleted");
}
this.isDeleted = isDeleted;
return this;
}
@CustomType.Setter
public Builder lastDiscoveryTimeInUtc(String lastDiscoveryTimeInUtc) {
if (lastDiscoveryTimeInUtc == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "lastDiscoveryTimeInUtc");
}
this.lastDiscoveryTimeInUtc = lastDiscoveryTimeInUtc;
return this;
}
@CustomType.Setter
public Builder osName(String osName) {
if (osName == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "osName");
}
this.osName = osName;
return this;
}
@CustomType.Setter
public Builder powerStatus(String powerStatus) {
if (powerStatus == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "powerStatus");
}
this.powerStatus = powerStatus;
return this;
}
@CustomType.Setter
public Builder updatedTimestamp(String updatedTimestamp) {
if (updatedTimestamp == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "updatedTimestamp");
}
this.updatedTimestamp = updatedTimestamp;
return this;
}
@CustomType.Setter
public Builder vCenterFqdn(String vCenterFqdn) {
if (vCenterFqdn == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "vCenterFqdn");
}
this.vCenterFqdn = vCenterFqdn;
return this;
}
@CustomType.Setter
public Builder vCenterId(String vCenterId) {
if (vCenterId == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "vCenterId");
}
this.vCenterId = vCenterId;
return this;
}
@CustomType.Setter
public Builder vmFqdn(String vmFqdn) {
if (vmFqdn == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "vmFqdn");
}
this.vmFqdn = vmFqdn;
return this;
}
@CustomType.Setter
public Builder vmwareToolsStatus(String vmwareToolsStatus) {
if (vmwareToolsStatus == null) {
throw new MissingRequiredPropertyException("InMageRcmDiscoveredProtectedVmDetailsResponse", "vmwareToolsStatus");
}
this.vmwareToolsStatus = vmwareToolsStatus;
return this;
}
public InMageRcmDiscoveredProtectedVmDetailsResponse build() {
final var _resultValue = new InMageRcmDiscoveredProtectedVmDetailsResponse();
_resultValue.createdTimestamp = createdTimestamp;
_resultValue.datastores = datastores;
_resultValue.ipAddresses = ipAddresses;
_resultValue.isDeleted = isDeleted;
_resultValue.lastDiscoveryTimeInUtc = lastDiscoveryTimeInUtc;
_resultValue.osName = osName;
_resultValue.powerStatus = powerStatus;
_resultValue.updatedTimestamp = updatedTimestamp;
_resultValue.vCenterFqdn = vCenterFqdn;
_resultValue.vCenterId = vCenterId;
_resultValue.vmFqdn = vmFqdn;
_resultValue.vmwareToolsStatus = vmwareToolsStatus;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy