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

com.pulumi.azurenative.media.outputs.ContentKeyPolicyTokenClaimResponse 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 java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class ContentKeyPolicyTokenClaimResponse {
    /**
     * @return Token claim type.
     * 
     */
    private @Nullable String claimType;
    /**
     * @return Token claim value.
     * 
     */
    private @Nullable String claimValue;

    private ContentKeyPolicyTokenClaimResponse() {}
    /**
     * @return Token claim type.
     * 
     */
    public Optional claimType() {
        return Optional.ofNullable(this.claimType);
    }
    /**
     * @return Token claim value.
     * 
     */
    public Optional claimValue() {
        return Optional.ofNullable(this.claimValue);
    }

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

    public static Builder builder(ContentKeyPolicyTokenClaimResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String claimType;
        private @Nullable String claimValue;
        public Builder() {}
        public Builder(ContentKeyPolicyTokenClaimResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.claimType = defaults.claimType;
    	      this.claimValue = defaults.claimValue;
        }

        @CustomType.Setter
        public Builder claimType(@Nullable String claimType) {

            this.claimType = claimType;
            return this;
        }
        @CustomType.Setter
        public Builder claimValue(@Nullable String claimValue) {

            this.claimValue = claimValue;
            return this;
        }
        public ContentKeyPolicyTokenClaimResponse build() {
            final var _resultValue = new ContentKeyPolicyTokenClaimResponse();
            _resultValue.claimType = claimType;
            _resultValue.claimValue = claimValue;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy