com.pulumi.azurenative.providerhub.inputs.ProviderHubMetadataProviderAuthenticationArgs 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.
The newest version!
// *** 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.providerhub.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
public final class ProviderHubMetadataProviderAuthenticationArgs extends com.pulumi.resources.ResourceArgs {
public static final ProviderHubMetadataProviderAuthenticationArgs Empty = new ProviderHubMetadataProviderAuthenticationArgs();
@Import(name="allowedAudiences", required=true)
private Output> allowedAudiences;
public Output> allowedAudiences() {
return this.allowedAudiences;
}
private ProviderHubMetadataProviderAuthenticationArgs() {}
private ProviderHubMetadataProviderAuthenticationArgs(ProviderHubMetadataProviderAuthenticationArgs $) {
this.allowedAudiences = $.allowedAudiences;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProviderHubMetadataProviderAuthenticationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private ProviderHubMetadataProviderAuthenticationArgs $;
public Builder() {
$ = new ProviderHubMetadataProviderAuthenticationArgs();
}
public Builder(ProviderHubMetadataProviderAuthenticationArgs defaults) {
$ = new ProviderHubMetadataProviderAuthenticationArgs(Objects.requireNonNull(defaults));
}
public Builder allowedAudiences(Output> allowedAudiences) {
$.allowedAudiences = allowedAudiences;
return this;
}
public Builder allowedAudiences(List allowedAudiences) {
return allowedAudiences(Output.of(allowedAudiences));
}
public Builder allowedAudiences(String... allowedAudiences) {
return allowedAudiences(List.of(allowedAudiences));
}
public ProviderHubMetadataProviderAuthenticationArgs build() {
if ($.allowedAudiences == null) {
throw new MissingRequiredPropertyException("ProviderHubMetadataProviderAuthenticationArgs", "allowedAudiences");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy