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

com.pulumi.scm.inputs.ApplicationSignatureArgs Maven / Gradle / Ivy

There is a newer version: 0.2.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.scm.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.scm.inputs.ApplicationSignatureAndConditionArgs;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ApplicationSignatureArgs Empty = new ApplicationSignatureArgs();

    /**
     * The AndConditions param.
     * 
     */
    @Import(name="andConditions")
    private @Nullable Output> andConditions;

    /**
     * @return The AndConditions param.
     * 
     */
    public Optional>> andConditions() {
        return Optional.ofNullable(this.andConditions);
    }

    /**
     * The Comment param. String length must not exceed 256 characters.
     * 
     */
    @Import(name="comment")
    private @Nullable Output comment;

    /**
     * @return The Comment param. String length must not exceed 256 characters.
     * 
     */
    public Optional> comment() {
        return Optional.ofNullable(this.comment);
    }

    /**
     * Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
     * 
     */
    @Import(name="name", required=true)
    private Output name;

    /**
     * @return Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
     * 
     */
    public Output name() {
        return this.name;
    }

    /**
     * The OrderFree param. Default: `false`.
     * 
     */
    @Import(name="orderFree")
    private @Nullable Output orderFree;

    /**
     * @return The OrderFree param. Default: `false`.
     * 
     */
    public Optional> orderFree() {
        return Optional.ofNullable(this.orderFree);
    }

    /**
     * The Scope param. String must be one of these: `"protocol-data-unit"`, `"session"`. Default: `"protocol-data-unit"`.
     * 
     */
    @Import(name="scope")
    private @Nullable Output scope;

    /**
     * @return The Scope param. String must be one of these: `"protocol-data-unit"`, `"session"`. Default: `"protocol-data-unit"`.
     * 
     */
    public Optional> scope() {
        return Optional.ofNullable(this.scope);
    }

    private ApplicationSignatureArgs() {}

    private ApplicationSignatureArgs(ApplicationSignatureArgs $) {
        this.andConditions = $.andConditions;
        this.comment = $.comment;
        this.name = $.name;
        this.orderFree = $.orderFree;
        this.scope = $.scope;
    }

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

    public static final class Builder {
        private ApplicationSignatureArgs $;

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

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

        /**
         * @param andConditions The AndConditions param.
         * 
         * @return builder
         * 
         */
        public Builder andConditions(@Nullable Output> andConditions) {
            $.andConditions = andConditions;
            return this;
        }

        /**
         * @param andConditions The AndConditions param.
         * 
         * @return builder
         * 
         */
        public Builder andConditions(List andConditions) {
            return andConditions(Output.of(andConditions));
        }

        /**
         * @param andConditions The AndConditions param.
         * 
         * @return builder
         * 
         */
        public Builder andConditions(ApplicationSignatureAndConditionArgs... andConditions) {
            return andConditions(List.of(andConditions));
        }

        /**
         * @param comment The Comment param. String length must not exceed 256 characters.
         * 
         * @return builder
         * 
         */
        public Builder comment(@Nullable Output comment) {
            $.comment = comment;
            return this;
        }

        /**
         * @param comment The Comment param. String length must not exceed 256 characters.
         * 
         * @return builder
         * 
         */
        public Builder comment(String comment) {
            return comment(Output.of(comment));
        }

        /**
         * @param name Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Alphanumeric string [ 0-9a-zA-Z._-]. String length must not exceed 31 characters.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param orderFree The OrderFree param. Default: `false`.
         * 
         * @return builder
         * 
         */
        public Builder orderFree(@Nullable Output orderFree) {
            $.orderFree = orderFree;
            return this;
        }

        /**
         * @param orderFree The OrderFree param. Default: `false`.
         * 
         * @return builder
         * 
         */
        public Builder orderFree(Boolean orderFree) {
            return orderFree(Output.of(orderFree));
        }

        /**
         * @param scope The Scope param. String must be one of these: `"protocol-data-unit"`, `"session"`. Default: `"protocol-data-unit"`.
         * 
         * @return builder
         * 
         */
        public Builder scope(@Nullable Output scope) {
            $.scope = scope;
            return this;
        }

        /**
         * @param scope The Scope param. String must be one of these: `"protocol-data-unit"`, `"session"`. Default: `"protocol-data-unit"`.
         * 
         * @return builder
         * 
         */
        public Builder scope(String scope) {
            return scope(Output.of(scope));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy