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

com.pulumi.aws.cloudfront.inputs.GetCachePolicyPlainArgs 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.60.0-alpha.1731982519
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.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GetCachePolicyPlainArgs Empty = new GetCachePolicyPlainArgs();

    /**
     * Identifier for the cache policy.
     * 
     */
    @Import(name="id")
    private @Nullable String id;

    /**
     * @return Identifier for the cache policy.
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }

    /**
     * Unique name to identify the cache policy.
     * 
     */
    @Import(name="name")
    private @Nullable String name;

    /**
     * @return Unique name to identify the cache policy.
     * 
     */
    public Optional name() {
        return Optional.ofNullable(this.name);
    }

    private GetCachePolicyPlainArgs() {}

    private GetCachePolicyPlainArgs(GetCachePolicyPlainArgs $) {
        this.id = $.id;
        this.name = $.name;
    }

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

    public static final class Builder {
        private GetCachePolicyPlainArgs $;

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

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

        /**
         * @param id Identifier for the cache policy.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable String id) {
            $.id = id;
            return this;
        }

        /**
         * @param name Unique name to identify the cache policy.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable String name) {
            $.name = name;
            return this;
        }

        public GetCachePolicyPlainArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy