com.pulumi.azurenative.sql.inputs.GetManagedServerDnsAliasPlainArgs 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.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetManagedServerDnsAliasPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetManagedServerDnsAliasPlainArgs Empty = new GetManagedServerDnsAliasPlainArgs();
@Import(name="dnsAliasName", required=true)
private String dnsAliasName;
public String dnsAliasName() {
return this.dnsAliasName;
}
/**
* The name of the managed instance.
*
*/
@Import(name="managedInstanceName", required=true)
private String managedInstanceName;
/**
* @return The name of the managed instance.
*
*/
public String managedInstanceName() {
return this.managedInstanceName;
}
/**
* The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetManagedServerDnsAliasPlainArgs() {}
private GetManagedServerDnsAliasPlainArgs(GetManagedServerDnsAliasPlainArgs $) {
this.dnsAliasName = $.dnsAliasName;
this.managedInstanceName = $.managedInstanceName;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetManagedServerDnsAliasPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetManagedServerDnsAliasPlainArgs $;
public Builder() {
$ = new GetManagedServerDnsAliasPlainArgs();
}
public Builder(GetManagedServerDnsAliasPlainArgs defaults) {
$ = new GetManagedServerDnsAliasPlainArgs(Objects.requireNonNull(defaults));
}
public Builder dnsAliasName(String dnsAliasName) {
$.dnsAliasName = dnsAliasName;
return this;
}
/**
* @param managedInstanceName The name of the managed instance.
*
* @return builder
*
*/
public Builder managedInstanceName(String managedInstanceName) {
$.managedInstanceName = managedInstanceName;
return this;
}
/**
* @param resourceGroupName The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetManagedServerDnsAliasPlainArgs build() {
if ($.dnsAliasName == null) {
throw new MissingRequiredPropertyException("GetManagedServerDnsAliasPlainArgs", "dnsAliasName");
}
if ($.managedInstanceName == null) {
throw new MissingRequiredPropertyException("GetManagedServerDnsAliasPlainArgs", "managedInstanceName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetManagedServerDnsAliasPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy