
com.pulumi.azurenative.hybridcontainerservice.outputs.ProvisionedClustersResponsePropertiesResponse 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.hybridcontainerservice.outputs;
import com.pulumi.azurenative.hybridcontainerservice.outputs.AADProfileResponseResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.AddonProfilesResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.CloudProviderProfileResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.ControlPlaneProfileResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.HttpProxyConfigResponseResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.LinuxProfilePropertiesResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.NamedAgentPoolProfileResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.NetworkProfileResponse;
import com.pulumi.azurenative.hybridcontainerservice.outputs.ProvisionedClustersCommonPropertiesResponseFeatures;
import com.pulumi.azurenative.hybridcontainerservice.outputs.ProvisionedClustersCommonPropertiesResponseStatus;
import com.pulumi.azurenative.hybridcontainerservice.outputs.WindowsProfileResponseResponse;
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.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ProvisionedClustersResponsePropertiesResponse {
/**
* @return AAD profile for the provisioned cluster.
*
*/
private @Nullable AADProfileResponseResponse aadProfile;
/**
* @return AddonProfiles - Profile of managed cluster add-on.
*
*/
private @Nullable Map addonProfiles;
/**
* @return The agent pools of the cluster.
*
*/
private @Nullable List agentPoolProfiles;
/**
* @return The underlying cloud infra provider properties.
*
*/
private @Nullable CloudProviderProfileResponse cloudProviderProfile;
/**
* @return ControlPlane - ControlPlane Configuration
*
*/
private @Nullable ControlPlaneProfileResponse controlPlane;
/**
* @return EnableRBAC - Whether to enable Kubernetes Role-Based Access Control.
*
*/
private @Nullable Boolean enableRbac;
/**
* @return Additional features specs like Arc Agent Onboarding.
*
*/
private @Nullable ProvisionedClustersCommonPropertiesResponseFeatures features;
/**
* @return HttpProxyConfig - Configurations for provisioning the cluster with HTTP proxy servers.
*
*/
private @Nullable HttpProxyConfigResponseResponse httpProxyConfig;
/**
* @return KubernetesVersion - Version of Kubernetes specified when creating the managed cluster.
*
*/
private @Nullable String kubernetesVersion;
/**
* @return LinuxProfile - The profile for Linux VMs in the Provisioned Cluster.
*
*/
private @Nullable LinuxProfilePropertiesResponse linuxProfile;
/**
* @return NetworkProfile - Profile of network configuration.
*
*/
private @Nullable NetworkProfileResponse networkProfile;
/**
* @return NodeResourceGroup - Name of the resource group containing agent pool nodes.
*
*/
private @Nullable String nodeResourceGroup;
private String provisioningState;
/**
* @return HybridAKSClusterStatus defines the observed state of HybridAKSCluster
*
*/
private ProvisionedClustersCommonPropertiesResponseStatus status;
/**
* @return WindowsProfile - Profile for Windows VMs in the Provisioned Cluster.
*
*/
private @Nullable WindowsProfileResponseResponse windowsProfile;
private ProvisionedClustersResponsePropertiesResponse() {}
/**
* @return AAD profile for the provisioned cluster.
*
*/
public Optional aadProfile() {
return Optional.ofNullable(this.aadProfile);
}
/**
* @return AddonProfiles - Profile of managed cluster add-on.
*
*/
public Map addonProfiles() {
return this.addonProfiles == null ? Map.of() : this.addonProfiles;
}
/**
* @return The agent pools of the cluster.
*
*/
public List agentPoolProfiles() {
return this.agentPoolProfiles == null ? List.of() : this.agentPoolProfiles;
}
/**
* @return The underlying cloud infra provider properties.
*
*/
public Optional cloudProviderProfile() {
return Optional.ofNullable(this.cloudProviderProfile);
}
/**
* @return ControlPlane - ControlPlane Configuration
*
*/
public Optional controlPlane() {
return Optional.ofNullable(this.controlPlane);
}
/**
* @return EnableRBAC - Whether to enable Kubernetes Role-Based Access Control.
*
*/
public Optional enableRbac() {
return Optional.ofNullable(this.enableRbac);
}
/**
* @return Additional features specs like Arc Agent Onboarding.
*
*/
public Optional features() {
return Optional.ofNullable(this.features);
}
/**
* @return HttpProxyConfig - Configurations for provisioning the cluster with HTTP proxy servers.
*
*/
public Optional httpProxyConfig() {
return Optional.ofNullable(this.httpProxyConfig);
}
/**
* @return KubernetesVersion - Version of Kubernetes specified when creating the managed cluster.
*
*/
public Optional kubernetesVersion() {
return Optional.ofNullable(this.kubernetesVersion);
}
/**
* @return LinuxProfile - The profile for Linux VMs in the Provisioned Cluster.
*
*/
public Optional linuxProfile() {
return Optional.ofNullable(this.linuxProfile);
}
/**
* @return NetworkProfile - Profile of network configuration.
*
*/
public Optional networkProfile() {
return Optional.ofNullable(this.networkProfile);
}
/**
* @return NodeResourceGroup - Name of the resource group containing agent pool nodes.
*
*/
public Optional nodeResourceGroup() {
return Optional.ofNullable(this.nodeResourceGroup);
}
public String provisioningState() {
return this.provisioningState;
}
/**
* @return HybridAKSClusterStatus defines the observed state of HybridAKSCluster
*
*/
public ProvisionedClustersCommonPropertiesResponseStatus status() {
return this.status;
}
/**
* @return WindowsProfile - Profile for Windows VMs in the Provisioned Cluster.
*
*/
public Optional windowsProfile() {
return Optional.ofNullable(this.windowsProfile);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProvisionedClustersResponsePropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable AADProfileResponseResponse aadProfile;
private @Nullable Map addonProfiles;
private @Nullable List agentPoolProfiles;
private @Nullable CloudProviderProfileResponse cloudProviderProfile;
private @Nullable ControlPlaneProfileResponse controlPlane;
private @Nullable Boolean enableRbac;
private @Nullable ProvisionedClustersCommonPropertiesResponseFeatures features;
private @Nullable HttpProxyConfigResponseResponse httpProxyConfig;
private @Nullable String kubernetesVersion;
private @Nullable LinuxProfilePropertiesResponse linuxProfile;
private @Nullable NetworkProfileResponse networkProfile;
private @Nullable String nodeResourceGroup;
private String provisioningState;
private ProvisionedClustersCommonPropertiesResponseStatus status;
private @Nullable WindowsProfileResponseResponse windowsProfile;
public Builder() {}
public Builder(ProvisionedClustersResponsePropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.aadProfile = defaults.aadProfile;
this.addonProfiles = defaults.addonProfiles;
this.agentPoolProfiles = defaults.agentPoolProfiles;
this.cloudProviderProfile = defaults.cloudProviderProfile;
this.controlPlane = defaults.controlPlane;
this.enableRbac = defaults.enableRbac;
this.features = defaults.features;
this.httpProxyConfig = defaults.httpProxyConfig;
this.kubernetesVersion = defaults.kubernetesVersion;
this.linuxProfile = defaults.linuxProfile;
this.networkProfile = defaults.networkProfile;
this.nodeResourceGroup = defaults.nodeResourceGroup;
this.provisioningState = defaults.provisioningState;
this.status = defaults.status;
this.windowsProfile = defaults.windowsProfile;
}
@CustomType.Setter
public Builder aadProfile(@Nullable AADProfileResponseResponse aadProfile) {
this.aadProfile = aadProfile;
return this;
}
@CustomType.Setter
public Builder addonProfiles(@Nullable Map addonProfiles) {
this.addonProfiles = addonProfiles;
return this;
}
@CustomType.Setter
public Builder agentPoolProfiles(@Nullable List agentPoolProfiles) {
this.agentPoolProfiles = agentPoolProfiles;
return this;
}
public Builder agentPoolProfiles(NamedAgentPoolProfileResponse... agentPoolProfiles) {
return agentPoolProfiles(List.of(agentPoolProfiles));
}
@CustomType.Setter
public Builder cloudProviderProfile(@Nullable CloudProviderProfileResponse cloudProviderProfile) {
this.cloudProviderProfile = cloudProviderProfile;
return this;
}
@CustomType.Setter
public Builder controlPlane(@Nullable ControlPlaneProfileResponse controlPlane) {
this.controlPlane = controlPlane;
return this;
}
@CustomType.Setter
public Builder enableRbac(@Nullable Boolean enableRbac) {
this.enableRbac = enableRbac;
return this;
}
@CustomType.Setter
public Builder features(@Nullable ProvisionedClustersCommonPropertiesResponseFeatures features) {
this.features = features;
return this;
}
@CustomType.Setter
public Builder httpProxyConfig(@Nullable HttpProxyConfigResponseResponse httpProxyConfig) {
this.httpProxyConfig = httpProxyConfig;
return this;
}
@CustomType.Setter
public Builder kubernetesVersion(@Nullable String kubernetesVersion) {
this.kubernetesVersion = kubernetesVersion;
return this;
}
@CustomType.Setter
public Builder linuxProfile(@Nullable LinuxProfilePropertiesResponse linuxProfile) {
this.linuxProfile = linuxProfile;
return this;
}
@CustomType.Setter
public Builder networkProfile(@Nullable NetworkProfileResponse networkProfile) {
this.networkProfile = networkProfile;
return this;
}
@CustomType.Setter
public Builder nodeResourceGroup(@Nullable String nodeResourceGroup) {
this.nodeResourceGroup = nodeResourceGroup;
return this;
}
@CustomType.Setter
public Builder provisioningState(String provisioningState) {
if (provisioningState == null) {
throw new MissingRequiredPropertyException("ProvisionedClustersResponsePropertiesResponse", "provisioningState");
}
this.provisioningState = provisioningState;
return this;
}
@CustomType.Setter
public Builder status(ProvisionedClustersCommonPropertiesResponseStatus status) {
if (status == null) {
throw new MissingRequiredPropertyException("ProvisionedClustersResponsePropertiesResponse", "status");
}
this.status = status;
return this;
}
@CustomType.Setter
public Builder windowsProfile(@Nullable WindowsProfileResponseResponse windowsProfile) {
this.windowsProfile = windowsProfile;
return this;
}
public ProvisionedClustersResponsePropertiesResponse build() {
final var _resultValue = new ProvisionedClustersResponsePropertiesResponse();
_resultValue.aadProfile = aadProfile;
_resultValue.addonProfiles = addonProfiles;
_resultValue.agentPoolProfiles = agentPoolProfiles;
_resultValue.cloudProviderProfile = cloudProviderProfile;
_resultValue.controlPlane = controlPlane;
_resultValue.enableRbac = enableRbac;
_resultValue.features = features;
_resultValue.httpProxyConfig = httpProxyConfig;
_resultValue.kubernetesVersion = kubernetesVersion;
_resultValue.linuxProfile = linuxProfile;
_resultValue.networkProfile = networkProfile;
_resultValue.nodeResourceGroup = nodeResourceGroup;
_resultValue.provisioningState = provisioningState;
_resultValue.status = status;
_resultValue.windowsProfile = windowsProfile;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy