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

com.pulumi.azurenative.awsconnector.inputs.DataResourceArgs Maven / Gradle / Ivy

// *** 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.awsconnector.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;


/**
 * Definition of DataResource
 * 
 */
public final class DataResourceArgs extends com.pulumi.resources.ResourceArgs {

    public static final DataResourceArgs Empty = new DataResourceArgs();

    /**
     * The resource type in which you want to log data events. You can specify AWS::S3::Object or AWS::Lambda::Function resources.
     * 
     */
    @Import(name="type")
    private @Nullable Output type;

    /**
     * @return The resource type in which you want to log data events. You can specify AWS::S3::Object or AWS::Lambda::Function resources.
     * 
     */
    public Optional> type() {
        return Optional.ofNullable(this.type);
    }

    /**
     * An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.
     * 
     */
    @Import(name="values")
    private @Nullable Output> values;

    /**
     * @return An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.
     * 
     */
    public Optional>> values() {
        return Optional.ofNullable(this.values);
    }

    private DataResourceArgs() {}

    private DataResourceArgs(DataResourceArgs $) {
        this.type = $.type;
        this.values = $.values;
    }

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

    public static final class Builder {
        private DataResourceArgs $;

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

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

        /**
         * @param type The resource type in which you want to log data events. You can specify AWS::S3::Object or AWS::Lambda::Function resources.
         * 
         * @return builder
         * 
         */
        public Builder type(@Nullable Output type) {
            $.type = type;
            return this;
        }

        /**
         * @param type The resource type in which you want to log data events. You can specify AWS::S3::Object or AWS::Lambda::Function resources.
         * 
         * @return builder
         * 
         */
        public Builder type(String type) {
            return type(Output.of(type));
        }

        /**
         * @param values An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.
         * 
         * @return builder
         * 
         */
        public Builder values(@Nullable Output> values) {
            $.values = values;
            return this;
        }

        /**
         * @param values An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.
         * 
         * @return builder
         * 
         */
        public Builder values(List values) {
            return values(Output.of(values));
        }

        /**
         * @param values An array of Amazon Resource Name (ARN) strings or partial ARN strings for the specified objects.
         * 
         * @return builder
         * 
         */
        public Builder values(String... values) {
            return values(List.of(values));
        }

        public DataResourceArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy