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

com.pulumi.alicloud.oss.inputs.BucketUserDefinedLogFieldsState Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.oss.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final BucketUserDefinedLogFieldsState Empty = new BucketUserDefinedLogFieldsState();

    /**
     * The name of the bucket.
     * 
     */
    @Import(name="bucket")
    private @Nullable Output bucket;

    /**
     * @return The name of the bucket.
     * 
     */
    public Optional> bucket() {
        return Optional.ofNullable(this.bucket);
    }

    /**
     * Container for custom request header configuration information.
     * 
     */
    @Import(name="headerSets")
    private @Nullable Output> headerSets;

    /**
     * @return Container for custom request header configuration information.
     * 
     */
    public Optional>> headerSets() {
        return Optional.ofNullable(this.headerSets);
    }

    /**
     * Container for custom request parameters configuration information.
     * 
     */
    @Import(name="paramSets")
    private @Nullable Output> paramSets;

    /**
     * @return Container for custom request parameters configuration information.
     * 
     */
    public Optional>> paramSets() {
        return Optional.ofNullable(this.paramSets);
    }

    private BucketUserDefinedLogFieldsState() {}

    private BucketUserDefinedLogFieldsState(BucketUserDefinedLogFieldsState $) {
        this.bucket = $.bucket;
        this.headerSets = $.headerSets;
        this.paramSets = $.paramSets;
    }

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

    public static final class Builder {
        private BucketUserDefinedLogFieldsState $;

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

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

        /**
         * @param bucket The name of the bucket.
         * 
         * @return builder
         * 
         */
        public Builder bucket(@Nullable Output bucket) {
            $.bucket = bucket;
            return this;
        }

        /**
         * @param bucket The name of the bucket.
         * 
         * @return builder
         * 
         */
        public Builder bucket(String bucket) {
            return bucket(Output.of(bucket));
        }

        /**
         * @param headerSets Container for custom request header configuration information.
         * 
         * @return builder
         * 
         */
        public Builder headerSets(@Nullable Output> headerSets) {
            $.headerSets = headerSets;
            return this;
        }

        /**
         * @param headerSets Container for custom request header configuration information.
         * 
         * @return builder
         * 
         */
        public Builder headerSets(List headerSets) {
            return headerSets(Output.of(headerSets));
        }

        /**
         * @param headerSets Container for custom request header configuration information.
         * 
         * @return builder
         * 
         */
        public Builder headerSets(String... headerSets) {
            return headerSets(List.of(headerSets));
        }

        /**
         * @param paramSets Container for custom request parameters configuration information.
         * 
         * @return builder
         * 
         */
        public Builder paramSets(@Nullable Output> paramSets) {
            $.paramSets = paramSets;
            return this;
        }

        /**
         * @param paramSets Container for custom request parameters configuration information.
         * 
         * @return builder
         * 
         */
        public Builder paramSets(List paramSets) {
            return paramSets(Output.of(paramSets));
        }

        /**
         * @param paramSets Container for custom request parameters configuration information.
         * 
         * @return builder
         * 
         */
        public Builder paramSets(String... paramSets) {
            return paramSets(List.of(paramSets));
        }

        public BucketUserDefinedLogFieldsState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy