
com.pulumi.azurenative.iotoperations.inputs.DataFlowEndpointAuthenticationServiceAccountTokenArgs 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.iotoperations.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
/**
* Service Account Token for BrokerAuthentication
*
*/
public final class DataFlowEndpointAuthenticationServiceAccountTokenArgs extends com.pulumi.resources.ResourceArgs {
public static final DataFlowEndpointAuthenticationServiceAccountTokenArgs Empty = new DataFlowEndpointAuthenticationServiceAccountTokenArgs();
/**
* Audience of the service account. Optional, defaults to the broker internal service account audience.
*
*/
@Import(name="audience", required=true)
private Output audience;
/**
* @return Audience of the service account. Optional, defaults to the broker internal service account audience.
*
*/
public Output audience() {
return this.audience;
}
private DataFlowEndpointAuthenticationServiceAccountTokenArgs() {}
private DataFlowEndpointAuthenticationServiceAccountTokenArgs(DataFlowEndpointAuthenticationServiceAccountTokenArgs $) {
this.audience = $.audience;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataFlowEndpointAuthenticationServiceAccountTokenArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private DataFlowEndpointAuthenticationServiceAccountTokenArgs $;
public Builder() {
$ = new DataFlowEndpointAuthenticationServiceAccountTokenArgs();
}
public Builder(DataFlowEndpointAuthenticationServiceAccountTokenArgs defaults) {
$ = new DataFlowEndpointAuthenticationServiceAccountTokenArgs(Objects.requireNonNull(defaults));
}
/**
* @param audience Audience of the service account. Optional, defaults to the broker internal service account audience.
*
* @return builder
*
*/
public Builder audience(Output audience) {
$.audience = audience;
return this;
}
/**
* @param audience Audience of the service account. Optional, defaults to the broker internal service account audience.
*
* @return builder
*
*/
public Builder audience(String audience) {
return audience(Output.of(audience));
}
public DataFlowEndpointAuthenticationServiceAccountTokenArgs build() {
if ($.audience == null) {
throw new MissingRequiredPropertyException("DataFlowEndpointAuthenticationServiceAccountTokenArgs", "audience");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy