
com.pulumi.azurenative.appplatform.outputs.ClusterResourcePropertiesResponse 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.appplatform.outputs;
import com.pulumi.azurenative.appplatform.outputs.MarketplaceResourceResponse;
import com.pulumi.azurenative.appplatform.outputs.NetworkProfileResponse;
import com.pulumi.azurenative.appplatform.outputs.ServiceVNetAddonsResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterResourcePropertiesResponse {
/**
* @return Fully qualified dns name of the service instance
*
*/
private String fqdn;
/**
* @return The name of the resource group that contains the infrastructure resources
*
*/
private @Nullable String infraResourceGroup;
/**
* @return The resource Id of the Managed Environment that the Spring Apps instance builds on
*
*/
private @Nullable String managedEnvironmentId;
/**
* @return Purchasing 3rd party product of the Service resource.
*
*/
private @Nullable MarketplaceResourceResponse marketplaceResource;
/**
* @return Network profile of the Service
*
*/
private @Nullable NetworkProfileResponse networkProfile;
/**
* @return Power state of the Service
*
*/
private String powerState;
/**
* @return Provisioning state of the Service
*
*/
private String provisioningState;
/**
* @return ServiceInstanceEntity Id which uniquely identifies a created resource
*
*/
private String serviceId;
/**
* @return Version of the Service
*
*/
private Integer version;
/**
* @return Additional Service settings in vnet injection instance
*
*/
private @Nullable ServiceVNetAddonsResponse vnetAddons;
private @Nullable Boolean zoneRedundant;
private ClusterResourcePropertiesResponse() {}
/**
* @return Fully qualified dns name of the service instance
*
*/
public String fqdn() {
return this.fqdn;
}
/**
* @return The name of the resource group that contains the infrastructure resources
*
*/
public Optional infraResourceGroup() {
return Optional.ofNullable(this.infraResourceGroup);
}
/**
* @return The resource Id of the Managed Environment that the Spring Apps instance builds on
*
*/
public Optional managedEnvironmentId() {
return Optional.ofNullable(this.managedEnvironmentId);
}
/**
* @return Purchasing 3rd party product of the Service resource.
*
*/
public Optional marketplaceResource() {
return Optional.ofNullable(this.marketplaceResource);
}
/**
* @return Network profile of the Service
*
*/
public Optional networkProfile() {
return Optional.ofNullable(this.networkProfile);
}
/**
* @return Power state of the Service
*
*/
public String powerState() {
return this.powerState;
}
/**
* @return Provisioning state of the Service
*
*/
public String provisioningState() {
return this.provisioningState;
}
/**
* @return ServiceInstanceEntity Id which uniquely identifies a created resource
*
*/
public String serviceId() {
return this.serviceId;
}
/**
* @return Version of the Service
*
*/
public Integer version() {
return this.version;
}
/**
* @return Additional Service settings in vnet injection instance
*
*/
public Optional vnetAddons() {
return Optional.ofNullable(this.vnetAddons);
}
public Optional zoneRedundant() {
return Optional.ofNullable(this.zoneRedundant);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterResourcePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String fqdn;
private @Nullable String infraResourceGroup;
private @Nullable String managedEnvironmentId;
private @Nullable MarketplaceResourceResponse marketplaceResource;
private @Nullable NetworkProfileResponse networkProfile;
private String powerState;
private String provisioningState;
private String serviceId;
private Integer version;
private @Nullable ServiceVNetAddonsResponse vnetAddons;
private @Nullable Boolean zoneRedundant;
public Builder() {}
public Builder(ClusterResourcePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.fqdn = defaults.fqdn;
this.infraResourceGroup = defaults.infraResourceGroup;
this.managedEnvironmentId = defaults.managedEnvironmentId;
this.marketplaceResource = defaults.marketplaceResource;
this.networkProfile = defaults.networkProfile;
this.powerState = defaults.powerState;
this.provisioningState = defaults.provisioningState;
this.serviceId = defaults.serviceId;
this.version = defaults.version;
this.vnetAddons = defaults.vnetAddons;
this.zoneRedundant = defaults.zoneRedundant;
}
@CustomType.Setter
public Builder fqdn(String fqdn) {
if (fqdn == null) {
throw new MissingRequiredPropertyException("ClusterResourcePropertiesResponse", "fqdn");
}
this.fqdn = fqdn;
return this;
}
@CustomType.Setter
public Builder infraResourceGroup(@Nullable String infraResourceGroup) {
this.infraResourceGroup = infraResourceGroup;
return this;
}
@CustomType.Setter
public Builder managedEnvironmentId(@Nullable String managedEnvironmentId) {
this.managedEnvironmentId = managedEnvironmentId;
return this;
}
@CustomType.Setter
public Builder marketplaceResource(@Nullable MarketplaceResourceResponse marketplaceResource) {
this.marketplaceResource = marketplaceResource;
return this;
}
@CustomType.Setter
public Builder networkProfile(@Nullable NetworkProfileResponse networkProfile) {
this.networkProfile = networkProfile;
return this;
}
@CustomType.Setter
public Builder powerState(String powerState) {
if (powerState == null) {
throw new MissingRequiredPropertyException("ClusterResourcePropertiesResponse", "powerState");
}
this.powerState = powerState;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ClusterResourcePropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder serviceId(String serviceId) {
if (serviceId == null) {
throw new MissingRequiredPropertyException("ClusterResourcePropertiesResponse", "serviceId");
}
this.serviceId = serviceId;
return this;
}
@CustomType.Setter
public Builder version(Integer version) {
if (version == null) {
throw new MissingRequiredPropertyException("ClusterResourcePropertiesResponse", "version");
}
this.version = version;
return this;
}
@CustomType.Setter
public Builder vnetAddons(@Nullable ServiceVNetAddonsResponse vnetAddons) {
this.vnetAddons = vnetAddons;
return this;
}
@CustomType.Setter
public Builder zoneRedundant(@Nullable Boolean zoneRedundant) {
this.zoneRedundant = zoneRedundant;
return this;
}
public ClusterResourcePropertiesResponse build() {
final var _resultValue = new ClusterResourcePropertiesResponse();
_resultValue.fqdn = fqdn;
_resultValue.infraResourceGroup = infraResourceGroup;
_resultValue.managedEnvironmentId = managedEnvironmentId;
_resultValue.marketplaceResource = marketplaceResource;
_resultValue.networkProfile = networkProfile;
_resultValue.powerState = powerState;
_resultValue.provisioningState = provisioningState;
_resultValue.serviceId = serviceId;
_resultValue.version = version;
_resultValue.vnetAddons = vnetAddons;
_resultValue.zoneRedundant = zoneRedundant;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy