
com.pulumi.azurenative.migrate.outputs.IdentityResponse 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.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 IdentityResponse {
/**
* @return Gets or sets the principal id.
*
*/
private @Nullable String principalId;
/**
* @return Gets or sets the tenant id.
*
*/
private @Nullable String tenantId;
/**
* @return The type of identity used for the resource mover service.
*
*/
private @Nullable String type;
private IdentityResponse() {}
/**
* @return Gets or sets the principal id.
*
*/
public Optional principalId() {
return Optional.ofNullable(this.principalId);
}
/**
* @return Gets or sets the tenant id.
*
*/
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
/**
* @return The type of identity used for the resource mover service.
*
*/
public Optional type() {
return Optional.ofNullable(this.type);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IdentityResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String principalId;
private @Nullable String tenantId;
private @Nullable String type;
public Builder() {}
public Builder(IdentityResponse defaults) {
Objects.requireNonNull(defaults);
this.principalId = defaults.principalId;
this.tenantId = defaults.tenantId;
this.type = defaults.type;
}
@CustomType.Setter
public Builder principalId(@Nullable String principalId) {
this.principalId = principalId;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
@CustomType.Setter
public Builder type(@Nullable String type) {
this.type = type;
return this;
}
public IdentityResponse build() {
final var _resultValue = new IdentityResponse();
_resultValue.principalId = principalId;
_resultValue.tenantId = tenantId;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy