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

com.pulumi.aws.s3control.inputs.ObjectLambdaAccessPointConfigurationArgs 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.s3control.inputs;

import com.pulumi.aws.s3control.inputs.ObjectLambdaAccessPointConfigurationTransformationConfigurationArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ObjectLambdaAccessPointConfigurationArgs extends com.pulumi.resources.ResourceArgs {

    public static final ObjectLambdaAccessPointConfigurationArgs Empty = new ObjectLambdaAccessPointConfigurationArgs();

    /**
     * Allowed features. Valid values: `GetObject-Range`, `GetObject-PartNumber`.
     * 
     */
    @Import(name="allowedFeatures")
    private @Nullable Output> allowedFeatures;

    /**
     * @return Allowed features. Valid values: `GetObject-Range`, `GetObject-PartNumber`.
     * 
     */
    public Optional>> allowedFeatures() {
        return Optional.ofNullable(this.allowedFeatures);
    }

    /**
     * Whether or not the CloudWatch metrics configuration is enabled.
     * 
     */
    @Import(name="cloudWatchMetricsEnabled")
    private @Nullable Output cloudWatchMetricsEnabled;

    /**
     * @return Whether or not the CloudWatch metrics configuration is enabled.
     * 
     */
    public Optional> cloudWatchMetricsEnabled() {
        return Optional.ofNullable(this.cloudWatchMetricsEnabled);
    }

    /**
     * Standard access point associated with the Object Lambda Access Point.
     * 
     */
    @Import(name="supportingAccessPoint", required=true)
    private Output supportingAccessPoint;

    /**
     * @return Standard access point associated with the Object Lambda Access Point.
     * 
     */
    public Output supportingAccessPoint() {
        return this.supportingAccessPoint;
    }

    /**
     * List of transformation configurations for the Object Lambda Access Point. See Transformation Configuration below for more details.
     * 
     */
    @Import(name="transformationConfigurations", required=true)
    private Output> transformationConfigurations;

    /**
     * @return List of transformation configurations for the Object Lambda Access Point. See Transformation Configuration below for more details.
     * 
     */
    public Output> transformationConfigurations() {
        return this.transformationConfigurations;
    }

    private ObjectLambdaAccessPointConfigurationArgs() {}

    private ObjectLambdaAccessPointConfigurationArgs(ObjectLambdaAccessPointConfigurationArgs $) {
        this.allowedFeatures = $.allowedFeatures;
        this.cloudWatchMetricsEnabled = $.cloudWatchMetricsEnabled;
        this.supportingAccessPoint = $.supportingAccessPoint;
        this.transformationConfigurations = $.transformationConfigurations;
    }

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

    public static final class Builder {
        private ObjectLambdaAccessPointConfigurationArgs $;

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

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

        /**
         * @param allowedFeatures Allowed features. Valid values: `GetObject-Range`, `GetObject-PartNumber`.
         * 
         * @return builder
         * 
         */
        public Builder allowedFeatures(@Nullable Output> allowedFeatures) {
            $.allowedFeatures = allowedFeatures;
            return this;
        }

        /**
         * @param allowedFeatures Allowed features. Valid values: `GetObject-Range`, `GetObject-PartNumber`.
         * 
         * @return builder
         * 
         */
        public Builder allowedFeatures(List allowedFeatures) {
            return allowedFeatures(Output.of(allowedFeatures));
        }

        /**
         * @param allowedFeatures Allowed features. Valid values: `GetObject-Range`, `GetObject-PartNumber`.
         * 
         * @return builder
         * 
         */
        public Builder allowedFeatures(String... allowedFeatures) {
            return allowedFeatures(List.of(allowedFeatures));
        }

        /**
         * @param cloudWatchMetricsEnabled Whether or not the CloudWatch metrics configuration is enabled.
         * 
         * @return builder
         * 
         */
        public Builder cloudWatchMetricsEnabled(@Nullable Output cloudWatchMetricsEnabled) {
            $.cloudWatchMetricsEnabled = cloudWatchMetricsEnabled;
            return this;
        }

        /**
         * @param cloudWatchMetricsEnabled Whether or not the CloudWatch metrics configuration is enabled.
         * 
         * @return builder
         * 
         */
        public Builder cloudWatchMetricsEnabled(Boolean cloudWatchMetricsEnabled) {
            return cloudWatchMetricsEnabled(Output.of(cloudWatchMetricsEnabled));
        }

        /**
         * @param supportingAccessPoint Standard access point associated with the Object Lambda Access Point.
         * 
         * @return builder
         * 
         */
        public Builder supportingAccessPoint(Output supportingAccessPoint) {
            $.supportingAccessPoint = supportingAccessPoint;
            return this;
        }

        /**
         * @param supportingAccessPoint Standard access point associated with the Object Lambda Access Point.
         * 
         * @return builder
         * 
         */
        public Builder supportingAccessPoint(String supportingAccessPoint) {
            return supportingAccessPoint(Output.of(supportingAccessPoint));
        }

        /**
         * @param transformationConfigurations List of transformation configurations for the Object Lambda Access Point. See Transformation Configuration below for more details.
         * 
         * @return builder
         * 
         */
        public Builder transformationConfigurations(Output> transformationConfigurations) {
            $.transformationConfigurations = transformationConfigurations;
            return this;
        }

        /**
         * @param transformationConfigurations List of transformation configurations for the Object Lambda Access Point. See Transformation Configuration below for more details.
         * 
         * @return builder
         * 
         */
        public Builder transformationConfigurations(List transformationConfigurations) {
            return transformationConfigurations(Output.of(transformationConfigurations));
        }

        /**
         * @param transformationConfigurations List of transformation configurations for the Object Lambda Access Point. See Transformation Configuration below for more details.
         * 
         * @return builder
         * 
         */
        public Builder transformationConfigurations(ObjectLambdaAccessPointConfigurationTransformationConfigurationArgs... transformationConfigurations) {
            return transformationConfigurations(List.of(transformationConfigurations));
        }

        public ObjectLambdaAccessPointConfigurationArgs build() {
            if ($.supportingAccessPoint == null) {
                throw new MissingRequiredPropertyException("ObjectLambdaAccessPointConfigurationArgs", "supportingAccessPoint");
            }
            if ($.transformationConfigurations == null) {
                throw new MissingRequiredPropertyException("ObjectLambdaAccessPointConfigurationArgs", "transformationConfigurations");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy