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

com.pulumi.alicloud.actiontrail.inputs.GetSaslAclsArgs 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.actiontrail.inputs;

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


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

    public static final GetSaslAclsArgs Empty = new GetSaslAclsArgs();

    /**
     * Get results for the specified resource name.
     * 
     */
    @Import(name="aclResourceName", required=true)
    private Output aclResourceName;

    /**
     * @return Get results for the specified resource name.
     * 
     */
    public Output aclResourceName() {
        return this.aclResourceName;
    }

    /**
     * Get results for the specified resource type.
     * 
     */
    @Import(name="aclResourceType", required=true)
    private Output aclResourceType;

    /**
     * @return Get results for the specified resource type.
     * 
     */
    public Output aclResourceType() {
        return this.aclResourceType;
    }

    /**
     * ID of the ALIKAFKA Instance that owns the sasl acls.
     * 
     */
    @Import(name="instanceId", required=true)
    private Output instanceId;

    /**
     * @return ID of the ALIKAFKA Instance that owns the sasl acls.
     * 
     */
    public Output instanceId() {
        return this.instanceId;
    }

    /**
     * File name where to save data source results (after running `pulumi preview`).
     * 
     */
    @Import(name="outputFile")
    private @Nullable Output outputFile;

    /**
     * @return File name where to save data source results (after running `pulumi preview`).
     * 
     */
    public Optional> outputFile() {
        return Optional.ofNullable(this.outputFile);
    }

    /**
     * Get results for the specified username.
     * 
     */
    @Import(name="username", required=true)
    private Output username;

    /**
     * @return Get results for the specified username.
     * 
     */
    public Output username() {
        return this.username;
    }

    private GetSaslAclsArgs() {}

    private GetSaslAclsArgs(GetSaslAclsArgs $) {
        this.aclResourceName = $.aclResourceName;
        this.aclResourceType = $.aclResourceType;
        this.instanceId = $.instanceId;
        this.outputFile = $.outputFile;
        this.username = $.username;
    }

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

    public static final class Builder {
        private GetSaslAclsArgs $;

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

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

        /**
         * @param aclResourceName Get results for the specified resource name.
         * 
         * @return builder
         * 
         */
        public Builder aclResourceName(Output aclResourceName) {
            $.aclResourceName = aclResourceName;
            return this;
        }

        /**
         * @param aclResourceName Get results for the specified resource name.
         * 
         * @return builder
         * 
         */
        public Builder aclResourceName(String aclResourceName) {
            return aclResourceName(Output.of(aclResourceName));
        }

        /**
         * @param aclResourceType Get results for the specified resource type.
         * 
         * @return builder
         * 
         */
        public Builder aclResourceType(Output aclResourceType) {
            $.aclResourceType = aclResourceType;
            return this;
        }

        /**
         * @param aclResourceType Get results for the specified resource type.
         * 
         * @return builder
         * 
         */
        public Builder aclResourceType(String aclResourceType) {
            return aclResourceType(Output.of(aclResourceType));
        }

        /**
         * @param instanceId ID of the ALIKAFKA Instance that owns the sasl acls.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(Output instanceId) {
            $.instanceId = instanceId;
            return this;
        }

        /**
         * @param instanceId ID of the ALIKAFKA Instance that owns the sasl acls.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(String instanceId) {
            return instanceId(Output.of(instanceId));
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(@Nullable Output outputFile) {
            $.outputFile = outputFile;
            return this;
        }

        /**
         * @param outputFile File name where to save data source results (after running `pulumi preview`).
         * 
         * @return builder
         * 
         */
        public Builder outputFile(String outputFile) {
            return outputFile(Output.of(outputFile));
        }

        /**
         * @param username Get results for the specified username.
         * 
         * @return builder
         * 
         */
        public Builder username(Output username) {
            $.username = username;
            return this;
        }

        /**
         * @param username Get results for the specified username.
         * 
         * @return builder
         * 
         */
        public Builder username(String username) {
            return username(Output.of(username));
        }

        public GetSaslAclsArgs build() {
            if ($.aclResourceName == null) {
                throw new MissingRequiredPropertyException("GetSaslAclsArgs", "aclResourceName");
            }
            if ($.aclResourceType == null) {
                throw new MissingRequiredPropertyException("GetSaslAclsArgs", "aclResourceType");
            }
            if ($.instanceId == null) {
                throw new MissingRequiredPropertyException("GetSaslAclsArgs", "instanceId");
            }
            if ($.username == null) {
                throw new MissingRequiredPropertyException("GetSaslAclsArgs", "username");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy