
com.pulumi.azurenative.hdinsight.outputs.ClusterPoolResourcePropertiesResponseAksClusterProfile 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.hdinsight.outputs;
import com.pulumi.azurenative.hdinsight.outputs.AksClusterProfileResponseAksClusterAgentPoolIdentityProfile;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ClusterPoolResourcePropertiesResponseAksClusterProfile {
/**
* @return Identity properties of the AKS cluster agentpool MSI
*
*/
private @Nullable AksClusterProfileResponseAksClusterAgentPoolIdentityProfile aksClusterAgentPoolIdentityProfile;
/**
* @return ARM Resource ID of the AKS cluster
*
*/
private @Nullable String aksClusterResourceId;
/**
* @return AKS control plane and default node pool version of this ClusterPool
*
*/
private String aksVersion;
private ClusterPoolResourcePropertiesResponseAksClusterProfile() {}
/**
* @return Identity properties of the AKS cluster agentpool MSI
*
*/
public Optional aksClusterAgentPoolIdentityProfile() {
return Optional.ofNullable(this.aksClusterAgentPoolIdentityProfile);
}
/**
* @return ARM Resource ID of the AKS cluster
*
*/
public Optional aksClusterResourceId() {
return Optional.ofNullable(this.aksClusterResourceId);
}
/**
* @return AKS control plane and default node pool version of this ClusterPool
*
*/
public String aksVersion() {
return this.aksVersion;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ClusterPoolResourcePropertiesResponseAksClusterProfile defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable AksClusterProfileResponseAksClusterAgentPoolIdentityProfile aksClusterAgentPoolIdentityProfile;
private @Nullable String aksClusterResourceId;
private String aksVersion;
public Builder() {}
public Builder(ClusterPoolResourcePropertiesResponseAksClusterProfile defaults) {
Objects.requireNonNull(defaults);
this.aksClusterAgentPoolIdentityProfile = defaults.aksClusterAgentPoolIdentityProfile;
this.aksClusterResourceId = defaults.aksClusterResourceId;
this.aksVersion = defaults.aksVersion;
}
@CustomType.Setter
public Builder aksClusterAgentPoolIdentityProfile(@Nullable AksClusterProfileResponseAksClusterAgentPoolIdentityProfile aksClusterAgentPoolIdentityProfile) {
this.aksClusterAgentPoolIdentityProfile = aksClusterAgentPoolIdentityProfile;
return this;
}
@CustomType.Setter
public Builder aksClusterResourceId(@Nullable String aksClusterResourceId) {
this.aksClusterResourceId = aksClusterResourceId;
return this;
}
@CustomType.Setter
public Builder aksVersion(String aksVersion) {
if (aksVersion == null) {
throw new MissingRequiredPropertyException("ClusterPoolResourcePropertiesResponseAksClusterProfile", "aksVersion");
}
this.aksVersion = aksVersion;
return this;
}
public ClusterPoolResourcePropertiesResponseAksClusterProfile build() {
final var _resultValue = new ClusterPoolResourcePropertiesResponseAksClusterProfile();
_resultValue.aksClusterAgentPoolIdentityProfile = aksClusterAgentPoolIdentityProfile;
_resultValue.aksClusterResourceId = aksClusterResourceId;
_resultValue.aksVersion = aksVersion;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy