com.pulumi.azurenative.blueprint.outputs.UserAssignedIdentityResponse 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.blueprint.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 UserAssignedIdentityResponse {
/**
* @return Client App Id associated with this identity.
*
*/
private @Nullable String clientId;
/**
* @return Azure Active Directory principal ID associated with this Identity.
*
*/
private @Nullable String principalId;
private UserAssignedIdentityResponse() {}
/**
* @return Client App Id associated with this identity.
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return Azure Active Directory principal ID associated with this Identity.
*
*/
public Optional principalId() {
return Optional.ofNullable(this.principalId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(UserAssignedIdentityResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientId;
private @Nullable String principalId;
public Builder() {}
public Builder(UserAssignedIdentityResponse defaults) {
Objects.requireNonNull(defaults);
this.clientId = defaults.clientId;
this.principalId = defaults.principalId;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder principalId(@Nullable String principalId) {
this.principalId = principalId;
return this;
}
public UserAssignedIdentityResponse build() {
final var _resultValue = new UserAssignedIdentityResponse();
_resultValue.clientId = clientId;
_resultValue.principalId = principalId;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy