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

com.pulumi.aws.cloudfront.inputs.DistributionTrustedSignerArgs 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.aws.cloudfront.inputs;

import com.pulumi.aws.cloudfront.inputs.DistributionTrustedSignerItemArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class DistributionTrustedSignerArgs extends com.pulumi.resources.ResourceArgs {

    public static final DistributionTrustedSignerArgs Empty = new DistributionTrustedSignerArgs();

    /**
     * `true` if any of the AWS accounts listed as trusted signers have active CloudFront key pairs
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return `true` if any of the AWS accounts listed as trusted signers have active CloudFront key pairs
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * List of nested attributes for each trusted signer
     * 
     */
    @Import(name="items")
    private @Nullable Output> items;

    /**
     * @return List of nested attributes for each trusted signer
     * 
     */
    public Optional>> items() {
        return Optional.ofNullable(this.items);
    }

    private DistributionTrustedSignerArgs() {}

    private DistributionTrustedSignerArgs(DistributionTrustedSignerArgs $) {
        this.enabled = $.enabled;
        this.items = $.items;
    }

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

    public static final class Builder {
        private DistributionTrustedSignerArgs $;

        public Builder() {
            $ = new DistributionTrustedSignerArgs();
        }

        public Builder(DistributionTrustedSignerArgs defaults) {
            $ = new DistributionTrustedSignerArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param enabled `true` if any of the AWS accounts listed as trusted signers have active CloudFront key pairs
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled `true` if any of the AWS accounts listed as trusted signers have active CloudFront key pairs
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param items List of nested attributes for each trusted signer
         * 
         * @return builder
         * 
         */
        public Builder items(@Nullable Output> items) {
            $.items = items;
            return this;
        }

        /**
         * @param items List of nested attributes for each trusted signer
         * 
         * @return builder
         * 
         */
        public Builder items(List items) {
            return items(Output.of(items));
        }

        /**
         * @param items List of nested attributes for each trusted signer
         * 
         * @return builder
         * 
         */
        public Builder items(DistributionTrustedSignerItemArgs... items) {
            return items(List.of(items));
        }

        public DistributionTrustedSignerArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy