com.pulumi.azurenative.recoveryservices.outputs.VMwareV2FabricSpecificDetailsResponse 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.azurenative.recoveryservices.outputs.ProcessServerDetailsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class VMwareV2FabricSpecificDetailsResponse {
/**
* @return Gets the class type. Overridden in derived classes.
* Expected value is 'VMwareV2'.
*
*/
private String instanceType;
/**
* @return The Migration solution ARM Id.
*
*/
private String migrationSolutionId;
/**
* @return The ARM Id of the physical site.
*
*/
private String physicalSiteId;
/**
* @return The list of process servers.
*
*/
private List processServers;
/**
* @return The service container Id.
*
*/
private String serviceContainerId;
/**
* @return The service endpoint.
*
*/
private String serviceEndpoint;
/**
* @return The service resource Id.
*
*/
private String serviceResourceId;
/**
* @return The ARM Id of the VMware site.
*
*/
private String vmwareSiteId;
private VMwareV2FabricSpecificDetailsResponse() {}
/**
* @return Gets the class type. Overridden in derived classes.
* Expected value is 'VMwareV2'.
*
*/
public String instanceType() {
return this.instanceType;
}
/**
* @return The Migration solution ARM Id.
*
*/
public String migrationSolutionId() {
return this.migrationSolutionId;
}
/**
* @return The ARM Id of the physical site.
*
*/
public String physicalSiteId() {
return this.physicalSiteId;
}
/**
* @return The list of process servers.
*
*/
public List processServers() {
return this.processServers;
}
/**
* @return The service container Id.
*
*/
public String serviceContainerId() {
return this.serviceContainerId;
}
/**
* @return The service endpoint.
*
*/
public String serviceEndpoint() {
return this.serviceEndpoint;
}
/**
* @return The service resource Id.
*
*/
public String serviceResourceId() {
return this.serviceResourceId;
}
/**
* @return The ARM Id of the VMware site.
*
*/
public String vmwareSiteId() {
return this.vmwareSiteId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(VMwareV2FabricSpecificDetailsResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String instanceType;
private String migrationSolutionId;
private String physicalSiteId;
private List processServers;
private String serviceContainerId;
private String serviceEndpoint;
private String serviceResourceId;
private String vmwareSiteId;
public Builder() {}
public Builder(VMwareV2FabricSpecificDetailsResponse defaults) {
Objects.requireNonNull(defaults);
this.instanceType = defaults.instanceType;
this.migrationSolutionId = defaults.migrationSolutionId;
this.physicalSiteId = defaults.physicalSiteId;
this.processServers = defaults.processServers;
this.serviceContainerId = defaults.serviceContainerId;
this.serviceEndpoint = defaults.serviceEndpoint;
this.serviceResourceId = defaults.serviceResourceId;
this.vmwareSiteId = defaults.vmwareSiteId;
}
@CustomType.Setter
public Builder instanceType(String instanceType) {
if (instanceType == null) {
throw new MissingRequiredPropertyException("VMwareV2FabricSpecificDetailsResponse", "instanceType");
}
this.instanceType = instanceType;
return this;
}
@CustomType.Setter
public Builder migrationSolutionId(String migrationSolutionId) {
if (migrationSolutionId == null) {
throw new MissingRequiredPropertyException("VMwareV2FabricSpecificDetailsResponse", "migrationSolutionId");
}
this.migrationSolutionId = migrationSolutionId;
return this;
}
@CustomType.Setter
public Builder physicalSiteId(String physicalSiteId) {
if (physicalSiteId == null) {
throw new MissingRequiredPropertyException("VMwareV2FabricSpecificDetailsResponse", "physicalSiteId");
}
this.physicalSiteId = physicalSiteId;
return this;
}
@CustomType.Setter
public Builder processServers(List processServers) {
if (processServers == null) {
throw new MissingRequiredPropertyException("VMwareV2FabricSpecificDetailsResponse", "processServers");
}
this.processServers = processServers;
return this;
}
public Builder processServers(ProcessServerDetailsResponse... processServers) {
return processServers(List.of(processServers));
}
@CustomType.Setter
public Builder serviceContainerId(String serviceContainerId) {
if (serviceContainerId == null) {
throw new MissingRequiredPropertyException("VMwareV2FabricSpecificDetailsResponse", "serviceContainerId");
}
this.serviceContainerId = serviceContainerId;
return this;
}
@CustomType.Setter
public Builder serviceEndpoint(String serviceEndpoint) {
if (serviceEndpoint == null) {
throw new MissingRequiredPropertyException("VMwareV2FabricSpecificDetailsResponse", "serviceEndpoint");
}
this.serviceEndpoint = serviceEndpoint;
return this;
}
@CustomType.Setter
public Builder serviceResourceId(String serviceResourceId) {
if (serviceResourceId == null) {
throw new MissingRequiredPropertyException("VMwareV2FabricSpecificDetailsResponse", "serviceResourceId");
}
this.serviceResourceId = serviceResourceId;
return this;
}
@CustomType.Setter
public Builder vmwareSiteId(String vmwareSiteId) {
if (vmwareSiteId == null) {
throw new MissingRequiredPropertyException("VMwareV2FabricSpecificDetailsResponse", "vmwareSiteId");
}
this.vmwareSiteId = vmwareSiteId;
return this;
}
public VMwareV2FabricSpecificDetailsResponse build() {
final var _resultValue = new VMwareV2FabricSpecificDetailsResponse();
_resultValue.instanceType = instanceType;
_resultValue.migrationSolutionId = migrationSolutionId;
_resultValue.physicalSiteId = physicalSiteId;
_resultValue.processServers = processServers;
_resultValue.serviceContainerId = serviceContainerId;
_resultValue.serviceEndpoint = serviceEndpoint;
_resultValue.serviceResourceId = serviceResourceId;
_resultValue.vmwareSiteId = vmwareSiteId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy