
com.pulumi.azurenative.purview.inputs.ListFeatureAccountPlainArgs 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.purview.inputs;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ListFeatureAccountPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final ListFeatureAccountPlainArgs Empty = new ListFeatureAccountPlainArgs();
/**
* The name of the account.
*
*/
@Import(name="accountName", required=true)
private String accountName;
/**
* @return The name of the account.
*
*/
public String accountName() {
return this.accountName;
}
/**
* Set of features
*
*/
@Import(name="features")
private @Nullable List features;
/**
* @return Set of features
*
*/
public Optional> features() {
return Optional.ofNullable(this.features);
}
/**
* The resource group name.
*
*/
@Import(name="resourceGroupName", required=true)
private String resourceGroupName;
/**
* @return The resource group name.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
private ListFeatureAccountPlainArgs() {}
private ListFeatureAccountPlainArgs(ListFeatureAccountPlainArgs $) {
this.accountName = $.accountName;
this.features = $.features;
this.resourceGroupName = $.resourceGroupName;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListFeatureAccountPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ListFeatureAccountPlainArgs $;
public Builder() {
$ = new ListFeatureAccountPlainArgs();
}
public Builder(ListFeatureAccountPlainArgs defaults) {
$ = new ListFeatureAccountPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param accountName The name of the account.
*
* @return builder
*
*/
public Builder accountName(String accountName) {
$.accountName = accountName;
return this;
}
/**
* @param features Set of features
*
* @return builder
*
*/
public Builder features(@Nullable List features) {
$.features = features;
return this;
}
/**
* @param features Set of features
*
* @return builder
*
*/
public Builder features(String... features) {
return features(List.of(features));
}
/**
* @param resourceGroupName The resource group name.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public ListFeatureAccountPlainArgs build() {
if ($.accountName == null) {
throw new MissingRequiredPropertyException("ListFeatureAccountPlainArgs", "accountName");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("ListFeatureAccountPlainArgs", "resourceGroupName");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy