
com.pulumi.azurenative.sql.outputs.GetManagedInstanceAdministratorResult 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.sql.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class GetManagedInstanceAdministratorResult {
/**
* @return Type of the managed instance administrator.
*
*/
private String administratorType;
/**
* @return Resource ID.
*
*/
private String id;
/**
* @return Login name of the managed instance administrator.
*
*/
private String login;
/**
* @return Resource name.
*
*/
private String name;
/**
* @return SID (object ID) of the managed instance administrator.
*
*/
private String sid;
/**
* @return Tenant ID of the managed instance administrator.
*
*/
private @Nullable String tenantId;
/**
* @return Resource type.
*
*/
private String type;
private GetManagedInstanceAdministratorResult() {}
/**
* @return Type of the managed instance administrator.
*
*/
public String administratorType() {
return this.administratorType;
}
/**
* @return Resource ID.
*
*/
public String id() {
return this.id;
}
/**
* @return Login name of the managed instance administrator.
*
*/
public String login() {
return this.login;
}
/**
* @return Resource name.
*
*/
public String name() {
return this.name;
}
/**
* @return SID (object ID) of the managed instance administrator.
*
*/
public String sid() {
return this.sid;
}
/**
* @return Tenant ID of the managed instance administrator.
*
*/
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
/**
* @return Resource type.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetManagedInstanceAdministratorResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String administratorType;
private String id;
private String login;
private String name;
private String sid;
private @Nullable String tenantId;
private String type;
public Builder() {}
public Builder(GetManagedInstanceAdministratorResult defaults) {
Objects.requireNonNull(defaults);
this.administratorType = defaults.administratorType;
this.id = defaults.id;
this.login = defaults.login;
this.name = defaults.name;
this.sid = defaults.sid;
this.tenantId = defaults.tenantId;
this.type = defaults.type;
}
@CustomType.Setter
public Builder administratorType(String administratorType) {
if (administratorType == null) {
throw new MissingRequiredPropertyException("GetManagedInstanceAdministratorResult", "administratorType");
}
this.administratorType = administratorType;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetManagedInstanceAdministratorResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder login(String login) {
if (login == null) {
throw new MissingRequiredPropertyException("GetManagedInstanceAdministratorResult", "login");
}
this.login = login;
return this;
}
@CustomType.Setter
public Builder name(String name) {
if (name == null) {
throw new MissingRequiredPropertyException("GetManagedInstanceAdministratorResult", "name");
}
this.name = name;
return this;
}
@CustomType.Setter
public Builder sid(String sid) {
if (sid == null) {
throw new MissingRequiredPropertyException("GetManagedInstanceAdministratorResult", "sid");
}
this.sid = sid;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("GetManagedInstanceAdministratorResult", "type");
}
this.type = type;
return this;
}
public GetManagedInstanceAdministratorResult build() {
final var _resultValue = new GetManagedInstanceAdministratorResult();
_resultValue.administratorType = administratorType;
_resultValue.id = id;
_resultValue.login = login;
_resultValue.name = name;
_resultValue.sid = sid;
_resultValue.tenantId = tenantId;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy