com.pulumi.azure.containerservice.outputs.KubernetesClusterKubeletIdentity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.containerservice.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class KubernetesClusterKubeletIdentity {
/**
* @return The Client ID of the user-defined Managed Identity to be assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
*
*/
private @Nullable String clientId;
/**
* @return The Object ID of the user-defined Managed Identity assigned to the Kubelets.If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
*
*/
private @Nullable String objectId;
/**
* @return The ID of the User Assigned Identity assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
*
*/
private @Nullable String userAssignedIdentityId;
private KubernetesClusterKubeletIdentity() {}
/**
* @return The Client ID of the user-defined Managed Identity to be assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return The Object ID of the user-defined Managed Identity assigned to the Kubelets.If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
*
*/
public Optional objectId() {
return Optional.ofNullable(this.objectId);
}
/**
* @return The ID of the User Assigned Identity assigned to the Kubelets. If not specified a Managed Identity is created automatically. Changing this forces a new resource to be created.
*
*/
public Optional userAssignedIdentityId() {
return Optional.ofNullable(this.userAssignedIdentityId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KubernetesClusterKubeletIdentity defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientId;
private @Nullable String objectId;
private @Nullable String userAssignedIdentityId;
public Builder() {}
public Builder(KubernetesClusterKubeletIdentity defaults) {
Objects.requireNonNull(defaults);
this.clientId = defaults.clientId;
this.objectId = defaults.objectId;
this.userAssignedIdentityId = defaults.userAssignedIdentityId;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder objectId(@Nullable String objectId) {
this.objectId = objectId;
return this;
}
@CustomType.Setter
public Builder userAssignedIdentityId(@Nullable String userAssignedIdentityId) {
this.userAssignedIdentityId = userAssignedIdentityId;
return this;
}
public KubernetesClusterKubeletIdentity build() {
final var _resultValue = new KubernetesClusterKubeletIdentity();
_resultValue.clientId = clientId;
_resultValue.objectId = objectId;
_resultValue.userAssignedIdentityId = userAssignedIdentityId;
return _resultValue;
}
}
}