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

com.pulumi.aws.kinesis.outputs.AnalyticsApplicationInputsStartingPositionConfiguration 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.aws.kinesis.outputs;

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

@CustomType
public final class AnalyticsApplicationInputsStartingPositionConfiguration {
    /**
     * @return The starting position on the stream. Valid values: `LAST_STOPPED_POINT`, `NOW`, `TRIM_HORIZON`.
     * 
     */
    private @Nullable String startingPosition;

    private AnalyticsApplicationInputsStartingPositionConfiguration() {}
    /**
     * @return The starting position on the stream. Valid values: `LAST_STOPPED_POINT`, `NOW`, `TRIM_HORIZON`.
     * 
     */
    public Optional startingPosition() {
        return Optional.ofNullable(this.startingPosition);
    }

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

    public static Builder builder(AnalyticsApplicationInputsStartingPositionConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String startingPosition;
        public Builder() {}
        public Builder(AnalyticsApplicationInputsStartingPositionConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.startingPosition = defaults.startingPosition;
        }

        @CustomType.Setter
        public Builder startingPosition(@Nullable String startingPosition) {

            this.startingPosition = startingPosition;
            return this;
        }
        public AnalyticsApplicationInputsStartingPositionConfiguration build() {
            final var _resultValue = new AnalyticsApplicationInputsStartingPositionConfiguration();
            _resultValue.startingPosition = startingPosition;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy