
com.pulumi.azurenative.offazure.outputs.GetVcenterControllerResult 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.offazure.outputs;
import com.pulumi.azurenative.offazure.outputs.HealthErrorDetailsResponse;
import com.pulumi.azurenative.offazure.outputs.SystemDataResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetVcenterControllerResult {
/**
* @return Gets the timestamp marking vCenter creation.
*
*/
private String createdTimestamp;
/**
* @return Gets the errors.
*
*/
private List errors;
/**
* @return Gets or sets the FQDN/IPAddress of the vCenter.
*
*/
private @Nullable String fqdn;
/**
* @return Gets or sets the friendly name of the vCenter.
*
*/
private @Nullable String friendlyName;
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
private String id;
/**
* @return Gets the instance UUID of the vCenter.
*
*/
private String instanceUuid;
/**
* @return The name of the resource
*
*/
private String name;
/**
* @return Gets the performance statistics enabled on the vCenter.
*
*/
private String perfStatisticsLevel;
/**
* @return Gets or sets the port of the vCenter.
*
*/
private @Nullable String port;
/**
* @return The status of the last operation.
*
*/
private @Nullable String provisioningState;
/**
* @return Gets or sets the run as account ID of the vCenter.
*
*/
private @Nullable String runAsAccountId;
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
private SystemDataResponse systemData;
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
private String type;
/**
* @return Gets the timestamp marking last updated on the vCenter.
*
*/
private String updatedTimestamp;
/**
* @return Gets the version of the vCenter.
*
*/
private String version;
private GetVcenterControllerResult() {}
/**
* @return Gets the timestamp marking vCenter creation.
*
*/
public String createdTimestamp() {
return this.createdTimestamp;
}
/**
* @return Gets the errors.
*
*/
public List errors() {
return this.errors;
}
/**
* @return Gets or sets the FQDN/IPAddress of the vCenter.
*
*/
public Optional fqdn() {
return Optional.ofNullable(this.fqdn);
}
/**
* @return Gets or sets the friendly name of the vCenter.
*
*/
public Optional friendlyName() {
return Optional.ofNullable(this.friendlyName);
}
/**
* @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
*
*/
public String id() {
return this.id;
}
/**
* @return Gets the instance UUID of the vCenter.
*
*/
public String instanceUuid() {
return this.instanceUuid;
}
/**
* @return The name of the resource
*
*/
public String name() {
return this.name;
}
/**
* @return Gets the performance statistics enabled on the vCenter.
*
*/
public String perfStatisticsLevel() {
return this.perfStatisticsLevel;
}
/**
* @return Gets or sets the port of the vCenter.
*
*/
public Optional port() {
return Optional.ofNullable(this.port);
}
/**
* @return The status of the last operation.
*
*/
public Optional provisioningState() {
return Optional.ofNullable(this.provisioningState);
}
/**
* @return Gets or sets the run as account ID of the vCenter.
*
*/
public Optional runAsAccountId() {
return Optional.ofNullable(this.runAsAccountId);
}
/**
* @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
*
*/
public SystemDataResponse systemData() {
return this.systemData;
}
/**
* @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
*
*/
public String type() {
return this.type;
}
/**
* @return Gets the timestamp marking last updated on the vCenter.
*
*/
public String updatedTimestamp() {
return this.updatedTimestamp;
}
/**
* @return Gets the version of the vCenter.
*
*/
public String version() {
return this.version;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetVcenterControllerResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String createdTimestamp;
private List errors;
private @Nullable String fqdn;
private @Nullable String friendlyName;
private String id;
private String instanceUuid;
private String name;
private String perfStatisticsLevel;
private @Nullable String port;
private @Nullable String provisioningState;
private @Nullable String runAsAccountId;
private SystemDataResponse systemData;
private String type;
private String updatedTimestamp;
private String version;
public Builder() {}
public Builder(GetVcenterControllerResult defaults) {
Objects.requireNonNull(defaults);
this.createdTimestamp = defaults.createdTimestamp;
this.errors = defaults.errors;
this.fqdn = defaults.fqdn;
this.friendlyName = defaults.friendlyName;
this.id = defaults.id;
this.instanceUuid = defaults.instanceUuid;
this.name = defaults.name;
this.perfStatisticsLevel = defaults.perfStatisticsLevel;
this.port = defaults.port;
this.provisioningState = defaults.provisioningState;
this.runAsAccountId = defaults.runAsAccountId;
this.systemData = defaults.systemData;
this.type = defaults.type;
this.updatedTimestamp = defaults.updatedTimestamp;
this.version = defaults.version;
}
@CustomType.Setter
public Builder createdTimestamp(String createdTimestamp) {
if (createdTimestamp == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "createdTimestamp");
}
this.createdTimestamp = createdTimestamp;
return this;
}
@CustomType.Setter
public Builder errors(List errors) {
if (errors == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "errors");
}
this.errors = errors;
return this;
}
public Builder errors(HealthErrorDetailsResponse... errors) {
return errors(List.of(errors));
}
@CustomType.Setter
public Builder fqdn(@Nullable String fqdn) {
this.fqdn = fqdn;
return this;
}
@CustomType.Setter
public Builder friendlyName(@Nullable String friendlyName) {
this.friendlyName = friendlyName;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder instanceUuid(String instanceUuid) {
if (instanceUuid == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "instanceUuid");
}
this.instanceUuid = instanceUuid;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder perfStatisticsLevel(String perfStatisticsLevel) {
if (perfStatisticsLevel == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "perfStatisticsLevel");
}
this.perfStatisticsLevel = perfStatisticsLevel;
return this;
}
@CustomType.Setter
public Builder port(@Nullable String port) {
this.port = port;
return this;
}
@CustomType.Setter
public Builder provisioningState(@Nullable String provisioningState) {
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder runAsAccountId(@Nullable String runAsAccountId) {
this.runAsAccountId = runAsAccountId;
return this;
}
@CustomType.Setter
public Builder systemData(SystemDataResponse systemData) {
if (systemData == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "systemData");
}
this.systemData = systemData;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "type");
}
this.type = type;
return this;
}
@CustomType.Setter
public Builder updatedTimestamp(String updatedTimestamp) {
if (updatedTimestamp == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "updatedTimestamp");
}
this.updatedTimestamp = updatedTimestamp;
return this;
}
@CustomType.Setter
public Builder version(String version) {
if (version == null) {
throw new MissingRequiredPropertyException("GetVcenterControllerResult", "version");
}
this.version = version;
return this;
}
public GetVcenterControllerResult build() {
final var _resultValue = new GetVcenterControllerResult();
_resultValue.createdTimestamp = createdTimestamp;
_resultValue.errors = errors;
_resultValue.fqdn = fqdn;
_resultValue.friendlyName = friendlyName;
_resultValue.id = id;
_resultValue.instanceUuid = instanceUuid;
_resultValue.name = name;
_resultValue.perfStatisticsLevel = perfStatisticsLevel;
_resultValue.port = port;
_resultValue.provisioningState = provisioningState;
_resultValue.runAsAccountId = runAsAccountId;
_resultValue.systemData = systemData;
_resultValue.type = type;
_resultValue.updatedTimestamp = updatedTimestamp;
_resultValue.version = version;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy