
com.pulumi.azurenative.connectedvmwarevsphere.outputs.GetVCenterResult Maven / Gradle / Ivy
// *** 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.connectedvmwarevsphere.outputs;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.ExtendedLocationResponse;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.ResourceStatusResponse;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.SystemDataResponse;
import com.pulumi.azurenative.connectedvmwarevsphere.outputs.VICredentialResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetVCenterResult {
/**
* @return Gets or sets the connection status to the vCenter.
*
*/
private String connectionStatus;
/**
* @return Username / Password Credentials to connect to vcenter.
*
*/
private @Nullable VICredentialResponse credentials;
/**
* @return Gets the name of the corresponding resource in Kubernetes.
*
*/
private String customResourceName;
/**
* @return Gets or sets the extended location.
*
*/
private @Nullable ExtendedLocationResponse extendedLocation;
/**
* @return Gets or sets the FQDN/IPAddress of the vCenter.
*
*/
private String fqdn;
/**
* @return Gets or sets the Id.
*
*/
private String id;
/**
* @return Gets or sets the instance UUID of the vCenter.
*
*/
private String instanceUuid;
/**
* @return Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
*
*/
private @Nullable String kind;
/**
* @return Gets or sets the location.
*
*/
private String location;
/**
* @return Gets or sets the name.
*
*/
private String name;
/**
* @return Gets or sets the port of the vCenter.
*
*/
private @Nullable Integer port;
/**
* @return Gets or sets the provisioning state.
*
*/
private String provisioningState;
/**
* @return The resource status information.
*
*/
private List statuses;
/**
* @return The system data.
*
*/
private SystemDataResponse systemData;
/**
* @return Gets or sets the Resource tags.
*
*/
private @Nullable Map tags;
/**
* @return Gets or sets the type of the resource.
*
*/
private String type;
/**
* @return Gets or sets a unique identifier for this resource.
*
*/
private String uuid;
/**
* @return Gets or sets the version of the vCenter.
*
*/
private String version;
private GetVCenterResult() {}
/**
* @return Gets or sets the connection status to the vCenter.
*
*/
public String connectionStatus() {
return this.connectionStatus;
}
/**
* @return Username / Password Credentials to connect to vcenter.
*
*/
public Optional credentials() {
return Optional.ofNullable(this.credentials);
}
/**
* @return Gets the name of the corresponding resource in Kubernetes.
*
*/
public String customResourceName() {
return this.customResourceName;
}
/**
* @return Gets or sets the extended location.
*
*/
public Optional extendedLocation() {
return Optional.ofNullable(this.extendedLocation);
}
/**
* @return Gets or sets the FQDN/IPAddress of the vCenter.
*
*/
public String fqdn() {
return this.fqdn;
}
/**
* @return Gets or sets the Id.
*
*/
public String id() {
return this.id;
}
/**
* @return Gets or sets the instance UUID of the vCenter.
*
*/
public String instanceUuid() {
return this.instanceUuid;
}
/**
* @return Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
*
*/
public Optional kind() {
return Optional.ofNullable(this.kind);
}
/**
* @return Gets or sets the location.
*
*/
public String location() {
return this.location;
}
/**
* @return Gets or sets the name.
*
*/
public String name() {
return this.name;
}
/**
* @return Gets or sets the port of the vCenter.
*
*/
public Optional port() {
return Optional.ofNullable(this.port);
}
/**
* @return Gets or sets the provisioning state.
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return The resource status information.
*
*/
public List statuses() {
return this.statuses;
}
/**
* @return The system data.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return Gets or sets the Resource tags.
*
*/
public Map tags() {
return this.tags == null ? Map.of() : this.tags;
}
/**
* @return Gets or sets the type of the resource.
*
*/
public String type() {
return this.type;
}
/**
* @return Gets or sets a unique identifier for this resource.
*
*/
public String uuid() {
return this.uuid;
}
/**
* @return Gets or sets the version of the vCenter.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVCenterResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String connectionStatus;
private @Nullable VICredentialResponse credentials;
private String customResourceName;
private @Nullable ExtendedLocationResponse extendedLocation;
private String fqdn;
private String id;
private String instanceUuid;
private @Nullable String kind;
private String location;
private String name;
private @Nullable Integer port;
private String provisioningState;
private List statuses;
private SystemDataResponse systemData;
private @Nullable Map tags;
private String type;
private String uuid;
private String version;
public Builder() {}
public Builder(GetVCenterResult defaults) {
Objects.requireNonNull(defaults);
this.connectionStatus = defaults.connectionStatus;
this.credentials = defaults.credentials;
this.customResourceName = defaults.customResourceName;
this.extendedLocation = defaults.extendedLocation;
this.fqdn = defaults.fqdn;
this.id = defaults.id;
this.instanceUuid = defaults.instanceUuid;
this.kind = defaults.kind;
this.location = defaults.location;
this.name = defaults.name;
this.port = defaults.port;
this.provisioningState = defaults.provisioningState;
this.statuses = defaults.statuses;
this.systemData = defaults.systemData;
this.tags = defaults.tags;
this.type = defaults.type;
this.uuid = defaults.uuid;
this.version = defaults.version;
}
@CustomType.Setter
public Builder connectionStatus(String connectionStatus) {
if (connectionStatus == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "connectionStatus");
}
this.connectionStatus = connectionStatus;
return this;
}
@CustomType.Setter
public Builder credentials(@Nullable VICredentialResponse credentials) {
this.credentials = credentials;
return this;
}
@CustomType.Setter
public Builder customResourceName(String customResourceName) {
if (customResourceName == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "customResourceName");
}
this.customResourceName = customResourceName;
return this;
}
@CustomType.Setter
public Builder extendedLocation(@Nullable ExtendedLocationResponse extendedLocation) {
this.extendedLocation = extendedLocation;
return this;
}
@CustomType.Setter
public Builder fqdn(String fqdn) {
if (fqdn == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "fqdn");
}
this.fqdn = fqdn;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder instanceUuid(String instanceUuid) {
if (instanceUuid == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "instanceUuid");
}
this.instanceUuid = instanceUuid;
return this;
}
@CustomType.Setter
public Builder kind(@Nullable String kind) {
this.kind = kind;
return this;
}
@CustomType.Setter
public Builder location(String location) {
if (location == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "location");
}
this.location = location;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder port(@Nullable Integer port) {
this.port = port;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder statuses(List statuses) {
if (statuses == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "statuses");
}
this.statuses = statuses;
return this;
}
public Builder statuses(ResourceStatusResponse... statuses) {
return statuses(List.of(statuses));
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder tags(@Nullable Map tags) {
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder uuid(String uuid) {
if (uuid == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "uuid");
}
this.uuid = uuid;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetVCenterResult", "version");
}
this.version = version;
return this;
}
public GetVCenterResult build() {
final var _resultValue = new GetVCenterResult();
_resultValue.connectionStatus = connectionStatus;
_resultValue.credentials = credentials;
_resultValue.customResourceName = customResourceName;
_resultValue.extendedLocation = extendedLocation;
_resultValue.fqdn = fqdn;
_resultValue.id = id;
_resultValue.instanceUuid = instanceUuid;
_resultValue.kind = kind;
_resultValue.location = location;
_resultValue.name = name;
_resultValue.port = port;
_resultValue.provisioningState = provisioningState;
_resultValue.statuses = statuses;
_resultValue.systemData = systemData;
_resultValue.tags = tags;
_resultValue.type = type;
_resultValue.uuid = uuid;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy