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

com.pulumi.aws.cloudfront.inputs.GetOriginAccessIdentityArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.66.3
Show 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.aws.cloudfront.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;


public final class GetOriginAccessIdentityArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetOriginAccessIdentityArgs Empty = new GetOriginAccessIdentityArgs();

    /**
     * The identifier for the origin access identity. For example: `E1ZAKK699EOLAL`.
     * 
     */
    @Import(name="id", required=true)
    private Output id;

    /**
     * @return The identifier for the origin access identity. For example: `E1ZAKK699EOLAL`.
     * 
     */
    public Output id() {
        return this.id;
    }

    private GetOriginAccessIdentityArgs() {}

    private GetOriginAccessIdentityArgs(GetOriginAccessIdentityArgs $) {
        this.id = $.id;
    }

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

    public static final class Builder {
        private GetOriginAccessIdentityArgs $;

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

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

        /**
         * @param id The identifier for the origin access identity. For example: `E1ZAKK699EOLAL`.
         * 
         * @return builder
         * 
         */
        public Builder id(Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id The identifier for the origin access identity. For example: `E1ZAKK699EOLAL`.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        public GetOriginAccessIdentityArgs build() {
            if ($.id == null) {
                throw new MissingRequiredPropertyException("GetOriginAccessIdentityArgs", "id");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy