
com.pulumi.azurenative.kubernetes.outputs.ListConnectedClusterUserCredentialResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.kubernetes.outputs;
import com.pulumi.azurenative.kubernetes.outputs.CredentialResultResponse;
import com.pulumi.azurenative.kubernetes.outputs.HybridConnectionConfigResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.List;
import java.util.Objects;
@CustomType
public final class ListConnectedClusterUserCredentialResult {
/**
* @return Contains the REP (rendezvous endpoint) and “Sender” access token.
*
*/
private HybridConnectionConfigResponse hybridConnectionConfig;
/**
* @return Base64-encoded Kubernetes configuration file.
*
*/
private List kubeconfigs;
private ListConnectedClusterUserCredentialResult() {}
/**
* @return Contains the REP (rendezvous endpoint) and “Sender” access token.
*
*/
public HybridConnectionConfigResponse hybridConnectionConfig() {
return this.hybridConnectionConfig;
}
/**
* @return Base64-encoded Kubernetes configuration file.
*
*/
public List kubeconfigs() {
return this.kubeconfigs;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListConnectedClusterUserCredentialResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private HybridConnectionConfigResponse hybridConnectionConfig;
private List kubeconfigs;
public Builder() {}
public Builder(ListConnectedClusterUserCredentialResult defaults) {
Objects.requireNonNull(defaults);
this.hybridConnectionConfig = defaults.hybridConnectionConfig;
this.kubeconfigs = defaults.kubeconfigs;
}
@CustomType.Setter
public Builder hybridConnectionConfig(HybridConnectionConfigResponse hybridConnectionConfig) {
if (hybridConnectionConfig == null) {
throw new MissingRequiredPropertyException("ListConnectedClusterUserCredentialResult", "hybridConnectionConfig");
}
this.hybridConnectionConfig = hybridConnectionConfig;
return this;
}
@CustomType.Setter
public Builder kubeconfigs(List kubeconfigs) {
if (kubeconfigs == null) {
throw new MissingRequiredPropertyException("ListConnectedClusterUserCredentialResult", "kubeconfigs");
}
this.kubeconfigs = kubeconfigs;
return this;
}
public Builder kubeconfigs(CredentialResultResponse... kubeconfigs) {
return kubeconfigs(List.of(kubeconfigs));
}
public ListConnectedClusterUserCredentialResult build() {
final var _resultValue = new ListConnectedClusterUserCredentialResult();
_resultValue.hybridConnectionConfig = hybridConnectionConfig;
_resultValue.kubeconfigs = kubeconfigs;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy