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

com.pulumi.aws.timestreamwrite.outputs.TableMagneticStoreWriteProperties Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.60.0-alpha.1731982519
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.aws.timestreamwrite.outputs;

import com.pulumi.aws.timestreamwrite.outputs.TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation;
import com.pulumi.core.annotations.CustomType;
import java.lang.Boolean;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class TableMagneticStoreWriteProperties {
    /**
     * @return A flag to enable magnetic store writes.
     * 
     */
    private @Nullable Boolean enableMagneticStoreWrites;
    /**
     * @return The location to write error reports for records rejected asynchronously during magnetic store writes. See Magnetic Store Rejected Data Location below for more details.
     * 
     */
    private @Nullable TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation magneticStoreRejectedDataLocation;

    private TableMagneticStoreWriteProperties() {}
    /**
     * @return A flag to enable magnetic store writes.
     * 
     */
    public Optional enableMagneticStoreWrites() {
        return Optional.ofNullable(this.enableMagneticStoreWrites);
    }
    /**
     * @return The location to write error reports for records rejected asynchronously during magnetic store writes. See Magnetic Store Rejected Data Location below for more details.
     * 
     */
    public Optional magneticStoreRejectedDataLocation() {
        return Optional.ofNullable(this.magneticStoreRejectedDataLocation);
    }

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

    public static Builder builder(TableMagneticStoreWriteProperties defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Boolean enableMagneticStoreWrites;
        private @Nullable TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation magneticStoreRejectedDataLocation;
        public Builder() {}
        public Builder(TableMagneticStoreWriteProperties defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.enableMagneticStoreWrites = defaults.enableMagneticStoreWrites;
    	      this.magneticStoreRejectedDataLocation = defaults.magneticStoreRejectedDataLocation;
        }

        @CustomType.Setter
        public Builder enableMagneticStoreWrites(@Nullable Boolean enableMagneticStoreWrites) {

            this.enableMagneticStoreWrites = enableMagneticStoreWrites;
            return this;
        }
        @CustomType.Setter
        public Builder magneticStoreRejectedDataLocation(@Nullable TableMagneticStoreWritePropertiesMagneticStoreRejectedDataLocation magneticStoreRejectedDataLocation) {

            this.magneticStoreRejectedDataLocation = magneticStoreRejectedDataLocation;
            return this;
        }
        public TableMagneticStoreWriteProperties build() {
            final var _resultValue = new TableMagneticStoreWriteProperties();
            _resultValue.enableMagneticStoreWrites = enableMagneticStoreWrites;
            _resultValue.magneticStoreRejectedDataLocation = magneticStoreRejectedDataLocation;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy