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

com.pulumi.aws.verifiedpermissions.inputs.PolicyTemplateState 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.72.0
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.verifiedpermissions.inputs;

import com.pulumi.core.Output;
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 PolicyTemplateState extends com.pulumi.resources.ResourceArgs {

    public static final PolicyTemplateState Empty = new PolicyTemplateState();

    /**
     * The date the Policy Store was created.
     * 
     */
    @Import(name="createdDate")
    private @Nullable Output createdDate;

    /**
     * @return The date the Policy Store was created.
     * 
     */
    public Optional> createdDate() {
        return Optional.ofNullable(this.createdDate);
    }

    /**
     * Provides a description for the policy template.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return Provides a description for the policy template.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * The ID of the Policy Store.
     * 
     */
    @Import(name="policyStoreId")
    private @Nullable Output policyStoreId;

    /**
     * @return The ID of the Policy Store.
     * 
     */
    public Optional> policyStoreId() {
        return Optional.ofNullable(this.policyStoreId);
    }

    /**
     * The ID of the Policy Store.
     * 
     */
    @Import(name="policyTemplateId")
    private @Nullable Output policyTemplateId;

    /**
     * @return The ID of the Policy Store.
     * 
     */
    public Optional> policyTemplateId() {
        return Optional.ofNullable(this.policyTemplateId);
    }

    /**
     * Defines the content of the statement, written in Cedar policy language.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="statement")
    private @Nullable Output statement;

    /**
     * @return Defines the content of the statement, written in Cedar policy language.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> statement() {
        return Optional.ofNullable(this.statement);
    }

    private PolicyTemplateState() {}

    private PolicyTemplateState(PolicyTemplateState $) {
        this.createdDate = $.createdDate;
        this.description = $.description;
        this.policyStoreId = $.policyStoreId;
        this.policyTemplateId = $.policyTemplateId;
        this.statement = $.statement;
    }

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

    public static final class Builder {
        private PolicyTemplateState $;

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

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

        /**
         * @param createdDate The date the Policy Store was created.
         * 
         * @return builder
         * 
         */
        public Builder createdDate(@Nullable Output createdDate) {
            $.createdDate = createdDate;
            return this;
        }

        /**
         * @param createdDate The date the Policy Store was created.
         * 
         * @return builder
         * 
         */
        public Builder createdDate(String createdDate) {
            return createdDate(Output.of(createdDate));
        }

        /**
         * @param description Provides a description for the policy template.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description Provides a description for the policy template.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param policyStoreId The ID of the Policy Store.
         * 
         * @return builder
         * 
         */
        public Builder policyStoreId(@Nullable Output policyStoreId) {
            $.policyStoreId = policyStoreId;
            return this;
        }

        /**
         * @param policyStoreId The ID of the Policy Store.
         * 
         * @return builder
         * 
         */
        public Builder policyStoreId(String policyStoreId) {
            return policyStoreId(Output.of(policyStoreId));
        }

        /**
         * @param policyTemplateId The ID of the Policy Store.
         * 
         * @return builder
         * 
         */
        public Builder policyTemplateId(@Nullable Output policyTemplateId) {
            $.policyTemplateId = policyTemplateId;
            return this;
        }

        /**
         * @param policyTemplateId The ID of the Policy Store.
         * 
         * @return builder
         * 
         */
        public Builder policyTemplateId(String policyTemplateId) {
            return policyTemplateId(Output.of(policyTemplateId));
        }

        /**
         * @param statement Defines the content of the statement, written in Cedar policy language.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder statement(@Nullable Output statement) {
            $.statement = statement;
            return this;
        }

        /**
         * @param statement Defines the content of the statement, written in Cedar policy language.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder statement(String statement) {
            return statement(Output.of(statement));
        }

        public PolicyTemplateState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy