
com.pulumi.azurenative.insights.outputs.GetLiveTokenResult 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.insights.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetLiveTokenResult {
/**
* @return JWT token for accessing live metrics stream data.
*
*/
private String liveToken;
private GetLiveTokenResult() {}
/**
* @return JWT token for accessing live metrics stream data.
*
*/
public String liveToken() {
return this.liveToken;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetLiveTokenResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String liveToken;
public Builder() {}
public Builder(GetLiveTokenResult defaults) {
Objects.requireNonNull(defaults);
this.liveToken = defaults.liveToken;
}
@CustomType.Setter
public Builder liveToken(String liveToken) {
if (liveToken == null) {
throw new MissingRequiredPropertyException("GetLiveTokenResult", "liveToken");
}
this.liveToken = liveToken;
return this;
}
public GetLiveTokenResult build() {
final var _resultValue = new GetLiveTokenResult();
_resultValue.liveToken = liveToken;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy