com.pulumi.azurenative.search.inputs.IdentityArgs 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.search.inputs;
import com.pulumi.azurenative.search.enums.IdentityType;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
/**
* Identity for the resource.
*
*/
public final class IdentityArgs extends com.pulumi.resources.ResourceArgs {
public static final IdentityArgs Empty = new IdentityArgs();
/**
* The identity type.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return The identity type.
*
*/
public Output type() {
return this.type;
}
private IdentityArgs() {}
private IdentityArgs(IdentityArgs $) {
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(IdentityArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private IdentityArgs $;
public Builder() {
$ = new IdentityArgs();
}
public Builder(IdentityArgs defaults) {
$ = new IdentityArgs(Objects.requireNonNull(defaults));
}
/**
* @param type The identity type.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type The identity type.
*
* @return builder
*
*/
public Builder type(IdentityType type) {
return type(Output.of(type));
}
public IdentityArgs build() {
if ($.type == null) {
throw new MissingRequiredPropertyException("IdentityArgs", "type");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy