
com.pulumi.azurenative.migrate.outputs.ManagedIdentityPropertiesResponse 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.migrate.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 ManagedIdentityPropertiesResponse {
private @Nullable String clientId;
private @Nullable String managedIdentityName;
private @Nullable String principalId;
private @Nullable String resourceGroup;
private @Nullable String subscriptionId;
private @Nullable String tenantId;
private ManagedIdentityPropertiesResponse() {}
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
public Optional managedIdentityName() {
return Optional.ofNullable(this.managedIdentityName);
}
public Optional principalId() {
return Optional.ofNullable(this.principalId);
}
public Optional resourceGroup() {
return Optional.ofNullable(this.resourceGroup);
}
public Optional subscriptionId() {
return Optional.ofNullable(this.subscriptionId);
}
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ManagedIdentityPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientId;
private @Nullable String managedIdentityName;
private @Nullable String principalId;
private @Nullable String resourceGroup;
private @Nullable String subscriptionId;
private @Nullable String tenantId;
public Builder() {}
public Builder(ManagedIdentityPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.clientId = defaults.clientId;
this.managedIdentityName = defaults.managedIdentityName;
this.principalId = defaults.principalId;
this.resourceGroup = defaults.resourceGroup;
this.subscriptionId = defaults.subscriptionId;
this.tenantId = defaults.tenantId;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder managedIdentityName(@Nullable String managedIdentityName) {
this.managedIdentityName = managedIdentityName;
return this;
}
@CustomType.Setter
public Builder principalId(@Nullable String principalId) {
this.principalId = principalId;
return this;
}
@CustomType.Setter
public Builder resourceGroup(@Nullable String resourceGroup) {
this.resourceGroup = resourceGroup;
return this;
}
@CustomType.Setter
public Builder subscriptionId(@Nullable String subscriptionId) {
this.subscriptionId = subscriptionId;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
public ManagedIdentityPropertiesResponse build() {
final var _resultValue = new ManagedIdentityPropertiesResponse();
_resultValue.clientId = clientId;
_resultValue.managedIdentityName = managedIdentityName;
_resultValue.principalId = principalId;
_resultValue.resourceGroup = resourceGroup;
_resultValue.subscriptionId = subscriptionId;
_resultValue.tenantId = tenantId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy