All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.media.outputs.ContentKeyPolicySymmetricTokenKeyResponse Maven / Gradle / Ivy

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 ContentKeyPolicySymmetricTokenKeyResponse {
    /**
     * @return The key value of the key
     * 
     */
    private String keyValue;
    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.Media.ContentKeyPolicySymmetricTokenKey'.
     * 
     */
    private String odataType;

    private ContentKeyPolicySymmetricTokenKeyResponse() {}
    /**
     * @return The key value of the key
     * 
     */
    public String keyValue() {
        return this.keyValue;
    }
    /**
     * @return The discriminator for derived types.
     * Expected value is '#Microsoft.Media.ContentKeyPolicySymmetricTokenKey'.
     * 
     */
    public String odataType() {
        return this.odataType;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(ContentKeyPolicySymmetricTokenKeyResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String keyValue;
        private String odataType;
        public Builder() {}
        public Builder(ContentKeyPolicySymmetricTokenKeyResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.keyValue = defaults.keyValue;
    	      this.odataType = defaults.odataType;
        }

        @CustomType.Setter
        public Builder keyValue(String keyValue) {
            if (keyValue == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicySymmetricTokenKeyResponse", "keyValue");
            }
            this.keyValue = keyValue;
            return this;
        }
        @CustomType.Setter
        public Builder odataType(String odataType) {
            if (odataType == null) {
              throw new MissingRequiredPropertyException("ContentKeyPolicySymmetricTokenKeyResponse", "odataType");
            }
            this.odataType = odataType;
            return this;
        }
        public ContentKeyPolicySymmetricTokenKeyResponse build() {
            final var _resultValue = new ContentKeyPolicySymmetricTokenKeyResponse();
            _resultValue.keyValue = keyValue;
            _resultValue.odataType = odataType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy