
com.pulumi.azurenative.dbforpostgresql.inputs.GetAdministratorArgs 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.dbforpostgresql.inputs;
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 GetAdministratorArgs extends com.pulumi.resources.InvokeArgs {
public static final GetAdministratorArgs Empty = new GetAdministratorArgs();
/**
* Guid of the objectId for the administrator.
*
*/
@Import(name="objectId", required=true)
private Output objectId;
/**
* @return Guid of the objectId for the administrator.
*
*/
public Output objectId() {
return this.objectId;
}
/**
* The name of the resource group. The name is case insensitive.
*
*/
@Import(name="resourceGroupName", required=true)
private Output resourceGroupName;
/**
* @return The name of the resource group. The name is case insensitive.
*
*/
public Output resourceGroupName() {
return this.resourceGroupName;
}
/**
* The name of the server.
*
*/
@Import(name="serverName", required=true)
private Output serverName;
/**
* @return The name of the server.
*
*/
public Output serverName() {
return this.serverName;
}
private GetAdministratorArgs() {}
private GetAdministratorArgs(GetAdministratorArgs $) {
this.objectId = $.objectId;
this.resourceGroupName = $.resourceGroupName;
this.serverName = $.serverName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAdministratorArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAdministratorArgs $;
public Builder() {
$ = new GetAdministratorArgs();
}
public Builder(GetAdministratorArgs defaults) {
$ = new GetAdministratorArgs(Objects.requireNonNull(defaults));
}
/**
* @param objectId Guid of the objectId for the administrator.
*
* @return builder
*
*/
public Builder objectId(Output objectId) {
$.objectId = objectId;
return this;
}
/**
* @param objectId Guid of the objectId for the administrator.
*
* @return builder
*
*/
public Builder objectId(String objectId) {
return objectId(Output.of(objectId));
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(Output resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
/**
* @param resourceGroupName The name of the resource group. The name is case insensitive.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
return resourceGroupName(Output.of(resourceGroupName));
}
/**
* @param serverName The name of the server.
*
* @return builder
*
*/
public Builder serverName(Output serverName) {
$.serverName = serverName;
return this;
}
/**
* @param serverName The name of the server.
*
* @return builder
*
*/
public Builder serverName(String serverName) {
return serverName(Output.of(serverName));
}
public GetAdministratorArgs build() {
if ($.objectId == null) {
throw new MissingRequiredPropertyException("GetAdministratorArgs", "objectId");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetAdministratorArgs", "resourceGroupName");
}
if ($.serverName == null) {
throw new MissingRequiredPropertyException("GetAdministratorArgs", "serverName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy