
com.pulumi.azurenative.media.outputs.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse Maven / Gradle / Ivy
// *** 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 ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse {
/**
* @return The content key ID.
*
*/
private String keyId;
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier'.
*
*/
private String odataType;
private ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse() {}
/**
* @return The content key ID.
*
*/
public String keyId() {
return this.keyId;
}
/**
* @return The discriminator for derived types.
* Expected value is '#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier'.
*
*/
public String odataType() {
return this.odataType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String keyId;
private String odataType;
public Builder() {}
public Builder(ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse defaults) {
Objects.requireNonNull(defaults);
this.keyId = defaults.keyId;
this.odataType = defaults.odataType;
}
@CustomType.Setter
public Builder keyId(String keyId) {
if (keyId == null) {
throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse", "keyId");
}
this.keyId = keyId;
return this;
}
@CustomType.Setter
public Builder odataType(String odataType) {
if (odataType == null) {
throw new MissingRequiredPropertyException("ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse", "odataType");
}
this.odataType = odataType;
return this;
}
public ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse build() {
final var _resultValue = new ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierResponse();
_resultValue.keyId = keyId;
_resultValue.odataType = odataType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy