com.pulumi.azurenative.videoanalyzer.outputs.RsaTokenKeyResponse 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.videoanalyzer.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class RsaTokenKeyResponse {
/**
* @return RSA algorithm to be used: RS256, RS384 or RS512.
*
*/
private String alg;
/**
* @return RSA public key exponent.
*
*/
private String e;
/**
* @return JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
*
*/
private String kid;
/**
* @return RSA public key modulus.
*
*/
private String n;
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.RsaTokenKey'.
*
*/
private String type;
private RsaTokenKeyResponse() {}
/**
* @return RSA algorithm to be used: RS256, RS384 or RS512.
*
*/
public String alg() {
return this.alg;
}
/**
* @return RSA public key exponent.
*
*/
public String e() {
return this.e;
}
/**
* @return JWT token key id. Validation keys are looked up based on the key id present on the JWT token header.
*
*/
public String kid() {
return this.kid;
}
/**
* @return RSA public key modulus.
*
*/
public String n() {
return this.n;
}
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.VideoAnalyzer.RsaTokenKey'.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RsaTokenKeyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String alg;
private String e;
private String kid;
private String n;
private String type;
public Builder() {}
public Builder(RsaTokenKeyResponse defaults) {
Objects.requireNonNull(defaults);
this.alg = defaults.alg;
this.e = defaults.e;
this.kid = defaults.kid;
this.n = defaults.n;
this.type = defaults.type;
}
@CustomType.Setter
public Builder alg(String alg) {
if (alg == null) {
throw new MissingRequiredPropertyException("RsaTokenKeyResponse", "alg");
}
this.alg = alg;
return this;
}
@CustomType.Setter
public Builder e(String e) {
if (e == null) {
throw new MissingRequiredPropertyException("RsaTokenKeyResponse", "e");
}
this.e = e;
return this;
}
@CustomType.Setter
public Builder kid(String kid) {
if (kid == null) {
throw new MissingRequiredPropertyException("RsaTokenKeyResponse", "kid");
}
this.kid = kid;
return this;
}
@CustomType.Setter
public Builder n(String n) {
if (n == null) {
throw new MissingRequiredPropertyException("RsaTokenKeyResponse", "n");
}
this.n = n;
return this;
}
@CustomType.Setter
public Builder type(String type) {
if (type == null) {
throw new MissingRequiredPropertyException("RsaTokenKeyResponse", "type");
}
this.type = type;
return this;
}
public RsaTokenKeyResponse build() {
final var _resultValue = new RsaTokenKeyResponse();
_resultValue.alg = alg;
_resultValue.e = e;
_resultValue.kid = kid;
_resultValue.n = n;
_resultValue.type = type;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy