com.pulumi.azurenative.media.outputs.ContentKeyPolicyX509CertificateTokenKeyResponse 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.media.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class ContentKeyPolicyX509CertificateTokenKeyResponse {
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey'.
*
*/
private String odataType;
/**
* @return The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
*
*/
private String rawBody;
private ContentKeyPolicyX509CertificateTokenKeyResponse() {}
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.ContentKeyPolicyX509CertificateTokenKey'.
*
*/
public String odataType() {
return this.odataType;
}
/**
* @return The raw data field of a certificate in PKCS 12 format (X509Certificate2 in .NET)
*
*/
public String rawBody() {
return this.rawBody;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ContentKeyPolicyX509CertificateTokenKeyResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String odataType;
private String rawBody;
public Builder() {}
public Builder(ContentKeyPolicyX509CertificateTokenKeyResponse defaults) {
Objects.requireNonNull(defaults);
this.odataType = defaults.odataType;
this.rawBody = defaults.rawBody;
}
@CustomType.Setter
public Builder odataType(String odataType) {
if (odataType == null) {
throw new MissingRequiredPropertyException("ContentKeyPolicyX509CertificateTokenKeyResponse", "odataType");
}
this.odataType = odataType;
return this;
}
@CustomType.Setter
public Builder rawBody(String rawBody) {
if (rawBody == null) {
throw new MissingRequiredPropertyException("ContentKeyPolicyX509CertificateTokenKeyResponse", "rawBody");
}
this.rawBody = rawBody;
return this;
}
public ContentKeyPolicyX509CertificateTokenKeyResponse build() {
final var _resultValue = new ContentKeyPolicyX509CertificateTokenKeyResponse();
_resultValue.odataType = odataType;
_resultValue.rawBody = rawBody;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy