com.pulumi.azurenative.purview.inputs.ListFeatureSubscriptionPlainArgs 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 ListFeatureSubscriptionPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final ListFeatureSubscriptionPlainArgs Empty = new ListFeatureSubscriptionPlainArgs();
/**
* Set of features
*
*/
@Import(name="features")
private @Nullable List features;
/**
* @return Set of features
*
*/
public Optional> features() {
return Optional.ofNullable(this.features);
}
/**
* Location of feature.
*
*/
@Import(name="locations", required=true)
private String locations;
/**
* @return Location of feature.
*
*/
public String locations() {
return this.locations;
}
private ListFeatureSubscriptionPlainArgs() {}
private ListFeatureSubscriptionPlainArgs(ListFeatureSubscriptionPlainArgs $) {
this.features = $.features;
this.locations = $.locations;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ListFeatureSubscriptionPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ListFeatureSubscriptionPlainArgs $;
public Builder() {
$ = new ListFeatureSubscriptionPlainArgs();
}
public Builder(ListFeatureSubscriptionPlainArgs defaults) {
$ = new ListFeatureSubscriptionPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @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 locations Location of feature.
*
* @return builder
*
*/
public Builder locations(String locations) {
$.locations = locations;
return this;
}
public ListFeatureSubscriptionPlainArgs build() {
if ($.locations == null) {
throw new MissingRequiredPropertyException("ListFeatureSubscriptionPlainArgs", "locations");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy