com.pulumi.azure.mysql.FlexibleServerActiveDirectoryAdministratoryArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.azure.mysql;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class FlexibleServerActiveDirectoryAdministratoryArgs extends com.pulumi.resources.ResourceArgs {
public static final FlexibleServerActiveDirectoryAdministratoryArgs Empty = new FlexibleServerActiveDirectoryAdministratoryArgs();
@Import(name="identityId", required=true)
private Output identityId;
public Output identityId() {
return this.identityId;
}
@Import(name="login", required=true)
private Output login;
public Output login() {
return this.login;
}
@Import(name="objectId", required=true)
private Output objectId;
public Output objectId() {
return this.objectId;
}
@Import(name="serverId", required=true)
private Output serverId;
public Output serverId() {
return this.serverId;
}
@Import(name="tenantId", required=true)
private Output tenantId;
public Output tenantId() {
return this.tenantId;
}
private FlexibleServerActiveDirectoryAdministratoryArgs() {}
private FlexibleServerActiveDirectoryAdministratoryArgs(FlexibleServerActiveDirectoryAdministratoryArgs $) {
this.identityId = $.identityId;
this.login = $.login;
this.objectId = $.objectId;
this.serverId = $.serverId;
this.tenantId = $.tenantId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FlexibleServerActiveDirectoryAdministratoryArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private FlexibleServerActiveDirectoryAdministratoryArgs $;
public Builder() {
$ = new FlexibleServerActiveDirectoryAdministratoryArgs();
}
public Builder(FlexibleServerActiveDirectoryAdministratoryArgs defaults) {
$ = new FlexibleServerActiveDirectoryAdministratoryArgs(Objects.requireNonNull(defaults));
}
public Builder identityId(Output identityId) {
$.identityId = identityId;
return this;
}
public Builder identityId(String identityId) {
return identityId(Output.of(identityId));
}
public Builder login(Output login) {
$.login = login;
return this;
}
public Builder login(String login) {
return login(Output.of(login));
}
public Builder objectId(Output objectId) {
$.objectId = objectId;
return this;
}
public Builder objectId(String objectId) {
return objectId(Output.of(objectId));
}
public Builder serverId(Output serverId) {
$.serverId = serverId;
return this;
}
public Builder serverId(String serverId) {
return serverId(Output.of(serverId));
}
public Builder tenantId(Output tenantId) {
$.tenantId = tenantId;
return this;
}
public Builder tenantId(String tenantId) {
return tenantId(Output.of(tenantId));
}
public FlexibleServerActiveDirectoryAdministratoryArgs build() {
if ($.identityId == null) {
throw new MissingRequiredPropertyException("FlexibleServerActiveDirectoryAdministratoryArgs", "identityId");
}
if ($.login == null) {
throw new MissingRequiredPropertyException("FlexibleServerActiveDirectoryAdministratoryArgs", "login");
}
if ($.objectId == null) {
throw new MissingRequiredPropertyException("FlexibleServerActiveDirectoryAdministratoryArgs", "objectId");
}
if ($.serverId == null) {
throw new MissingRequiredPropertyException("FlexibleServerActiveDirectoryAdministratoryArgs", "serverId");
}
if ($.tenantId == null) {
throw new MissingRequiredPropertyException("FlexibleServerActiveDirectoryAdministratoryArgs", "tenantId");
}
return $;
}
}
}