
com.pulumi.azurenative.sql.outputs.ServerExternalAdministratorResponse 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 java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ServerExternalAdministratorResponse {
/**
* @return Type of the sever administrator.
*
*/
private @Nullable String administratorType;
/**
* @return Azure Active Directory only Authentication enabled.
*
*/
private @Nullable Boolean azureADOnlyAuthentication;
/**
* @return Login name of the server administrator.
*
*/
private @Nullable String login;
/**
* @return Principal Type of the sever administrator.
*
*/
private @Nullable String principalType;
/**
* @return SID (object ID) of the server administrator.
*
*/
private @Nullable String sid;
/**
* @return Tenant ID of the administrator.
*
*/
private @Nullable String tenantId;
private ServerExternalAdministratorResponse() {}
/**
* @return Type of the sever administrator.
*
*/
public Optional administratorType() {
return Optional.ofNullable(this.administratorType);
}
/**
* @return Azure Active Directory only Authentication enabled.
*
*/
public Optional azureADOnlyAuthentication() {
return Optional.ofNullable(this.azureADOnlyAuthentication);
}
/**
* @return Login name of the server administrator.
*
*/
public Optional login() {
return Optional.ofNullable(this.login);
}
/**
* @return Principal Type of the sever administrator.
*
*/
public Optional principalType() {
return Optional.ofNullable(this.principalType);
}
/**
* @return SID (object ID) of the server administrator.
*
*/
public Optional sid() {
return Optional.ofNullable(this.sid);
}
/**
* @return Tenant ID of the administrator.
*
*/
public Optional tenantId() {
return Optional.ofNullable(this.tenantId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ServerExternalAdministratorResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String administratorType;
private @Nullable Boolean azureADOnlyAuthentication;
private @Nullable String login;
private @Nullable String principalType;
private @Nullable String sid;
private @Nullable String tenantId;
public Builder() {}
public Builder(ServerExternalAdministratorResponse defaults) {
Objects.requireNonNull(defaults);
this.administratorType = defaults.administratorType;
this.azureADOnlyAuthentication = defaults.azureADOnlyAuthentication;
this.login = defaults.login;
this.principalType = defaults.principalType;
this.sid = defaults.sid;
this.tenantId = defaults.tenantId;
}
@CustomType.Setter
public Builder administratorType(@Nullable String administratorType) {
this.administratorType = administratorType;
return this;
}
@CustomType.Setter
public Builder azureADOnlyAuthentication(@Nullable Boolean azureADOnlyAuthentication) {
this.azureADOnlyAuthentication = azureADOnlyAuthentication;
return this;
}
@CustomType.Setter
public Builder login(@Nullable String login) {
this.login = login;
return this;
}
@CustomType.Setter
public Builder principalType(@Nullable String principalType) {
this.principalType = principalType;
return this;
}
@CustomType.Setter
public Builder sid(@Nullable String sid) {
this.sid = sid;
return this;
}
@CustomType.Setter
public Builder tenantId(@Nullable String tenantId) {
this.tenantId = tenantId;
return this;
}
public ServerExternalAdministratorResponse build() {
final var _resultValue = new ServerExternalAdministratorResponse();
_resultValue.administratorType = administratorType;
_resultValue.azureADOnlyAuthentication = azureADOnlyAuthentication;
_resultValue.login = login;
_resultValue.principalType = principalType;
_resultValue.sid = sid;
_resultValue.tenantId = tenantId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy