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

com.pulumi.aws.glue.outputs.CrawlerDynamodbTarget Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.glue.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Double;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class CrawlerDynamodbTarget {
    /**
     * @return The name of the DynamoDB table to crawl.
     * 
     */
    private String path;
    /**
     * @return Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.  defaults to `true`.
     * 
     */
    private @Nullable Boolean scanAll;
    /**
     * @return The percentage of the configured read capacity units to use by the AWS Glue crawler. The valid values are null or a value between 0.1 to 1.5.
     * 
     */
    private @Nullable Double scanRate;

    private CrawlerDynamodbTarget() {}
    /**
     * @return The name of the DynamoDB table to crawl.
     * 
     */
    public String path() {
        return this.path;
    }
    /**
     * @return Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.  defaults to `true`.
     * 
     */
    public Optional scanAll() {
        return Optional.ofNullable(this.scanAll);
    }
    /**
     * @return The percentage of the configured read capacity units to use by the AWS Glue crawler. The valid values are null or a value between 0.1 to 1.5.
     * 
     */
    public Optional scanRate() {
        return Optional.ofNullable(this.scanRate);
    }

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

    public static Builder builder(CrawlerDynamodbTarget defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String path;
        private @Nullable Boolean scanAll;
        private @Nullable Double scanRate;
        public Builder() {}
        public Builder(CrawlerDynamodbTarget defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.path = defaults.path;
    	      this.scanAll = defaults.scanAll;
    	      this.scanRate = defaults.scanRate;
        }

        @CustomType.Setter
        public Builder path(String path) {
            if (path == null) {
              throw new MissingRequiredPropertyException("CrawlerDynamodbTarget", "path");
            }
            this.path = path;
            return this;
        }
        @CustomType.Setter
        public Builder scanAll(@Nullable Boolean scanAll) {

            this.scanAll = scanAll;
            return this;
        }
        @CustomType.Setter
        public Builder scanRate(@Nullable Double scanRate) {

            this.scanRate = scanRate;
            return this;
        }
        public CrawlerDynamodbTarget build() {
            final var _resultValue = new CrawlerDynamodbTarget();
            _resultValue.path = path;
            _resultValue.scanAll = scanAll;
            _resultValue.scanRate = scanRate;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy