com.pulumi.azure.core.inputs.ResourceProviderRegistrationFeatureArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** 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.core.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
public final class ResourceProviderRegistrationFeatureArgs extends com.pulumi.resources.ResourceArgs {
public static final ResourceProviderRegistrationFeatureArgs Empty = new ResourceProviderRegistrationFeatureArgs();
@Import(name="name", required=true)
private Output name;
public Output name() {
return this.name;
}
/**
* Should this feature be Registered or Unregistered?
*
*/
@Import(name="registered", required=true)
private Output registered;
/**
* @return Should this feature be Registered or Unregistered?
*
*/
public Output registered() {
return this.registered;
}
private ResourceProviderRegistrationFeatureArgs() {}
private ResourceProviderRegistrationFeatureArgs(ResourceProviderRegistrationFeatureArgs $) {
this.name = $.name;
this.registered = $.registered;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ResourceProviderRegistrationFeatureArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ResourceProviderRegistrationFeatureArgs $;
public Builder() {
$ = new ResourceProviderRegistrationFeatureArgs();
}
public Builder(ResourceProviderRegistrationFeatureArgs defaults) {
$ = new ResourceProviderRegistrationFeatureArgs(Objects.requireNonNull(defaults));
}
public Builder name(Output name) {
$.name = name;
return this;
}
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param registered Should this feature be Registered or Unregistered?
*
* @return builder
*
*/
public Builder registered(Output registered) {
$.registered = registered;
return this;
}
/**
* @param registered Should this feature be Registered or Unregistered?
*
* @return builder
*
*/
public Builder registered(Boolean registered) {
return registered(Output.of(registered));
}
public ResourceProviderRegistrationFeatureArgs build() {
if ($.name == null) {
throw new MissingRequiredPropertyException("ResourceProviderRegistrationFeatureArgs", "name");
}
if ($.registered == null) {
throw new MissingRequiredPropertyException("ResourceProviderRegistrationFeatureArgs", "registered");
}
return $;
}
}
}