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

com.pulumi.azurenative.storage.inputs.SignedIdentifierArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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.azurenative.storage.inputs;

import com.pulumi.azurenative.storage.inputs.AccessPolicyArgs;
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 SignedIdentifierArgs extends com.pulumi.resources.ResourceArgs {

    public static final SignedIdentifierArgs Empty = new SignedIdentifierArgs();

    /**
     * Access policy
     * 
     */
    @Import(name="accessPolicy")
    private @Nullable Output accessPolicy;

    /**
     * @return Access policy
     * 
     */
    public Optional> accessPolicy() {
        return Optional.ofNullable(this.accessPolicy);
    }

    /**
     * An unique identifier of the stored access policy.
     * 
     */
    @Import(name="id")
    private @Nullable Output id;

    /**
     * @return An unique identifier of the stored access policy.
     * 
     */
    public Optional> id() {
        return Optional.ofNullable(this.id);
    }

    private SignedIdentifierArgs() {}

    private SignedIdentifierArgs(SignedIdentifierArgs $) {
        this.accessPolicy = $.accessPolicy;
        this.id = $.id;
    }

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

    public static final class Builder {
        private SignedIdentifierArgs $;

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

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

        /**
         * @param accessPolicy Access policy
         * 
         * @return builder
         * 
         */
        public Builder accessPolicy(@Nullable Output accessPolicy) {
            $.accessPolicy = accessPolicy;
            return this;
        }

        /**
         * @param accessPolicy Access policy
         * 
         * @return builder
         * 
         */
        public Builder accessPolicy(AccessPolicyArgs accessPolicy) {
            return accessPolicy(Output.of(accessPolicy));
        }

        /**
         * @param id An unique identifier of the stored access policy.
         * 
         * @return builder
         * 
         */
        public Builder id(@Nullable Output id) {
            $.id = id;
            return this;
        }

        /**
         * @param id An unique identifier of the stored access policy.
         * 
         * @return builder
         * 
         */
        public Builder id(String id) {
            return id(Output.of(id));
        }

        public SignedIdentifierArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy