com.pulumi.azure.datashare.inputs.GetAccountPlainArgs 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.azure.datashare.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class GetAccountPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetAccountPlainArgs Empty = new GetAccountPlainArgs();
/**
* The name of this Data Share Account.
*
*/
@Import(name="name", required=true)
private String name;
/**
* @return The name of this Data Share Account.
*
*/
public String name() {
return this.name;
}
/**
* The name of the Resource Group where the Data Share Account exists.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The name of the Resource Group where the Data Share Account exists.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private GetAccountPlainArgs() {}
private GetAccountPlainArgs(GetAccountPlainArgs $) {
this.name = $.name;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAccountPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetAccountPlainArgs $;
public Builder() {
$ = new GetAccountPlainArgs();
}
public Builder(GetAccountPlainArgs defaults) {
$ = new GetAccountPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param name The name of this Data Share Account.
*
* @return builder
*
*/
public Builder name(String name) {
$.name = name;
return this;
}
/**
* @param resourceGroupName The name of the Resource Group where the Data Share Account exists.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public GetAccountPlainArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("GetAccountPlainArgs", "name");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetAccountPlainArgs", "resourceGroupName");
}
return $;
}
}
}